From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Alessio Bragadini <alessio(at)albourne(dot)com> |
Cc: | Uro Gruber <uros(at)sir-mag(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Problems with starting Postgres |
Date: | 2000-12-11 15:12:57 |
Message-ID: | 7132.976547577@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Alessio Bragadini <alessio(at)albourne(dot)com> writes:
> The problem is an unexpected crash/reboot of the machine (which
> shouldn't happen, but...) that leaves socket files in /tmp and requires
> manual tweaking after the machine is up again. Maybe it's our
> installation, but we need a more reliable pg_ctl
A lot of people (including me) set up their boot-time script to
unconditionally delete /tmp/.s.PGSQL.5432 before launching the new
postmaster. Of course this is pretty dangerous if you are in the
habit of using the same script for hand restarts, since you might
zap a socket belonging to a live postmaster.
With any luck the problem will go away in 7.1 --- it has what I hope
will prove to be a more robust scheme for deleting old socket files
than the current one.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Robert D. Nelson | 2000-12-11 15:18:00 | RE: storing passwords |
Previous Message | Steve Heaven | 2000-12-11 15:08:52 | RE: Regular expression question |