Re: postgres init script reports failure, but postmaster started

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: IN Conny <in(dot)conny(at)yahoo(dot)se>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres init script reports failure, but postmaster started
Date: 2007-03-01 16:31:56
Message-ID: 25147.1172766716@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

IN Conny <in(dot)conny(at)yahoo(dot)se> writes:
> If I, as a final step in the restoration, start up postgres with '/etc/init.d/postgresql-8.1 start' it will print [fail] to the shell and exit. This happens about halfway through the restoration of WAL archives.

You're probably using an init script that is coded to report failure if the
postmaster isn't allowing connections within 60 seconds or so of being
started. This is mostly cosmetic, but you might want to adjust the script.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2007-03-01 16:34:27 Re: supporting 2000 simultaneous connections.
Previous Message Martijn van Oosterhout 2007-03-01 16:30:43 Re: strange behaviour with sub-select and pl/pgSQL