logo
Toggle navigation
Begin main navigation
About
Projects
Download
Documentation
Wiki
Forums
Log In
Go!
OpenACS – The Toolkit for Online Communities
:
Forums
:
OpenACS Q&A
:
Postgres not starting up
: One Message
Begin main content
Forum OpenACS Q&A: Re: Postgres not starting up
Search:
Back to OpenACS Q&A
4
:
Re: Postgres not starting up
(response to
1
)
Posted by
Randy O'Meara
on
03/15/05 05:04 AM
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.
Back to OpenACS Q&A