Skip site navigation (1) Skip section navigation (2)

BUG #1425: False failure message on boot start

From: "Jonathan Pool" <pool(at)utilika(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1425: False failure message on boot start
Date: 2005-01-20 20:49:44
Message-ID: 200501202049.j0KKnipv016598@developer.pgadmin.org (view raw or flat)
Thread:
Lists: pgsql-bugs
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.

pgsql-bugs by date

Next:From: Alan PevecDate: 2005-01-20 22:34:56
Subject: BUG #1426: pg_restore SIGSEGV on 7.2.2 dump
Previous:From: Tom LaneDate: 2005-01-20 20:47:34
Subject: Re: [BUGS] BUG #1414: DOC - pl/Perl hash tags missing

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group