Re: ssh problem ? - Mailing list pgsql-admin

From Loïc TREGOUËT
Subject Re: ssh problem ?
Date
Msg-id 39E5CBB8.F6485244@cri74.org
Whole thread Raw
In response to Re: ssh problem ?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-admin
    Hie,

  First , thanks to you . It's exact that i've lost this socket
file .
On my other pc , this locate in /var/run/postgresql .

But , i've restarted postmaster and i have no refund my file

    Any idea ?                                        thanks

            Loic

Peter Eisentraut wrote:
>
> 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: Tomas Berndtsson
Date:
Subject: grant to whole database
Next
From: R D
Date:
Subject: control on table creation