Re: postgresql 8.0 beta - fail to collect statsistic

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: my thi ho <mthoatbanjo(at)yahoo(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: postgresql 8.0 beta - fail to collect statsistic
Date: 2004-08-23 19:01:45
Message-ID: 9889.1093287705@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

my thi ho <mthoatbanjo(at)yahoo(dot)com> writes:
> I got this error message:

> LOG: could not create IPv6 socket: Address family not
> supported by protocol
> LOG: could not bind socket for statistics collector:
> Cannot assign requested address
> LOG: disabling statistics collector for lack of
> working socket

You have a broken networking setup, or possibly a broken DNS setup.
The machine should accept connections to 127.0.0.1 ... if it does not,
find out why not.

> I already have a look at pgstat.c but dun know where
> to fix it ( with 7.3.1 i just change the line
> inet_aton("127.0.0.1", &(pgStatAddr.sin_addr));
> to inet_aton("<myip>", &(pgStatAddr.sin_addr)); then
> it works

You were fixing the symptom and not the problem.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Steve Bergman 2004-08-23 21:52:47 Re: postgresql 8.0 beta - fail to collect statsistic
Previous Message my thi ho 2004-08-23 14:33:10 postgresql 8.0 beta - fail to collect statsistic