From: Tom Lane <tgl@sss.pgh.pa.us>
To: my thi ho <mthoatbanjo@yahoo.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: postgresql 8.0 beta - fail to collect statsistic
Date: Mon, 23 Aug 2004 15:01:45 -0400
Message-ID: <9889.1093287705@sss.pgh.pa.us> (raw)
In-Reply-To: <20040823143310.93307.qmail@web54104.mail.yahoo.com>
References: <20040823143310.93307.qmail@web54104.mail.yahoo.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, mthoatbanjo@yahoo.com
Subject: Re: postgresql 8.0 beta - fail to collect statsistic
In-Reply-To: <9889.1093287705@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox