Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 1B7844767F3; Thu, 7 Mar 2002 12:23:39 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g27HNgS10804; Thu, 7 Mar 2002 12:23:42 -0500 (EST) To: "Tim Finch, FosterFinch Ltd" Cc: pgsql-admin@postgresql.org, pgsql-general@postgresql.org Subject: Re: [GENERAL] PGSTAT Error from Postmaster 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> Comments: In-reply-to "Tim Finch, FosterFinch Ltd" message dated "Sun, 03 Mar 2002 22:35:17 +0000" Date: Thu, 07 Mar 2002 12:23:42 -0500 Message-ID: <10801.1015521822@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200203/100 X-Sequence-Number: 3634 "Tim Finch, FosterFinch Ltd" 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