pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PGSTAT Error from Postmaster
3+ messages / 3 participants
[nested] [flat]

* PGSTAT Error from Postmaster
@ 2002-03-03 22:35  Tim Finch, FosterFinch Ltd <tim@fosterfinch.co.uk>
  0 siblings, 2 replies; 3+ messages in thread

From: Tim Finch, FosterFinch Ltd @ 2002-03-03 22:35 UTC (permalink / raw)
  To: pgsql-admin; pgsql-general@postgresql.org

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? As soon as the postmaster process starts it writes this to 
the log file and the process immediately exits.

It may help me track down a Cygwin Win2000 installation problem I am having.

Thanks in advance for any help you can provide.

Tim.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [GENERAL] PGSTAT Error from Postmaster
@ 2002-03-07 17:23  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Tim Finch, FosterFinch Ltd <tim@fosterfinch.co.uk>
  1 sibling, 0 replies; 3+ messages in thread

From: Tom Lane @ 2002-03-07 17:23 UTC (permalink / raw)
  To: Tim Finch, FosterFinch Ltd <tim@fosterfinch.co.uk>; +Cc: pgsql-admin; pgsql-general@postgresql.org

"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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [GENERAL] PGSTAT Error from Postmaster
@ 2002-03-07 21:13  Tim Finch <pgadmin@timfinch.cix.co.uk>
  parent: Tim Finch, FosterFinch Ltd <tim@fosterfinch.co.uk>
  1 sibling, 0 replies; 3+ messages in thread

From: Tim Finch @ 2002-03-07 21:13 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin; pgsql-general@postgresql.org

Thanks Tom for your help. Zonealarm was the culprit and yes it was being 
over zealous with internal routing! So, fortunately, not another 
cygwin/windows bug, for once.

Tim.

At 12:23 07/03/2002 -0500, Tom Lane wrote:
>"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




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-03-07 21:13 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-03 22:35 PGSTAT Error from Postmaster Tim Finch, FosterFinch Ltd <tim@fosterfinch.co.uk>
2002-03-07 17:23 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-03-07 21:13 ` Tim Finch <pgadmin@timfinch.cix.co.uk>

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