dbTalk Databases Forums  

[BUGS] BUG #1239: Stale postmaster.pid prevents server start

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1239: Stale postmaster.pid prevents server start in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PostgreSQL Bugs List
 
Posts: n/a

Default [BUGS] BUG #1239: Stale postmaster.pid prevents server start - 09-06-2004 , 08:08 AM







The following bug has been logged online:

Bug reference: 1239
Logged by: Martin Pollard

Email address: circlemaster (AT) blueyonder (DOT) co.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.


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #1239: Stale postmaster.pid prevents server start - 09-06-2004 , 11:34 AM






Quote:
Operating system: Win32
Description: Stale postmaster.pid prevents server start
I believe this is fixed as of CVS tip. But thanks for the report!

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.