Re: ssh problem ? - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: ssh problem ?
Date
Msg-id Pine.LNX.4.21.0010061618330.949-100000@peter.localdomain
Whole thread Raw
In response to ssh problem ?  (Loïc TREGOUËT <loic@cri74.org>)
List pgsql-admin
Loïc TREGOUËT writes:

>     The following is ok :
> $ psql -h localhost -U postgres
> $ psql -h 127.0.0.1 -U postgres
>
> but  this don't work :
> $ psql  -U postgres
> psql: connectDBStart() -- connect() failed: Connection refused
>         Is the postmaster running at 'localhost'
>         and accepting connections on Unix socket '5432'?

Check that there's a socket file /tmp/.s.PSQL.5432.  Maybe it got deleted
accidentally.  Restart the postmaster to create a new one.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-admin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: What is a foo.1 file?
Next
From: Jeff MacDonald
Date:
Subject: Re: Re(2): Crontab and PostgreSQL Backup