| От | Ken Guest |
|---|---|
| Тема | Re: postgres on a FreeBSD 4.5 box |
| Дата | |
| Msg-id | 3DC2B4DF.5020708@stockbyte.com обсуждение исходный текст |
| Ответ на | postgres on a FreeBSD 4.5 box (Ken Guest <kguest@stockbyte.com>) |
| Список | pgsql-general |
Tom Lane wrote: >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. > > I took a look at the socket files in /tmp and they didn't have the correct ownership. One quick chown -R later and everythings fine.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера