Re: StreamServer Port : bind() failed : How to solve this

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Justin Georgeson <jgeorgeson(at)unboundtech(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: StreamServer Port : bind() failed : How to solve this
Date: 2002-12-23 07:03:26
Message-ID: 29700.1040627006@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Justin Georgeson <jgeorgeson(at)unboundtech(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rajesh Kumar Mallah. 2002-12-23 09:26:28 not able to pg_dump the database...
Previous Message Rob Abernethy IV 2002-12-23 05:12:36 Re: SSL Mode