Re: postgres on a FreeBSD 4.5 box

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgres on a FreeBSD 4.5 box
Дата
Msg-id 26766.1036168793@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: postgres on a FreeBSD 4.5 box  (Ken Guest <kguest@stockbyte.com>)
Список pgsql-general
Ken Guest <kguest@stockbyte.com> writes:
> postmaster does not find the database system.
>         Expected to find it in the PGDATA directory "/usr/local/pgsql/data",
>         but unable to open file
> "/usr/local/pgsql/data/global/pg_control": Permission denied

You've got a file permissions or ownership problem.  Offhand it looks
like the files are owned by "pgsql" but you're probably trying to run
the postmaster as "postgres".  You can either "chown -R"
/usr/local/pgsql/data to postgres or tweak the start script to su to
pgsql instead of postgres.

            regards, tom lane

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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: postgres on a FreeBSD 4.5 box
Следующее
От: Ken Guest
Дата:
Сообщение: Re: postgres on a FreeBSD 4.5 box