Re: 7.4RC2 regression failur and not running stats collector process on Solaris - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 7.4RC2 regression failur and not running stats collector process on Solaris
Date
Msg-id 26095.1068735059@sss.pgh.pa.us
Whole thread Raw
In response to Re: 7.4RC2 regression failur and not running stats collector process on Solaris  (Kiyoshi Sawada <sawa@nagoya2.jrc.or.jp>)
Responses Re: 7.4RC2 regression failur and not running stats collector process on Solaris
List pgsql-hackers
Kiyoshi Sawada <sawa@nagoya2.jrc.or.jp> writes:
> $ /usr/local/bin/nslookup localhost
> Note:  nslookup is deprecated and may be removed from future releases.
> Consider using the `dig' or `host' programs instead.  Run nslookup with
> the `-sil[ent]' option to prevent this message from appearing.
> Server:         xxx.xx.xx.xxx
> Address:        xxx.xx.xx.xxx#53

> Name:   localhost
> Address: 127.0.0.1

Hmm ... that's certainly evidence that "localhost" will resolve
correctly on your machine, but then why is the bind() failing?

If you have strace or ktrace or some other tool for watching the
kernel calls issued by a particular process, please try tracing
postmaster startup and look to see exactly what arguments are being
passed to bind().

(Note: IIRC we first bind the postmaster listen socket and only later
try to create the UDP socket for statistics, so this won't be the
very first bind() in the trace.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: rpm support for 7.4 and beyond
Next
From: Tom Lane
Date:
Subject: Re: rpm support for 7.4 and beyond