Re: Auto Starting Postgresql Under Mandrake 9.1 ??

From: nolan(at)celery(dot)tssi(dot)com
To: pgmoscatt(at)optushome(dot)com(dot)au
Cc: pgsql-general(at)postgresql(dot)org (\"PostgreSQL \[GENERAL\] \" List)
Subject: Re: Auto Starting Postgresql Under Mandrake 9.1 ??
Date: 2003-07-14 12:32:21
Message-ID: 20030714123221.23661.qmail@celery.tssi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stefan Armbruster 2003-07-14 14:04:49 migrating data from 7.3.x down to 7.2.x
Previous Message btober 2003-07-14 12:24:54 Re: select null + 0 question