Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20530 - /etc/init.d/postgresql zap does not remove pid file
Summary: /etc/init.d/postgresql zap does not remove pid file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Masatomo Nakano (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-06 09:04 UTC by John Christian Stoddart (RETIRED)
Modified: 2007-09-22 23:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Christian Stoddart (RETIRED) gentoo-dev 2003-05-06 09:04:47 UTC
If postgresql does not shut down properly the file
/var/lib/postgresql/data/postgresql.pid is not removed.

Running /etc/init.d/postgresql zap doesn't remove the pid file and thus running
/etc/init.d/postgresql start (or restart) will fail.

On removing /var/lib/postgresql/data/postgresql.pid manually, everything works
fine again.
Comment 1 John Christian Stoddart (RETIRED) gentoo-dev 2003-05-08 09:38:35 UTC
The .pid file is actually /var/lib/postgresql/data/postmaster.pid.
Comment 2 Masatomo Nakano (RETIRED) gentoo-dev 2003-06-06 14:41:21 UTC
fixed