Обсуждение: Regarding how to run postgresql in FC5

Поиск
Список
Период
Сортировка

Regarding how to run postgresql in FC5

От
"sangeetha k.s"
Дата:
hi,
I installed postgresql-8.2.0 using "yum install postgresql-8.2.0".
When i try to run postgresql server it displays the error message as follows.
    "postgres -D /usr/local/pgsql/data other-options my_databasepostgres cannot access the server configuration file "/usr/local/pgsql/data/postgresql.conf": No such file or directory"

Where can i find the configuration file in my filesystem.

Regards,

Sangeetha.K.S

Re: Regarding how to run postgresql in FC5

От
Shane Ambler
Дата:
sangeetha k.s wrote:
> hi,
> I installed postgresql-8.2.0 using "yum install postgresql-8.2.0".
> When i try to run postgresql server it displays the error message as
> follows.
>    "postgres -D /usr/local/pgsql/data other-options my_databasepostgres
> cannot access the server configuration file
> "/usr/local/pgsql/data/postgresql.conf": No such file or directory"

It should be at the path specified - have you run
initdb -D /usr/local/pgsql/data/


> Where can i find the configuration file in my filesystem.
>
> Regards,
>
> Sangeetha.K.S
>


--

Shane Ambler
pgSQL@Sheeky.Biz

Get Sheeky @ http://Sheeky.Biz

Re: Regarding how to run postgresql in FC5

От
"Abbas"
Дата:
I think u forgot to initdb, it will create the configuration file
-- Abbas

sangeetha k.s wrote:

> hi,
> I installed postgresql-8.2.0 using "yum install postgresql-8.2.0".
> When i try to run postgresql server it displays the error message as
> follows.
>     "postgres -D /usr/local/pgsql/data other-options
> my_databasepostgres cannot access the server configuration file
> "/usr/local/pgsql/data/postgresql.conf": No such file or directory"
>
> Where can i find the configuration file in my filesystem.
>
> Regards,
>
> Sangeetha.K.S