Обсуждение: postmaster.pid file

Поиск
Список
Период
Сортировка

postmaster.pid file

От
"Anony Mous"
Дата:
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


Re: postmaster.pid file

От
"Magnus Hagander"
Дата:
> 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