pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: nus4u@gmx.net
To: pgsql-admin@postgresql.org
Subject: socket file missing
Date: Fri, 14 Sep 2007 11:24:35 +0200
Message-ID: <20070914092435.69060@gmx.net> (raw)

Hi,

i compiled postres 8.2.4, create a user and a database without an error.
I copied a startup skript to the init.d directory and make a chkconfig postgres. After that starting the database was no problem.
Today i restarted the whole PC and everything seems to be ok, the postgres server started and accepted connections via TCP.
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.

->Every Time i restart the socket file is missing !

I decrease the logs but could not find any error message !

Any hints why the socket is missing when i restart the PC ?
How can i solve this problem ?

Thanks for Help
Chris

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



view thread (4+ messages)  latest in thread

Message-ID: <20070914092435.69060@gmx.net>
Permalink:  ../20070914092435.69060@gmx.net/
Also on:    postgresql.org/message-id/20070914092435.69060@gmx.net

 · 

reply

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: nus4u@gmx.net
  Subject: Re: socket file missing
  In-Reply-To: <20070914092435.69060@gmx.net>

* 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