Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist
От
Tom Lane
Тема
Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist
Дата
Msg-id
15051.1170216074@sss.pgh.pa.us
Ответ на
Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist (Simon Kinsella)
Список
Дерево обсуждения
Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist "Simon Kinsella" <simon@bluefiresystems.co.uk>
Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does not
exist Scott Marlowe <smarlowe@g2switchworks.com>
Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist Tom Lane <tgl@sss.pgh.pa.us>
Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist "Simon Kinsella" <simon@bluefiresystems.co.uk>
"Simon Kinsella" writes: > \u@cheddar> /usr/local/bin/initdb -D /usr/local/pgsql/data -E UNICODE > initdb: file "/usr/local/share/postgresql/postgres.bki" does not exist > This means you have a corrupted installation or identified > the wrong directory with the invocation option -L. > The .../share/postgresql/ files do exist. Looking at the code, this message is emitted if attempting to stat() the file fails, regardless of what the actual errno is. So I'm wondering about permissions problems, specifically inability to search one of the directories on the path. We should adjust initdb to report the actual kernel errno value, instead of presuming that it's "file not found". regards, tom lane
В списке pgsql-admin по дате отправления
От: Scott Marlowe
Дата: