pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: George Wilk <gwilk@ellacoya.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: aborting startup due to startup process failure
Date: Thu, 28 Jun 2007 22:16:08 -0400
Message-ID: <3048.1183083368@sss.pgh.pa.us> (raw)
In-Reply-To: <006101c7b9be$479dfed0$0d7ba8c0@ellacoya.com>
References: <006101c7b9be$479dfed0$0d7ba8c0@ellacoya.com>

"George Wilk" <gwilk@ellacoya.com> writes:
> I am running a warm standby server, which executes the following command in
> a recovery mode:
> [ when done: ]
>   exit 133

Did you pick that number out of a hat?  Postgres thinks it means that
the recovery command died horribly, and abandons the recovery as a
safety measure.  (Per Single Unix Spec, this exit code from a shell
script would ordinarily mean that some program the shell called
died with a signal 5.)

Use "exit 1" or some low number like that to signal ordinary failure
to find the requested xlog file.  Numbers larger than about 125 mean
catastrophic failure of the recovery command.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <3048.1183083368@sss.pgh.pa.us>
Permalink:  ../3048.1183083368@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3048.1183083368@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gwilk@ellacoya.com
  Subject: Re: aborting startup due to startup process failure
  In-Reply-To: <3048.1183083368@sss.pgh.pa.us>

* 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