From: Scott Marlowe <scott.marlowe@gmail.com>
To: nus4u@gmx.net <nus4u@gmx.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: socket file missing
Date: Fri, 14 Sep 2007 08:16:53 -0500
Message-ID: <dcc563d10709140616u21d14588s66f27b7fd67bd350@mail.gmail.com> (raw)
In-Reply-To: <20070914092435.69060@gmx.net>
References: <20070914092435.69060@gmx.net>
On 9/14/07, nus4u@gmx.net <nus4u@gmx.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
init)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scott.marlowe@gmail.com, nus4u@gmx.net
Subject: Re: socket file missing
In-Reply-To: <dcc563d10709140616u21d14588s66f27b7fd67bd350@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox