Re: [GENERAL] PGSTAT Error from Postmaster

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Tim Finch, FosterFinch Ltd" <tim(at)fosterfinch(dot)co(dot)uk>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] PGSTAT Error from Postmaster
Date: 2002-03-07 17:23:42
Message-ID: 10801.1015521822@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

"Tim Finch, FosterFinch Ltd" <tim(at)fosterfinch(dot)co(dot)uk> writes:
> Hi. I have been posting messages on the cygwin list about trouble running
> the postmaster I will not re post it here but simply would like to ask if
> anyone knows what, even on a traditional unix platform, the log file
> message from the postmaster daemon process
> PGSTAT: connect(2): Connection refused
> means please?

It means there's something pretty broken about your networking setup :-(

The stats collection code tries to set up a UDP socket connected to
itself as a means of forwarding statistics from individual backend
processes to the stats collector subprocess. AFAICS there is no
good reason that a connection attempt to an existing UDP socket on
127.0.0.1 should ever fail, but evidently you've managed to configure
your system so that it does. (Overly aggressive packet filtering,
perhaps? Or is this just another cygwin/Windows bug?)

If you can't figure out how to get the connection to work, you can
turn off the "start statistics collector" postgresql.conf option to
bypass the problem.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jodi Kanter 2002-03-07 17:27:36 Fw: --fast switch
Previous Message Srinivasa R Chava 2002-03-07 17:21:23 Re: pg_restore problem.

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-03-07 17:56:45 Re: Temp Tables
Previous Message Eric Webber 2002-03-07 17:15:52 Re: [ODBC] ODBC from win2k to postgres on Linux HELL