[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with /etc/rc.local with 9/12 snapshot
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: problem with /etc/rc.local with 9/12 snapshot
- From: "Greg Thomas" <getbsd_(_at_)_dslextreme_(_dot_)_com>
- Date: Sat, 25 Sep 2004 21:16:10 -0700 (PDT)
C. Bensend
>> I have postgresql installed with the following at the end of
>> /etc/rc.local:
>>
>> if [ -x /usr/local/bin/pg_ctl ]; then
>> su -l _postgresql -c "/usr/local/bin/pg_ctl start \
>> -D /var/postgresql/data -l /var/postgresql/logfile \
>> -o '-i -D /var/postgresql/data'"
>> echo -n ' postgresql'
>> echo '.'
>> fi
>>
>> During boot I see the postgresql and . echoed but the postmaster is not
>> running. If I run the above lines by hand it runs fine. I see nothing
>> in
>> the logs that would hint at why it is not starting.
>
> Doublecheck your rc.shutdown script (or however you're shutting
> PostgreSQL down) - make sure the PID file is getting removed.
>
rc.shutdown is working, pid file is gone. I even shut it down manually
before rebooting.
> Anything in /var/postgresql/logfile?
>
Nope.
For the life of me I can't figure it out.
Greg
Visit your host, monkey.org