pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: sirath@cisco.com
Cc: pgsql-admin@postgresql.org
Subject: Re: URGENT : StreamServerPort: bind() failed: Cannot assign requested address
Date: Fri, 04 Jun 2004 00:04:53 -0400
Message-ID: <20256.1086321893@sss.pgh.pa.us> (raw)
In-Reply-To: <09af01c449da$cb2e3dc0$2c6345ab@amer.cisco.com>
References: <09af01c449da$cb2e3dc0$2c6345ab@amer.cisco.com>

"Siddharth Rath (sirath)" <sirath@cisco.com> writes:
> When I tried to restart the DB/Postmaster it says :

> StreamServerPort: bind() failed: Cannot assign requested address
>         Is another postmaster already running on port 5432?
>         If not, wait a few seconds and retry.
>  cannot create INET stream port

Did you try waiting a while, as suggested by the error message?  Many
TCP stacks have a timeout before they will let a pre-existing port
number be reassigned.  (This is to prevent any risk of packets for old
connections getting delivered to the new owner of the port.)

			regards, tom lane



view thread (16+ messages)  latest in thread

Message-ID: <20256.1086321893@sss.pgh.pa.us>
Permalink:  ../20256.1086321893@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20256.1086321893@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, sirath@cisco.com
  Subject: Re: URGENT : StreamServerPort: bind() failed: Cannot assign requested address
  In-Reply-To: <20256.1086321893@sss.pgh.pa.us>
  References: <09af01c449da$cb2e3dc0$2c6345ab@amer.cisco.com> <20256.1086321893@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