Re: starting postgres on red hat - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: starting postgres on red hat
Date
Msg-id dcc563d10809111117q16aa127atf0ba6a0dc1d9f0b4@mail.gmail.com
Whole thread Raw
In response to starting postgres on red hat  (Marc Fromm <Marc.Fromm@wwu.edu>)
List pgsql-admin
On Thu, Sep 11, 2008 at 11:35 AM, Marc Fromm <Marc.Fromm@wwu.edu> wrote:
> Thanks for your reply.
> I was following the instructions a listed in the 8.1 docs at postgresql.org, which worked great on fedora.

I'm using the PGDG 8.3.3 rpms on Centos 5.2 mysql.  Those do have
initdb.  On older pgsql init scripts, it would automagically initdb
when needed, which was deemed (right so) to be a dangerous way of
doing things.  I'd highly suggest downloading and installing the pgsql
8.3.3 PGDG rpms, or pointing your server at a repo that has them.

> How do I restart the process?
> Running "/etc/init.d/postgresql initdb" as root diplays this:
> Usage: /etc/init.d/postgresql {start|stop|status|restart|condrestart|condstop|reload|force-reload}

yep. older init script / not PGDG one for 8.3.3.  that one likely does
the automagic initdb for you first time you run it.

pgsql-admin by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: starting postgres on red hat
Next
From: "Scott Marlowe"
Date:
Subject: Re: replica of database