| От | Michael Fuhr |
|---|---|
| Тема | Re: Installation docs wrong? |
| Дата | |
| Msg-id | 20050325045206.GA53686@winnie.fuhr.org обсуждение |
| Ответ на | Installation docs wrong? (Christopher Kings-Lynne <chriskl@familyhealth.com.au>) |
| Список | pgsql-hackers |
On Fri, Mar 25, 2005 at 12:30:46PM +0800, Christopher Kings-Lynne wrote: > root# mkdir /usr/local/pgsql/data > root# chown postgres /usr/local/pgsql/data > root# su postgres > postgres$ initdb -D /usr/local/pgsql/data > > However, initdb will fail in this case, since the /usr/local/pgsql dir > is NOT owned by postgres. (This came up on IRC helping someone) This should work. What's the exact error? Have you check the permissions on all parent directories? What's the output of the following command? ls -ld / /usr /usr/local /usr/local/pgsql /usr/local/pgsql/data -- Michael Fuhr http://www.fuhr.org/~mfuhr/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера