Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

Next:From: David LloydDate: 2002-09-09 17:50:22
Subject: Re: Unix domain sockets
Previous:From: Oliver ElphickDate: 2002-09-09 14:29:12
Subject: Re: update problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group