Re: BUG #15265: The program "initdb" is needed by pg_ctl but was not found in the same directory as "pg_ctl".

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15265: The program "initdb" is needed by pg_ctl but was not found in the same directory as "pg_ctl".
Дата
Msg-id 69527.1530907350@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #15265: The program "initdb" is needed by pg_ctl but was notfound in the same directory as "pg_ctl".  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15265: The program "initdb" is needed by pg_ctl but was notfound in the same directory as "pg_ctl".  (Mohammed Shahid Nawaz <mohammedshahid.r@gmail.com>)
Список pgsql-bugs
=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> sudo -u shahid ./pg_ctl -D /root/pgsql10x/data/ initdb
> invalid binary "/root/pgsql10x/bin/pg_ctl"

I think you would get that error if pg_ctl is unable to stat itself,
which might be due to a permissions problem.  Are you sure the shahid
user can read/exec all the directories in that path (particularly /root)?

            regards, tom lane


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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15265: The program "initdb" is needed by pg_ctl but was notfound in the same directory as "pg_ctl".
Следующее
От: Philippe Lavoie-Mongrain
Дата:
Сообщение: Incorrect interpretation of time zone "Africa/Sao_Tome" on PG 9.6?