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

Re: socket file missing

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "nus4u(at)gmx(dot)net" <nus4u(at)gmx(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: socket file missing
Date: 2007-09-14 13:16:53
Message-ID: (view raw or whole thread)
Lists: pgsql-admin
On 9/14/07, nus4u(at)gmx(dot)net <nus4u(at)gmx(dot)net> wrote:
> Hi,
> BUT : I could not connect via psql for example.
> Message :
> > Warning: Unable to connect to PostgreSQL server: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
> There was no file in the /tmp Directory !
> I make a restart via the init skript and then everything was ok!
> Again i restarted the whole PC and again the socket file was missing and a restarting via the init skript helps.

Sounds like postgresql is being started, and then the /tmp directory
is being cleared of old files by your OS.  What's the Sxx number on
the startup file in /etc/init.d/rcx.d that you're using (assuming SYSV

In response to


pgsql-admin by date

Next:From: Bruce MomjianDate: 2007-09-14 13:31:29
Subject: Re: tar, but not gnu tar
Previous:From: nus4uDate: 2007-09-14 09:24:35
Subject: socket file missing

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