Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 50499 - Stale postmaster.pid file blocks startup
Stale postmaster.pid file blocks startup
Product: Red Hat Linux
Classification: Retired
Component: postgresql (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-07-31 14:27 EDT by Jos Vos
Modified: 2007-04-18 12:35 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-06 18:24:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jos Vos 2001-07-31 14:27:48 EDT
When (e.g, after a system crash) a stale /var/lib/pgsql/data/postmaster.pid
file exists, the "postgresql start" init fails.  Also, and even worse, a
"postgresql stop" init also fails, after a very long delay, probably
because it tries to stop a non-existing process.

After removing the pid file, everything works fine.

Suggestion: maybe the init script can check whether the pid file is stale
or not, and remove it if it is a stale file, so that the standard
postgresql start/stop will work afterwards.
Comment 1 Glen Foster 2001-07-31 15:18:39 EDT
This defect is considered SHOULD-FIX for Fairfax.
Comment 2 Trond Eivind Glomsrxd 2001-08-06 18:24:16 EDT
Fixed in postgresql-7.1.2-7

Note You need to log in before you can comment on or make changes to this bug.