Re: Unix domain sockets - Mailing list pgsql-novice

From Tom Lane
Subject Re: Unix domain sockets
Date
Msg-id 12082.1031592114@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unix domain sockets  (Giles Lean <giles@nemeton.com.au>)
List pgsql-novice
Giles Lean <giles@nemeton.com.au> writes:
> Randy Neumann writes:
>> However after about 3 days I start to get the error:
>>
>> psql: could not connect to server: No such file or directory
>> Is the server running locally and accepting
>> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

> Perhaps the system cleans "old" files from /tmp?

Almost certainly, an over-aggressive /tmp-cleaning script is the
problem.  I'd recommend fixing the cleaner script to not delete
socket files.

            regards, tom lane

pgsql-novice by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: update problem
Next
From: David Lloyd
Date:
Subject: Re: Unix domain sockets