From: | 100(dot)179370(at)germanynet(dot)de (Martin Jacobs) |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Cc: | Arcady Genkin <a(dot)genkin(at)utoronto(dot)ca> |
Subject: | Re: Changing path to /tmp/.s.PGSQL.5432 file and the .lock file |
Date: | 2001-06-16 20:33:50 |
Message-ID: | Pine.LNX.4.33.0106162224520.3387-100000@Schnecke.Windsbach.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 29 May 2001, Arcady Genkin wrote:
> Is it possible to have postgres create the Unix socket in a directory
> other than /tmp? I'm having a problem with my /tmp cleaner cron job
> on Solaris 8.
Hi Arcady,
AFAIK, in PG 7.1 this can be changed. But I had a similar
problem under SuSE Linux. To solve it I added a cron job which
did a touch on this entry. My SuSE installation (based on 5.3)
uses a special shell file for daily cron jobs. This is
splitted in a SuSE specific and a local variant. In the latter
(/root/bin/cron.daily.local) I added
#
# Prevent cron.daily from deleting postmasters socket files:
#
if [ "$START_POSTGRES" = yes ] ; then
for TMP_DIR in $TMP_DIRS_TO_CLEAR ; do
find $TMP_DIR/. -type s -name .\*PGSQL.\* -exec /usr/bin/touch {} \;
done
fi
and everything is fine now.
> ...
Regards
Martin
--
Dipl-Ing. Martin Jacobs * Windsbach * Germany
Registered Linux User #87175, http://counter.li.org/
From | Date | Subject | |
---|---|---|---|
Next Message | will trillich | 2001-06-16 20:46:45 | Re: Need help with COPY |
Previous Message | Martin Jacobs | 2001-06-16 20:09:06 | RE: Re: Replace MSSQL by PostgreSQL ? |