Re: starting postgres on red hat

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Marc Fromm" <Marc(dot)Fromm(at)wwu(dot)edu>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: starting postgres on red hat
Date: 2008-09-11 18:17:29
Message-ID: dcc563d10809111117q16aa127atf0ba6a0dc1d9f0b4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Sep 11, 2008 at 11:35 AM, Marc Fromm <Marc(dot)Fromm(at)wwu(dot)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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2008-09-11 18:19:13 Re: replica of database
Previous Message Scott Marlowe 2008-09-11 18:14:34 Re: starting postgres on red hat