Postgresql init.d script not working

Posted by Bram Jetten on Server Fault See other posts from Server Fault or by Bram Jetten
Published on 2012-10-07T21:04:12Z Indexed on 2012/10/07 21:39 UTC
Read the original article Hit count: 345

Filed under:
|
|
|

I installed Postgresql 8.4 on my VPS with Ubuntu 10.04. Default setup, nothing unusual. After the installation the dbserver is automatically started and is running great. The installer also sets a init.d script in place.

This script however, doesn't seem to affect Postgres.

$ sudo /etc/init.d/postgresql stop

The above line is not stopping the server. The command does not fail or show any message. The logs won't say anything as well.

After killing all postgres processes with killall I cannot get Postgres working again using the init script. When rebooting my VPS it somehow starts up and works again.

© Server Fault or respective owner

Related posts about ubuntu

Related posts about database