pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chad R. Larson <clarson@eldocomp.com>
To: Hugh Esco <hesco@greens.org>
To: pgsql-admin@postgresql.org
Subject: Re: Troubles at Startup
Date: Tue, 19 Nov 2002 15:10:50 -0700
Message-ID: <4.2.2.20021119150746.00b4a640@imap.eldocomp.com> (raw)
In-Reply-To: <5.1.0.14.0.20021113132750.02e5be50@petra.cagreens.org>

At 12:07 PM 11/13/02 , Hugh Esco wrote:
>Although /etc/init.d/postgresql script is listed in each run level startup 
>script at /etc/rc#.d, for some reason completely beyond me, postmaster 
>must be manually started each time I boot up.  Any help getting the 
>database server to automatically start at boot up would be appreciated.

The problem we had turned out to have nothing to do with the startup, it 
was the shutdown.   If you have a crash or other hurried shutdown, 
sometimes the ${PGDATA}/postmaster.pid file doesn't get removed.  Then the 
startup will fail.  Check you're getting clean shutdowns of the 
postmaster.  You could also check to see if the PID in the postmaster pid 
file actually exists by using a "kill 0 <pid>" in the startup script.


         -crl
--
Chad R. Larson (CRL22)    chad@eldocomp.com
   Eldorado Computing, Inc.   602-604-3100
      5353 North 16th Street, Suite 400
        Phoenix, Arizona   85016-3228




view thread (7+ messages)  latest in thread

Message-ID: <4.2.2.20021119150746.00b4a640@imap.eldocomp.com>
Permalink:  ../4.2.2.20021119150746.00b4a640@imap.eldocomp.com/
Also on:    postgresql.org/message-id/4.2.2.20021119150746.00b4a640@imap.eldocomp.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: clarson@eldocomp.com, hesco@greens.org
  Subject: Re: Troubles at Startup
  In-Reply-To: <4.2.2.20021119150746.00b4a640@imap.eldocomp.com>
  References: <5.1.0.14.0.20021113132750.02e5be50@petra.cagreens.org> <4.2.2.20021119150746.00b4a640@imap.eldocomp.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox