pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ssh problem ?
3+ messages / 2 participants
[nested] [flat]

* ssh problem ?
@ 2000-10-06 08:43  Loïc TREGOUËT <loic@cri74.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Loïc TREGOUËT @ 2000-10-06 08:43 UTC (permalink / raw)
  To: ; +Cc: pgsql-admin

                                Hello ,

    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'?

The pg_hba.conf is the same since a long time :
local        all
password passwdpgsql
host         all         127.0.0.1     255.255.255.255     password passwdpgsql

The only thing that have change it's that ssh have been installed ... and  ....

Do you see a exlplication ?

PostgreSQL 7.0.2 on i686-pc-linux-gnu, compiled by gcc 2.95.2 (on a Potatoe )


                                                Thanks




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

* Re: ssh problem ?
@ 2000-10-06 14:19  Peter Eisentraut <peter_e@gmx.net>
  parent: Loïc TREGOUËT <loic@cri74.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Peter Eisentraut @ 2000-10-06 14:19 UTC (permalink / raw)
  To: Loïc TREGOUËT <loic@cri74.org>; +Cc: 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/




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

* Re: ssh problem ?
@ 2000-10-12 14:33  Loïc TREGOUËT <loic@cri74.org>
  parent: Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 3+ messages in thread

From: Loïc TREGOUËT @ 2000-10-12 14:33 UTC (permalink / raw)
  To: ; +Cc: 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/



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


end of thread, other threads:[~2000-10-12 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-10-06 08:43 ssh problem ? Loïc TREGOUËT <loic@cri74.org>
2000-10-06 14:19 ` Peter Eisentraut <peter_e@gmx.net>
2000-10-12 14:33   ` Loïc TREGOUËT <loic@cri74.org>

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