Re: 7.4RC2 regression failur and not running stats collector process on Solaris

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kiyoshi Sawada <sawa(at)nagoya2(dot)jrc(dot)or(dot)jp>
Cc: Kurt Roeckx <Q(at)ping(dot)be>, Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.4RC2 regression failur and not running stats collector process on Solaris
Date: 2003-11-13 14:50:59
Message-ID: 26095.1068735059@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kiyoshi Sawada <sawa(at)nagoya2(dot)jrc(dot)or(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-11-13 14:52:50 Re: [PATCHES] initdb in C
Previous Message Peter Eisentraut 2003-11-13 14:20:05 Re: ALTER TABLE modifications