Re: error connecting to database

From: Alexander Cohen <alex(at)toomuchspace(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: error connecting to database
Date: 2004-10-01 19:12:31
Message-ID: D7EDF15D-13DD-11D9-9530-000A95B947DC@toomuchspace.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 1-Oct-04, at 3:06 PM, Tom Lane wrote:

> Alexander Cohen <alex(at)toomuchspace(dot)com> writes:
>> Could not connect to server: permission denied.
>> Is the server running locally and accepting
>> connections on Unix domain socket "/tmp/.s.PGSQL.5432"
>
>> What exctly does this error message mean? What permissions is this
>> error talking about?
>
> The permissions on the socket file /tmp/.s.PGSQL.5432.
>
> Ordinarily the postmaster will create the socket as world-writable,
> but evidently not this time. Perhaps you have set a nonstandard value
> for "unix_socket_permissions"? Another possibility is that it's not
> the socket file itself, but /tmp that is mis-permissioned.

What kind of permissions does /tmp need?

Alex

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Damodar Periwal 2004-10-01 20:17:34 See the good, the bad, and the ugly of your Postgres data with OneClickRevelation(tm)
Previous Message Tom Lane 2004-10-01 19:06:15 Re: error connecting to database