Dangling postmaster.pid causes postgresql startup to fail
Bug #26238 reported by
Christian Reis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Every once in a while postgresql fails to start up, and causes much grief among
coworkers until I rm /var/lib/
left around from an unclean shutdown, but I guess if I am trying to issue a
start we should either check that the pid there exists, or rm -f the file.
To post a comment you must log in.
That looks like Hoary. Breezy's postgresql-common package tries very hard to
cope with crashed postmasters and invalid pid files. (It even has a testsuite
for it :) ).
Hoary will not be fixed any more, this is a pretty delicate issue and things
easily get worse when hacking in the old huge shell scripts. Can you please
scream loudly and reopen this bug (or ask me to do it) if this still bites in
Breezy/Dapper?