Postgresql init.d script not working
- by Bram Jetten
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.