pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-admin@postgresql.org
Subject: Re: Postgres port bindings changed after box restart
Date: Wed, 5 Mar 2008 09:28:40 -0500
Message-ID: <20080305142840.GA32651@crankycanuck.ca> (raw)
In-Reply-To: <e969e33c0803041507p5c4fcc57m5dcd2eda01012c1a@mail.gmail.com>
References: <e969e33c0803041507p5c4fcc57m5dcd2eda01012c1a@mail.gmail.com>

On Wed, Mar 05, 2008 at 10:07:14AM +1100, Daniel Punton wrote:
> Our redhat server was restarted and postgres is showing different databases
> on different ports?
> Could someone explain how this might happen

Different configuration files?

> and where this information comes from (what conf for port bindings)

postgresql.conf.  Other than that, you'll have to use find, I'd say.

> as is there a way of guarenteeing this will not happen on restarts.

Sure.  When you start up, make sure each start-up script points to the
correct data area.

A




view thread (3+ messages)  latest in thread

Message-ID: <20080305142840.GA32651@crankycanuck.ca>
Permalink:  ../20080305142840.GA32651@crankycanuck.ca/
Also on:    postgresql.org/message-id/20080305142840.GA32651@crankycanuck.ca

 · 

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: ajs@crankycanuck.ca
  Subject: Re: Postgres port bindings changed after box restart
  In-Reply-To: <20080305142840.GA32651@crankycanuck.ca>

* 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