Re: Unix domain sockets

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Giles Lean <giles(at)nemeton(dot)com(dot)au>
Cc: Randy Neumann <Randy_Neumann(at)centralref(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: Unix domain sockets
Date: 2002-09-09 17:21:54
Message-ID: 12082.1031592114@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Giles Lean <giles(at)nemeton(dot)com(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message David Lloyd 2002-09-09 17:50:22 Re: Unix domain sockets
Previous Message Oliver Elphick 2002-09-09 14:29:12 Re: update problem