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

Collapse
Posted by Deds Castillo on
I don't have debian but it looks like the stop script is not removing the lockfile so when it reboots the lockfile is still present. On RH/FC, stop usually contains:

rm -f /var/run/postmaster.${PGPORT}.pid
rm -f /var/lock/subsys/${NAME}

Check also that you are in fact executing a stop script. Check the scripts being executed for runlevels 0 and 6 as they may be missing the call to stop PG.