[Pkg-postgresql-public] problems with postgresql and systemd after upgrade.

peter green plugwash at p10link.net
Sat Jun 11 01:55:38 UTC 2016


On 11/06/16 01:29, peter green wrote:
> How do I fix this? after some poking arround I discovered I could 
> start the server manually with "pg_ctlcluster 9.4 main start" but that 
> is obviously not a good long term soloution .
Ok, I solved it, doing the cluster upgrade multiple times had led to the 
clusters startup option being set to manual. After setting  
/etc/postgresql/9.4/main/start.conf to auto and stopping the maually 
started instance with pg_ctlcluster I was able to start the service 
under systemd with "systemctl restart postgresql"

postgresql at 9.4-main.service shows as "started" but "disabled" apparently 
this is normal.

Thanks to calebwill and petn-randall on irc for helping me figure this out.



More information about the Pkg-postgresql-public mailing list