Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id DCD4E9FA614 for ; Fri, 14 Sep 2007 16:38:09 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 62107-01-3 for ; Fri, 14 Sep 2007 16:37:59 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by postgresql.org (Postfix) with ESMTP id A52BC9FB66E for ; Fri, 14 Sep 2007 16:25:54 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id j3so602150ugf for ; Fri, 14 Sep 2007 12:25:53 -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=xxrgfHxp/DuaNZFU25SL3Rkq/DjuIAQVZcCnlWfk8uU=; b=in3vV3YrO9BHlI2lutQZuM/8BgcucOD/C36bCva4MK4h+OKn9sqn+jJFcHy1ILVZuq3pP1Hn5bAaEc0B43OU6aYX83LXfbA2W7FJ3xryiEhRFMxHfpPJIEIAGiSBbMfUxxmaN1mybDxECqmOqNah1MwZ257NivIIyb+7mRmsr+I= 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=b0kMW22JG8MhY3GVVqzeRhlVKZAqT0d/+cz7buC347VndsFtY9wwj6Ff41/ErguEEPqhNTvu2lM1MhND8E3fHj55xJpdz7f1+EAo+qyZJKeafP42qBU2+89yJq9IK7u9CUHWgDOK1aE6VheMcclgv/8Yr0dHP/qxCjhI6vN98co= Received: by 10.66.252.17 with SMTP id z17mr4072489ugh.1189797953127; Fri, 14 Sep 2007 12:25:53 -0700 (PDT) Received: by 10.66.220.7 with HTTP; Fri, 14 Sep 2007 12:25:26 -0700 (PDT) Message-ID: Date: Fri, 14 Sep 2007 14:25:26 -0500 From: "Scott Marlowe" To: nus4u@gmx.net Subject: Re: socket file missing Cc: pgsql-admin@postgresql.org In-Reply-To: <200709142038.00848.nus4u@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> <200709142038.00848.nus4u@gmx.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/101 X-Sequence-Number: 26862 On 9/14/07, nus4u@gmx.net wrote: > > 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) > > Thanks Scott ! > > I change the location of the socket file and it isn t deleted anymore ! > Until now i am not quite sure which script deletes the socket files, i > guess it is "tmpwatch" which is called from cron.hourly, but disabling > and restarting didn t solve the problem. > In rc3.d it has the Numer S96postgres, after this script only > sendmail,rhnsd,haldaemon,messagebus and local are executed, but > none of them will delete tmp files. > Any idea which and where the script is started who deletes tmp files ? > System is a Red Hat ES 4 ! On my laptop running fc4, there's this line in rc.sysinit: rc.sysinit:rm -f /tmp/.X*-lock /tmp/.lock.* /tmp/.gdm_socket /tmp/.s.PGSQL.* If your startup script runs before a line like that one above, you'd get the kind of failure you're talking about.