Re: Postgresql 7.3 And Redhat Enterprise 3

Поиск
Список
Период
Сортировка
Искать
От
Joe Conway
Тема
Re: Postgresql 7.3 And Redhat Enterprise 3
Дата
Msg-id
401EBF27.4090601@joeconway.com
Ответ на
Postgresql 7.3 And Redhat Enterprise 3 (remi@internetworker.net (Remi))
Список
Дерево обсуждения
Postgresql 7.3 And Redhat Enterprise 3 remi@internetworker.net (Remi)
Re: Postgresql 7.3 And Redhat Enterprise 3 Chris Ruprecht <chris@ruprecht.org>
Re: Postgresql 7.3 And Redhat Enterprise 3 Joe Conway <mail@joeconway.com>
Re: Postgresql 7.3 And Redhat Enterprise 3 "scott.marlowe" <scott.marlowe@ihs.com>
Remi wrote:
> I've installed redhat enterprise 3 on a system to use as a db server.
> Manually I can install and run postgresql 7.3 (the one on the extras
> CD). The problem is when you try to add postgres as a service, it
> might add it, but it will not start it. To do this, we got a
> postgresql script, placed it in the init.d folder with all the other
> service shell scripts, and then went into services, add service, and
> typed postgres. The specific error received is:
> 
> env: /etc/init.d/postgres no directory or file found

Try "postgresql" instead of "postgres".

You could also use chkconfig to set up the service -- see `man 
chkconfig`, but I think you want something like:

   chkconfig --level 3 postgresql on

This would add postgresql as a service to be started for you when 
booting to run-level 3.

To manually start the Postgres service, do:
   /etc/init.d/postgresql start

HTH,

Joe


В списке pgsql-admin по дате отправления
От: remi@internetworker.net (Remi)
Дата:
От: Chris Ruprecht
Дата:
FAQ