Home
The Toolkit for Online Communities
16682 Community Members, 1 member online, 2476 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

Collapse
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.