Re: postgres cannot access the server configuration file

Поиск
Список
Период
Сортировка
От Bill Moran
Тема Re: postgres cannot access the server configuration file
Дата
Msg-id 20071215092912.bd189c3a.wmoran@potentialtech.com
обсуждение исходный текст
Ответ на postgres cannot access the server configuration file  ("Sebastien ARBOGAST" <sebastien.arbogast@gmail.com>)
Список pgsql-general
"Sebastien ARBOGAST" <sebastien.arbogast@gmail.com> wrote:
>
> I'm trying to start postgreSQL server on my Macbook Pro. I've
> installed it using packages available here:
> http://www.kyngchaos.com/wiki/software:postgres
> But when I try to start up the server running "sudo SystemStarter
> start PostgreSQL", I get the following message:
>
> postgres cannot access the server configuration file
> "/usr/local/pgsql/data/postgresql.conf": No such file or directory
>
> And as a matter of fact, there is no such file in this directory. Do I
> have to create it manually?

You need to run initdb to create the directory:
http://www.postgresql.org/docs/8.3/static/app-initdb.html

--
Bill Moran
http://www.potentialtech.com

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

Предыдущее
От: "Sebastien ARBOGAST"
Дата:
Сообщение: postgres cannot access the server configuration file
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: increasing checkpoint_timeout?