Re: Auto Starting Postgresql Under Mandrake 9.1 ?? - Mailing list pgsql-general

From nolan@celery.tssi.com
Subject Re: Auto Starting Postgresql Under Mandrake 9.1 ??
Date
Msg-id 20030714123221.23661.qmail@celery.tssi.com
Whole thread Raw
In response to Auto Starting Postgresql Under Mandrake 9.1 ??  (Peter Moscatt <pgmoscatt@optushome.com.au>)
List pgsql-general
> I can manually start the server using: pg_ctl start -l -D
> /usr/local/pgsql/data.
>
> But when I put this line in the: /etc/rc.d/rc.local file then check the
> boot.log file to see if it's loading - I see this is not the case.

I assume you're running the rc_init command manually as some user other
than root.

Here's what works for me in  rc.local under Redhat 8, change user name,
directories and file names as appropriate:

su - postgres ; pg_ctl start -l /usr/local/pgsql/data/log.out
--
Mike Nolan

pgsql-general by date:

Previous
From:
Date:
Subject: Re: select null + 0 question
Next
From: Stefan Armbruster
Date:
Subject: migrating data from 7.3.x down to 7.2.x