Re: Stats Collector Won't Start - Mailing list pgsql-general

From Tom Lane
Subject Re: Stats Collector Won't Start
Date
Msg-id 28974.1161196287@sss.pgh.pa.us
Whole thread Raw
In response to Re: Stats Collector Won't Start  (Brad Nicholson <bnichols@ca.afilias.info>)
Responses Re: Stats Collector Won't Start  (Brad Nicholson <bnichols@ca.afilias.info>)
List pgsql-general
Brad Nicholson <bnichols@ca.afilias.info> writes:
> On Wed, 2006-10-18 at 13:00 -0400, Tom Lane wrote:
>> That's bizarre.  What error conditions does your man page for bind(2)
>> document as yielding EACCES?  The only one mentioned on my systems is
>> "protected address", but we aren't requesting a reserved port number ...

> "The requested address is protected, and the current user does not have
> permission to access it."

That's what the Linux man page says, too.  Could getaddrinfo somehow be
returning bogus data that includes a reserved port number?

Would you try strace'ing postmaster start to see what gets passed to the
socket() and bind() calls just before this message comes out?

            regards, tom lane

pgsql-general by date:

Previous
From: Ben
Date:
Subject: Re: Stats Collector Won't Start
Next
From: "Ilja Golshtein"
Date:
Subject: Re: COPY FROM STDIN instead of INSERT