pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: nus4u@gmx.net
Cc: pgsql-admin@postgresql.org
Subject: Re: socket file missing
Date: Fri, 14 Sep 2007 14:25:26 -0500
Message-ID: <dcc563d10709141225p237532bdj1954e082b5d29e1c@mail.gmail.com> (raw)
In-Reply-To: <200709142038.00848.nus4u@gmx.net>
References: <20070914092435.69060@gmx.net>
	<dcc563d10709140616u21d14588s66f27b7fd67bd350@mail.gmail.com>
	<200709142038.00848.nus4u@gmx.net>

On 9/14/07, nus4u@gmx.net <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.



view thread (4+ messages)

Message-ID: <dcc563d10709141225p237532bdj1954e082b5d29e1c@mail.gmail.com>
Permalink:  ../dcc563d10709141225p237532bdj1954e082b5d29e1c@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10709141225p237532bdj1954e082b5d29e1c@mail.gmail.com

 · 

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: scott.marlowe@gmail.com, nus4u@gmx.net
  Subject: Re: socket file missing
  In-Reply-To: <dcc563d10709141225p237532bdj1954e082b5d29e1c@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