Bug 143829 - /etc/init.d/postgresql service reports FAILED on successful startup
Summary: /etc/init.d/postgresql service reports FAILED on successful startup
Keywords:
Status: CLOSED DUPLICATE of bug 141811
Alias: None
Product: Fedora
Classification: Fedora
Component: postgresql
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tom Lane
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-29 14:28 UTC by David Fraser
Modified: 2013-07-03 03:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:07:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Fraser 2004-12-29 14:28:20 UTC
Description of problem:
The postgresql service script uses pidof to determine if postgresql
has started properly. However it is looking for /usr/bin/postmaster
which is a symlink to /usr/bin/postgresql and so it doesn't find the
processes and reports fairly

Version-Release number of selected component (if applicable):
postgresql-server-7.4.6-2
SysVinit-2.85-35

How reproducible:
Consistently

Steps to Reproduce:
1. Run /etc/init.d/postgresql restart
  
Actual results:
reports FAILED

Expected results:
reports OK

Additional info:

Comment 1 Tom Lane 2004-12-29 17:37:04 UTC
This is a pidof bug --- that particular release of SysVinit is broken.

*** This bug has been marked as a duplicate of 141811 ***

Comment 2 David Fraser 2004-12-29 17:54:01 UTC
The new SysVinit doesn't seem to be released for Fedora:
The development RPMs branch shows SysVinit-2.85-35.i386.rpm:
http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/

I tried to say that on the RHEL bug this was marked as a duplicate of
but was told I'm not allowed :-)
Should I file another bug about that or should it be released
automatically (and when :-))?

Comment 3 Tom Lane 2004-12-29 18:22:50 UTC
I don't know what notting's plans are for fixing the problem in devel
tip.  In the meantime I'd suggest forcibly downgrading to the latest
released FC3 version, SysVinit-2.85-34.  Or you could just ignore the
bleating from the init script for now ;-)

Comment 4 Bill Nottingham 2004-12-30 00:58:46 UTC
Yeah, need to build a new devel version at some point.

Comment 5 Red Hat Bugzilla 2006-02-21 19:07:48 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.