Re: starting postgres on red hat

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: starting postgres on red hat
Дата
Msg-id dcc563d10809111117q16aa127atf0ba6a0dc1d9f0b4@mail.gmail.com
обсуждение исходный текст
Ответ на starting postgres on red hat  (Marc Fromm <Marc.Fromm@wwu.edu>)
Список 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 по дате отправления:

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: starting postgres on red hat
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: replica of database