Occupied port warning

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Occupied port warning
Date: 2005-06-28 09:49:51
Message-ID: 200506281149.51696.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

During a recent training session I was reminded about a peculiar
misbehavior that recent PostgreSQL releases exhibit when the TCP port
they are trying to bind to is occupied:

LOG: could not bind IPv4 socket: Address already in use
HINT: Is another postmaster already running on port 5432? If not, wait
a few seconds and retry.
WARNING: could not create listen socket for "localhost"

The trainees found this behavior somewhat unuseful. Can someone remind
me why this is not an error? Does any other server software behave
this way?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2005-06-28 09:55:46 Re: Implementing SQL/PSM for PG 8.2
Previous Message Dave Page 2005-06-28 08:49:09 For review: Server instrumentation patch