Re: Starting postgresql server in RedHat 8.0

Поиск
Список
Период
Сортировка
От Jason Earl
Тема Re: Starting postgresql server in RedHat 8.0
Дата
Msg-id 87smvicv59.fsf@npa01zz001.simplot.com
обсуждение исходный текст
Ответ на Starting postgresql server in RedHat 8.0  (Rebecca.R.Hepper@seagate.com)
Список pgsql-novice
Rebecca.R.Hepper@seagate.com writes:

> Hi All,
>
> I just installed RedHat 8.0 on a system.  I receive a failure status when I
> try to start the postrgresql server by doing the following command as root:
>
> /etc/init.d/postgresql start
>
> It is failing because there is no PG_VERSION file at /var/lib/pgsql/data.
> In the data directory, there is only one file:  pg_hba.conf.
>
> What can't I start the postgresql server?  I was able to start the server
> this way in RedHat 7.1.
>
> Thanks!
> Rebecca


You probably need to run initdb first (as user postgres).

Jason

В списке pgsql-novice по дате отправления:

Предыдущее
От: Jason Earl
Дата:
Сообщение: Re: Learning Plpgsql ??
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re: from mssql7.0 and ASP to postgres and PHP