The Toolkit for Online Communities
18830 Community Members, 0 members online, 1920 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : Postgres not starting up : One Message

Forum OpenACS Q&A: Re: Postgres not starting up

Posted by Randy O'Meara on
Just add a line to your startup script (in RH & Fedora it would be /etc/rc.d/rc.sysinit) that removes any stale postgres sockets and run files like so:

rm -f /tmp/.s.PGSQL.*
rm -f ~postgres/data/*.pid

I do this just before the swapon command.