Re: [7.4] statistics collector: Protocol not supported - Mailing list pgsql-hackers

From Marc G. Fournier
Subject Re: [7.4] statistics collector: Protocol not supported
Date
Msg-id 20031123151611.I771@ganymede.hub.org
Whole thread Raw
In response to Re: [7.4] statistics collector: Protocol not supported  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [7.4] statistics collector: Protocol not supported  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, 23 Nov 2003, Tom Lane wrote:

> Kurt Roeckx <Q@ping.be> writes:
> > On Sat, Nov 22, 2003 at 11:32:18PM -0400, Marc G. Fournier wrote:
> >> I suspect it might be because I'm running in a jail'd environment, but
> >> what should I be looking at to confirm?
> >>
> >> could not create socket for statistics collector: Protocol not supported
>
> > You probably shouldn't worry about it.  Maybe this message could
> > be made more clear too.
> > It probably does socket(AF_INET6), which fails, and gives the
> > above message, and then tries socket(AF_INET) which works.
>
> If you don't see something about "disabling statistics collector for
> lack of working socket" then there's no reason to worry.
>
> I'm surprised you don't see any similar message about failing to create
> an IPv6 postmaster listen socket though?

Nope, this is everything from the startup:

Nov 23 03:30:58 pgsql74 postgres[59990]: [1-1] LOG:  could not create socket for statistics collector: Protocol not
supported
Nov 23 03:30:58 pgsql74 postgres[59993]: [2-1] LOG:  database system was shut down at 2003-11-23 03:22:39 GMT
Nov 23 03:30:58 pgsql74 postgres[59993]: [3-1] LOG:  checkpoint record is at 0/9B0B8C
Nov 23 03:30:58 pgsql74 postgres[59993]: [4-1] LOG:  redo record is at 0/9B0B8C; undo record is at 0/0; shutdown TRUE
Nov 23 03:30:58 pgsql74 postgres[59993]: [5-1] LOG:  next transaction ID: 534; next OID: 17142
Nov 23 03:30:58 pgsql74 postgres[59993]: [6-1] LOG:  database system is ready

Is it easy to do a quick message change to state that it was the IPv6
socket that failed?

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Function parameter names
Next
From: Tom Lane
Date:
Subject: Re: [7.4] statistics collector: Protocol not supported