Re: Stats Collector Won't Start

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brad Nicholson <bnichols(at)ca(dot)afilias(dot)info>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Stats Collector Won't Start
Date: 2006-10-18 19:59:44
Message-ID: 29682.1161201584@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Brad Nicholson <bnichols(at)ca(dot)afilias(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jonathan Hedstrom 2006-10-18 20:02:08 Re: column refernce question
Previous Message Hugo 2006-10-18 19:45:31 column refernce question