Home
The Toolkit for Online Communities
17518 Community Members, 0 members online, 2048 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.