Re: URGENT : StreamServerPort: bind() failed: Cannot assign requested address

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: sirath(at)cisco(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: URGENT : StreamServerPort: bind() failed: Cannot assign requested address
Date: 2004-06-04 04:04:53
Message-ID: 20256.1086321893@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Siddharth Rath (sirath)" <sirath(at)cisco(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-06-04 05:01:01 Re: URGENT : StreamServerPort: bind() failed: Cannot
Previous Message mike g 2004-06-04 03:56:14 Re: URGENT : StreamServerPort: bind() failed: Cannot