Re: ssh problem ?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Loïc TREGOUËT <loic(at)cri74(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: ssh problem ?
Date: 2000-10-06 14:19:59
Message-ID: Pine.LNX.4.21.0010061618330.949-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message William L James 2000-10-06 21:03:12 timestamp data type and null value
Previous Message Peter Eisentraut 2000-10-06 14:17:18 Re: What is a foo.1 file?