pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tim Finch, FosterFinch Ltd <tim@fosterfinch.co.uk>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] PGSTAT Error from Postmaster
Date: Thu, 07 Mar 2002 12:23:42 -0500
Message-ID: <10801.1015521822@sss.pgh.pa.us> (raw)
In-Reply-To: <5.1.0.14.0.20020303222906.02878d08@mail.cix.co.uk>
References: <5.1.0.14.0.20020303222906.02878d08@mail.cix.co.uk>

"Tim Finch, FosterFinch Ltd" <tim@fosterfinch.co.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



view thread (3+ messages)  latest in thread

Message-ID: <10801.1015521822@sss.pgh.pa.us>
Permalink:  ../10801.1015521822@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10801.1015521822@sss.pgh.pa.us

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tim@fosterfinch.co.uk, pgsql-general@postgresql.org
  Subject: Re: [GENERAL] PGSTAT Error from Postmaster
  In-Reply-To: <10801.1015521822@sss.pgh.pa.us>
  References: <5.1.0.14.0.20020303222906.02878d08@mail.cix.co.uk> <10801.1015521822@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