pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Justin Georgeson <jgeorgeson@unboundtech.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: StreamServer Port : bind() failed : How to solve this
Date: Mon, 23 Dec 2002 02:03:26 -0500
Message-ID: <29700.1040627006@sss.pgh.pa.us> (raw)
In-Reply-To: <3E06928B.1080804@unboundtech.com>
References: <000a01c1cbec$c124cf60$1201a8c0@a4005>
	<3E06928B.1080804@unboundtech.com>

Justin Georgeson <jgeorgeson@unboundtech.com> writes:
> I'm not sure what you mean you're doing when you say you stop it with 
> ctrl-c, but you can use the pg_ctl utility, or `service postgresql stop` 
> to stop it. Then you should be able to start with the command you 
> listed, although you probably want to use pg_ctl or `service postgresql 
> start` instead.

> shreedhar wrote:
>> i am getting following error message.
>> StreamServer Port : bind() failed : Address already in use.
>> is another postmaster already running on port 5432
>> If not, wait a few seonds, and retry

I'm also wondering whether shreedhar has followed the advice given in
the error message: wait a bit and try again to start the postmaster.
On some Unixen it's impossible to reassign a particular listening port
number until the previous owner has been dead awhile (where "awhile"
is usually measured in "a few minutes").

			regards, tom lane



view thread (3+ messages)

Message-ID: <29700.1040627006@sss.pgh.pa.us>
Permalink:  ../29700.1040627006@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29700.1040627006@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jgeorgeson@unboundtech.com
  Subject: Re: StreamServer Port : bind() failed : How to solve this
  In-Reply-To: <29700.1040627006@sss.pgh.pa.us>
  References: <000a01c1cbec$c124cf60$1201a8c0@a4005> <3E06928B.1080804@unboundtech.com> <29700.1040627006@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