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

sockets and refused connections

From: Dirk Dil <dirk(dot)dil(at)pt(dot)lu>
To: pgsql-novice(at)postgresql(dot)org
Subject: sockets and refused connections
Date: 2005-12-16 08:20:33
Message-ID: 20051216082033.GA9342@ddlx1.ddnet (view raw or flat)
Thread:
Lists: pgsql-novice
Hello people,

I need some help getting postgresql started on an amd64 machine running
gentoo 2005.1.

when reloading postgres I get the following error in the logs:
<<
LOG:  shutting down
LOG:  database system is shut down
LOG:  could not send test message on socket for statistics collector:
Operation not permitted
LOG:  disabling statistics collector for lack of working socket
LOG:  database system was shut down at 2005-12-16 09:04:16 CET
LOG:  checkpoint record is at 0/AC5188
LOG:  redo record is at 0/AC5188; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 559; next OID: 17231
LOG:  database system is ready
>>
3rd and 4th lines stand out.

When tring to connect with a client (pgaccess) I get the following error
and no access (no pun intended).

<<
Error trying to connect to database 'test' 
 on host localhost 

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

My guess is that I have a socket problem.  How do I go about solving
this?

Thanks for any help.

Dirk




Responses

pgsql-novice by date

Next:From: MiguelDate: 2005-12-16 15:43:53
Subject: Postgresql v 8.0.1-3 problems
Previous:From: Tom LaneDate: 2005-12-16 07:29:42
Subject: Re: sockets and refused connections

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