dbTalk Databases Forums  

[BUGS] BUG #1425: False failure message on boot start

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


Discuss [BUGS] BUG #1425: False failure message on boot start in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jonathan Pool
 
Posts: n/a

Default [BUGS] BUG #1425: False failure message on boot start - 01-20-2005 , 10:10 PM







The following bug has been logged online:

Bug reference: 1425
Logged by: Jonathan Pool
Email address: pool (AT) utilika (DOT) org
PostgreSQL version: 8.0.0
Operating system: Red Hat Enterprise Linux 3
Description: False failure message on boot start
Details:

When /etc/init.d/postgresql (as included in the RPM version of 8.0.0) starts
PostgreSQL as part of the host's boot sequence, it performs the -f test on
the PID file $PGDATA/postmaster.pid and tests whether the process has a PID.
The PID test passes, but the PID file test fails, despite the fact that the
PID file actually exists. So, the script reports a failure, showing up as
"FAILURE" in red instead of "[ OK ]" in green on the console. If this script
is run manually with a "restart" argument after the boot, the PID file test
passes.

I expected the PID file test to pass during the boot sequence, just as it
does during manual execution of the script, and thus to get an "[ OK ]"
report.

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

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.