Brad Nicholson <bnichols@ca.afilias.info> writes:
> On Wed, 2006-10-18 at 14:31 -0400, Tom Lane wrote:
>> Would you try strace'ing postmaster start to see what gets passed to the
>> socket() and bind() calls just before this message comes out?
> Here is the relative output from truss.
> socket(2, 2, 0) = 7
> bind(7, 0x00000001100E3BF0, 16) Err#13 EACCES
Well, that's pretty odd --- I'd have expected to see something involving
127.0.0.1 (ie, 7F000001 in one byte order or another). Does your
/etc/hosts file map "localhost" to something other than 127.0.0.1?
Also, do regular connections to this postmaster work across TCP/IP?
If getaddrinfo() is broken I'd expect there to be problems binding
to the postmaster's listen socket too ...
regards, tom lane