pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
StreamServer Port : bind() failed : How to solve this problem
3+ messages / 3 participants
[nested] [flat]

* StreamServer Port : bind() failed : How to solve this problem
@ 2002-03-15 06:42  shreedhar <shreedhar@lucidindia.net>
  0 siblings, 1 reply; 3+ messages in thread

From: shreedhar @ 2002-03-15 06:42 UTC (permalink / raw)
  To: pgsql-admin

Hi All,

 I install Postgre database which comes with RH7.3. If I stop database with
'CTRL-c' and run database using
postmaster -i -D /usr/local/pgsql/data

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
postmaster : cannot create INET stream port.

If halt from system and restart then only it is working.

May I know what might be the problem. Can I have to change any settings.

Regards,
Sreedhar Bhaskararaju 1,2nd Main Road, KottuGardens, Chennai - 600 085 Ph :
4475111 Email : shreedhar@lucidindia.net




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: StreamServer Port : bind() failed : How to solve this
@ 2002-12-23 04:35  Justin Georgeson <jgeorgeson@unboundtech.com>
  parent: shreedhar <shreedhar@lucidindia.net>
  0 siblings, 1 reply; 3+ messages in thread

From: Justin Georgeson @ 2002-12-23 04:35 UTC (permalink / raw)
  To: pgsql-admin

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:
> Hi All,
> 
>  I install Postgre database which comes with RH7.3. If I stop database with
> 'CTRL-c' and run database using
> postmaster -i -D /usr/local/pgsql/data
> 
> 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
> postmaster : cannot create INET stream port.
> 
> If halt from system and restart then only it is working.
> 
> May I know what might be the problem. Can I have to change any settings.
> 
> Regards,
> Sreedhar Bhaskararaju 1,2nd Main Road, KottuGardens, Chennai - 600 085 Ph :
> 4475111 Email : shreedhar@lucidindia.net
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org

-- 
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main   713.329.9330
Fax    713.460.4051
Mobile 512.789.1962

5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: StreamServer Port : bind() failed : How to solve this
@ 2002-12-23 07:03  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Justin Georgeson <jgeorgeson@unboundtech.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2002-12-23 07:03 UTC (permalink / raw)
  To: Justin Georgeson <jgeorgeson@unboundtech.com>; +Cc: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-12-23 07:03 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-15 06:42 StreamServer Port : bind() failed : How to solve this problem shreedhar <shreedhar@lucidindia.net>
2002-12-23 04:35 ` Re: StreamServer Port : bind() failed : How to solve this Justin Georgeson <jgeorgeson@unboundtech.com>
2002-12-23 07:03   ` Re: StreamServer Port : bind() failed : How to solve this Tom Lane <tgl@sss.pgh.pa.us>

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