From: | "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #1239: Stale postmaster.pid prevents server start |
Date: | 2004-09-06 13:05:57 |
Message-ID: | 20040906130557.291455A1080@www.postgresql.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 1239
Logged by: Martin Pollard
Email address: circlemaster(at)blueyonder(dot)co(dot)uk
PostgreSQL version: 8.0 Beta
Operating system: Win32
Description: Stale postmaster.pid prevents server start
Details:
A stale or invalid postmaster.pid file in the postgres data directory will
prevent postgresql from starting and not return an error to the service
controller.
Example shown below.
----------------------------------------------------
C:\Program Files\PostgreSQL\8.0-beta1\data>net start "postgresql database
server
8.0-beta1"
The PostgreSQL Database Server 8.0-beta1 service is starting.
The PostgreSQL Database Server 8.0-beta1 service was started successfully.
C:\Program Files\PostgreSQL\8.0-beta1\data>net stop "postgresql database
server
8.0-beta1"
The PostgreSQL Database Server 8.0-beta1 service is stopping.
The PostgreSQL Database Server 8.0-beta1 service was stopped successfully.
C:\Program Files\PostgreSQL\8.0-beta1\data>type CON > postmaster.pid
123455 fish 4433
C:\Program Files\PostgreSQL\8.0-beta1\data>net start "postgresql database
server
8.0-beta1"
The PostgreSQL Database Server 8.0-beta1 service is starting.
The PostgreSQL Database Server 8.0-beta1 service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
C:\Program Files\PostgreSQL\8.0-beta1\data>del postmaster.pid
C:\Program Files\PostgreSQL\8.0-beta1\data>net start "postgresql database
server
8.0-beta1"
The PostgreSQL Database Server 8.0-beta1 service is starting.
The PostgreSQL Database Server 8.0-beta1 service was started successfully.
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2004-09-06 13:13:22 | Re: transaction block: server closed the connection unexpectedly |
Previous Message | Koju Iijima | 2004-09-06 06:41:32 | transaction block: server closed the connection unexpectedly |