Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 64EF69F993E for ; Fri, 14 Sep 2007 10:17:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 56753-09 for ; Fri, 14 Sep 2007 10:16:50 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.230]) by postgresql.org (Postfix) with ESMTP id 242169F99C4 for ; Fri, 14 Sep 2007 10:16:55 -0300 (ADT) Received: by hu-out-0506.google.com with SMTP id 22so363938hug for ; Fri, 14 Sep 2007 06:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=kfNKJ9D+6q/L9DmMzClasBkHbh853vAPEpd/R5oQKak=; b=cZhZw/8IMi8mQKnRh84K5gon4uFgqQzXl5HrAjLk+WXg568s9VpMTdrRKKQklWgurLuz9Em/9jk2VDg8Q80lFo1dXvdtunv3T6tLsqHhcoZVakxeNOsdRxboka2fMwnodInVZ7tjPtczwJBxJQ7nX31bHwrJubGD9hZkMlBZujc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NawE3TOz4UzNw/prICFs03tnI3mtLhNlRy3sApfsP/RZDbEwYDHbhHTp3d4DO6THkGxijStKAksfgyoaQDp4iVSjnMguQZ1AL1poyqrXMqCzdl4cl2beJYEXUj1/rDTqqkcQr0SaI9iV+wfkzoiF0o5EqoJezH9Cs48P3oLYPVg= Received: by 10.67.19.9 with SMTP id w9mr3736866ugi.1189775813834; Fri, 14 Sep 2007 06:16:53 -0700 (PDT) Received: by 10.66.220.7 with HTTP; Fri, 14 Sep 2007 06:16:53 -0700 (PDT) Message-ID: Date: Fri, 14 Sep 2007 08:16:53 -0500 From: "Scott Marlowe" To: "nus4u@gmx.net" Subject: Re: socket file missing Cc: pgsql-admin@postgresql.org In-Reply-To: <20070914092435.69060@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070914092435.69060@gmx.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/98 X-Sequence-Number: 26859 On 9/14/07, 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)