Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id B1C88B5D80A for ; Wed, 3 Aug 2011 13:09:00 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 01070-02 for ; Wed, 3 Aug 2011 16:08:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 8260CB5D800 for ; Wed, 3 Aug 2011 13:08:50 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 18C1A348066; Wed, 3 Aug 2011 09:08:47 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jyPVQNfwRxDL; Wed, 3 Aug 2011 09:08:44 -0700 (PDT) Received: from perhan.alvh.no-ip.org (unknown [200.126.81.180]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 60EA8348048; Wed, 3 Aug 2011 09:08:44 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 527DC6E7D7; Wed, 3 Aug 2011 12:08:40 -0400 (CLT) Content-Type: text/plain; charset=UTF-8 Cc: Pg Bugs Subject: Re: Postgres running but no postmaster.pid From: Alvaro Herrera To: simon.marshall In-reply-to: <1312387015614-4662719.post@n5.nabble.com> References: <1312383740257-4662510.post@n5.nabble.com> <18084.1312386293@sss.pgh.pa.us> <1312386707624-4662703.post@n5.nabble.com> <1312387015614-4662719.post@n5.nabble.com> Date: Wed, 03 Aug 2011 12:08:40 -0400 Message-Id: <1312387568-sup-9260@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201108/26 X-Sequence-Number: 30838 Excerpts from simon.marshall's message of mié ago 03 11:56:55 -0400 2011: > In fact, looking at it further, we stop the database (only continuing if this > succeeds), copy our backup data over, remove the copied over postmaster.pid, > make some config. changes and then (again, only if all this succeeds), start > the database again, which should surely recreate postmaster.pid? Why would you remove the copied postmaster.pid? Surely if the database is stopped, it shouldn't be there in the first place. ... oh, are you copying a database that's running elsewhere? -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support