Re: postgresql 8.0 beta - fail to collect statsistic

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgresql 8.0 beta - fail to collect statsistic
Дата
Msg-id 9889.1093287705@sss.pgh.pa.us
обсуждение исходный текст
Ответ на postgresql 8.0 beta - fail to collect statsistic  (my thi ho <mthoatbanjo@yahoo.com>)
Ответы Re: postgresql 8.0 beta - fail to collect statsistic
Список pgsql-performance
my thi ho <mthoatbanjo@yahoo.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

В списке pgsql-performance по дате отправления:

Предыдущее
От: my thi ho
Дата:
Сообщение: postgresql 8.0 beta - fail to collect statsistic
Следующее
От: Steve Bergman
Дата:
Сообщение: Re: postgresql 8.0 beta - fail to collect statsistic