Re: PgSQL 7.3: /opt/pgsql/bin/postgres: Execute permission denied.
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: PgSQL 7.3: /opt/pgsql/bin/postgres: Execute permission denied. |
| Дата | |
| Msg-id | 22378.1042065398@sss.pgh.pa.us обсуждение |
| Ответ на | PgSQL 7.3: /opt/pgsql/bin/postgres: Execute permission denied. (Zengfa Gao <zfgao@yahoo.com>) |
| Список | pgsql-general |
Zengfa Gao <zfgao@yahoo.com> writes:
> # su postgres -c '/opt/pgsql/bin/initdb
> --pgdata=/var/opt/pgsql/data'
> The program
> '/opt/pgsql/bin/postgres'
> needed by initdb does not belong to PostgreSQL version
> 7.3, or
> there may be a configuration problem.
> This was the error message issued by that program:
> /opt/pgsql/bin/initdb[135]: /opt/pgsql/bin/postgres:
> Execute permission denied.
> I check the permission of postgres:
> # ls -l /opt/pgsql/bin/postgres
> -rwxr-xr-x 1 root bin 2994176 Jan 8
> 09:53 /opt/pgsql/bin/postgres
Hmm. Maybe the problem is with permissions on some shared library
needed by the postgres executable?
I'd also look to make sure the containing directories are searchable
by postgres.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера