Postgresql not start and not stop [Solved]

Discussions Regarding Software

Moderator: Moderators

Postgresql not start and not stop [Solved]

Postby andrewnix » Wed Nov 13, 2013 23:07

Hi, mi postgres instalation show the next message when try start postgresql:

* WARNING: postgresql-9.2 is already starting

and show the next message when i try stopped this:

* ERROR: postgresql-9.2 stopped by something else

the systemd logs:

Nov 14 09:40:01 afcj.afcj cron[17203]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Nov 14 09:40:12 afcj.afcj /etc/init.d/postgresql-9.2[17214]: ERROR: postgresql-9.2 stopped by something else
Nov 14 09:40:18 afcj.afcj kernel: ideapad_laptop: Unknown event: 1
Nov 14 09:40:42 afcj.afcj kernel: ideapad_laptop: Unknown event: 1
Nov 14 09:41:05 afcj.afcj kernel: ideapad_laptop: Unknown event: 1
Nov 14 09:41:10 afcj.afcj /etc/init.d/postgresql-9.2[17216]: WARNING: postgresql-9.2 is already starting
Nov 14 09:41:13 afcj.afcj dbus-daemon[4162]: dbus[4162]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Nov 14 09:41:13 afcj.afcj dbus[4162]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Nov 14 09:41:13 afcj.afcj dbus[4162]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.serv... for details.
Nov 14 09:41:13 afcj.afcj dbus-daemon[4162]: dbus[4162]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop....for details.
Nov 14 09:41:23 afcj.afcj dhcpcd[14067]: wlan0: adding route to 192.168.0.0/24
Nov 14 09:41:23 afcj.afcj NetworkManager[4156]: <info> (wlan0): DHCPv4 state changed bound -> renew
Nov 14 09:41:23 afcj.afcj NetworkManager[4156]: <info> address 192.168.0.11
Nov 14 09:41:23 afcj.afcj NetworkManager[4156]: <info> prefix 24 (255.255.255.0)
Nov 14 09:41:23 afcj.afcj NetworkManager[4156]: <info> gateway 192.168.0.1
Nov 14 09:41:23 afcj.afcj NetworkManager[4156]: <info> nameserver '200.74.133.100'
Nov 14 09:41:23 afcj.afcj NetworkManager[4156]: <info> nameserver '181.48.0.228'
Nov 14 09:41:23 afcj.afcj dbus[4162]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Nov 14 09:41:23 afcj.afcj dbus[4162]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Unit dbus-org.freedesktop.nm-dispatcher.serv... for details.
Nov 14 09:41:23 afcj.afcj NetworkManager[4156]: <warn> Dispatcher failed: (32) Unit dbus-org.freedesktop.nm-dispatcher.service failed to load: No such file or directory. See sys...for details.
Nov 14 09:41:23 afcj.afcj dbus-daemon[4162]: dbus[4162]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Nov 14 09:41:23 afcj.afcj dbus-daemon[4162]: dbus[4162]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Unit dbus-org.freedesktop....for details.
Nov 14 09:41:29 afcj.afcj kernel: ideapad_laptop: Unknown event: 1

i ran "equo config postgresql-server:9.2" but this not solve this problem

regards.
Last edited by andrewnix on Fri Nov 15, 2013 20:01, edited 2 times in total.
Andrés F. Cárdenas
Software Developer
andrewnix
Baby Hen
 
Posts: 2
Joined: Wed Mar 13, 2013 1:38

Re: Postgresql not start and not stop

Postby Cb7 » Thu Nov 14, 2013 17:59

I suggest reading:
Code: Select all
man systemctl
Why, and how to add "[Solved]" to your post. Please read. ← credits to Fitzcarraldo

Kind regards
~Zetok Zalbavar
Cb7
Growing Hen
 
Posts: 104
Joined: Sun Apr 07, 2013 7:13

Re: Postgresql not start and not stop

Postby andrewnix » Fri Nov 15, 2013 20:00

Hi i wrote the solution for this probles at my blog http://andrewnix.wordpress.com/2013/11/ ... n-sabayon/ the blog entry is in spanish. More help related with Systemd http://gentoo-en.vfose.ru/wiki/Systemd

Regards :)
Andrés F. Cárdenas
Software Developer
andrewnix
Baby Hen
 
Posts: 2
Joined: Wed Mar 13, 2013 1:38


Return to Software in General

Who is online

Users browsing this forum: No registered users and 6 guests

cron