Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start; otherwise OK - Mailing list pgsql-general

From Tom Lane
Subject Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start; otherwise OK
Date
Msg-id 9568.1102030556@sss.pgh.pa.us
Whole thread Raw
In response to [SOLVED] Re: pgsql8b5 not launching on OSX system start; otherwise OK  (OpenMacNews <pgsql-general.20.openmacnews@spamgourmet.com>)
Responses Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start;  (OpenMacNews <pgsql-general.20.openmacnews@spamgourmet.com>)
List pgsql-general
OpenMacNews <pgsql-general.20.openmacnews@spamgourmet.com> writes:
> although i've seen nothing pid-related in my logs, preceding my startup file
> launch cmd with a pid check/delete:

>    if [ -f /var/run/postgresql.pid ]; then
>        rm -rf /var/run/postgresql.pid
>    fi
>    (launch cmd)

> seems to have done the trick.  i can now reboot w/ pgsql launch on start
> without fail.

In that case it's a problem in your launch script.  The postmaster
doesn't even know that such a file exists; it keeps its lock file
in the data directory.

            regards, tom lane

pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: data integrity and inserts
Next
From: OpenMacNews
Date:
Subject: Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start;