Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D68136333D6 for ; Thu, 13 May 2010 13:04:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 09452-06-2 for ; Thu, 13 May 2010 16:04:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from locust.cns.vt.edu (locust.cns.vt.edu [198.82.169.14]) by mail.postgresql.org (Postfix) with ESMTP id 736DD633CC8 for ; Thu, 13 May 2010 13:04:24 -0300 (ADT) Received: by locust.cns.vt.edu (Postfix, from userid 986) id D7D79118981; Thu, 13 May 2010 12:04:23 -0400 (EDT) Date: Thu, 13 May 2010 12:04:23 -0400 From: Ray Stell To: Kevin Grittner Cc: Devrim G?ND?Z , pgsql-admin@postgresql.org Subject: Re: upgrade proc with pitr standby Message-ID: <20100513160423.GI22313@cns.vt.edu> References: <20100511131617.GA17277@cns.vt.edu> <1273584558.5575.43.camel@hp-laptop2.gunduz.org> <20100513142546.GH22313@cns.vt.edu> <4BEBC6EF02000025000316A8@gw.wicourts.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BEBC6EF02000025000316A8@gw.wicourts.gov> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/139 X-Sequence-Number: 34612 On Thu, May 13, 2010 at 09:31:27AM -0500, Kevin Grittner wrote: > Ray Stell wrote: > > ,3440,,2010-05-13 09:06:35.734 EDT,4bebf95b.d70,5,2010-05-13 > > 09:06:35 EDT,0,FATAL: could not restore file "00000002.history" > > from archive: return code 32512 > > Return code 32512? I think you'd be OK if your recovery script > returned 1 when it didn't find this file. Tom wrote last year: Hmm ... 32512 is 0x7F00, which I think means exit(127), which is generally what the shell returns when it can't find the program it's supposed to execute. > sh: /usr/lib/postgresql/8.2/bin/pg_standby: not found > sh: /usr/lib/postgresql/8.2/bin/pg_standby: not found > sh: /usr/lib/postgresql/8.2/bin/pg_standby: not found > sh: /usr/lib/postgresql/8.2/bin/pg_standby: not found duh. measure twice, cut once.