Re: [7.4] statistics collector: Protocol not supported

From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kurt Roeckx <Q(at)ping(dot)be>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [7.4] statistics collector: Protocol not supported
Date: 2003-11-23 19:17:35
Message-ID: 20031123151611.I771@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, 23 Nov 2003, Tom Lane wrote:

> Kurt Roeckx <Q(at)ping(dot)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(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-11-23 19:22:46 Re: [7.4] statistics collector: Protocol not supported
Previous Message Tom Lane 2003-11-23 19:13:17 Re: Function parameter names