Skip site navigation (1) Skip section navigation (2)

Re: Postgres running but no postmaster.pid

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: simon(dot)marshall <simon(dot)marshall(at)metaswitch(dot)com>
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Postgres running but no postmaster.pid
Date: 2011-08-03 16:08:40
Message-ID: 1312387568-sup-9260@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-bugs
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 <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

pgsql-bugs by date

Next:From: simon.marshallDate: 2011-08-03 16:11:41
Subject: Re: Postgres running but no postmaster.pid
Previous:From: simon.marshallDate: 2011-08-03 15:56:55
Subject: Re: Postgres running but no postmaster.pid

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group