postmaster.pid file

Started by A. Mousover 21 years ago2 messagesgeneral
Jump to latest
#1A. Mous
a.mous@shaw.ca

We have an installation of PG8.0 Beta1 running on a win 2000 server box.
After a normal shutdown and restart of the computer, the database service
would not restart. Error message was:

"Could not start the PostgreSQL Database Server [version # inserted here]
service on local computer.
The service did not return an error. This could be an internal Windows
error or an internal service error.
If the problem persists, contact your system administrator."

Deleted the postmaster.pid file and it worked fine.

Should this file normally be removed every time PG shuts down? Is/was this
a bug in Beta 1?

Thanks,
Peter

#2Magnus Hagander
magnus@hagander.net
In reply to: A. Mous (#1)
Re: postmaster.pid file

We have an installation of PG8.0 Beta1 running on a win 2000
server box.
After a normal shutdown and restart of the computer, the
database service would not restart. Error message was:

"Could not start the PostgreSQL Database Server [version #
inserted here] service on local computer.
The service did not return an error. This could be an
internal Windows error or an internal service error.
If the problem persists, contact your system administrator."

Deleted the postmaster.pid file and it worked fine.

Should this file normally be removed every time PG shuts
down? Is/was this a bug in Beta 1?

Yes it's a bug, and it's fixed in beta-2. There are a couple of other
important win32 fixes in beta2, so I'd strongly suggest you upgrade.
(Actually, they're not in beta-2, but they're in the beta2-dev series
installers)

//Magnus