Skip site navigation (1) Skip section navigation (2)

Re: sockets and refused connections

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dirk Dil <dirk(dot)dil(at)pt(dot)lu>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: sockets and refused connections
Date: 2005-12-16 07:29:42
Message-ID: 23393.1134718182@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
Dirk Dil <dirk(dot)dil(at)pt(dot)lu> writes:
> I need some help getting postgresql started on an amd64 machine running
> gentoo 2005.1.

> LOG:  could not send test message on socket for statistics collector:
> Operation not permitted
> LOG:  disabling statistics collector for lack of working socket

> PostgreSQL error message: Connection to database failed
> couldn't open socket: connection refused

Both of these look like kernel packet filtering is rejecting the
traffic.  Take a look at your iptables configuration --- it's probably
being overly restrictive about local-loopback (127.0.0.1) connections.

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Dirk DilDate: 2005-12-16 08:20:33
Subject: sockets and refused connections
Previous:From: Tom LaneDate: 2005-12-16 00:08:21
Subject: Re: how do I import pqsl 7.1 database into 8.0

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group