Re: Bogus bind() warnings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bogus bind() warnings
Date: 2003-11-06 20:07:58
Message-ID: 21892.1068149278@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> When I start up with -i, I get the following log:
> LOG: could not bind IPv4 socket: Address already in use

> There is no other postmaster running anywhere. I suspect that this has to
> do with IPv6. This is a SuSE 8.something machine that is relatively fully
> IPv6 enabled.

Is it possible that that kernel considers binding to an IPv6 port to
conflict with binding to the "same" port number as an IPv4 port?

IIRC that was the behavior we once expected would happen, but later
found out that most kernels don't (yet?) act that way. The present
design of trying to bind to both IPv6 and IPv4 sockets would be
unnecessary if the kernels acted more rationally.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-11-06 20:08:57 Re: Changes to Contributor List
Previous Message Peter Eisentraut 2003-11-06 19:50:58 Bogus bind() warnings