| От | Tom Lane |
|---|---|
| Тема | Re: initdb failed with PostgreSQL 7.4 |
| Дата | |
| Msg-id | 24964.1111077612@sss.pgh.pa.us обсуждение |
| Ответ на | initdb failed with PostgreSQL 7.4 (Martin Thoma <mthoma@schlagundrahm.ch>) |
| Список | pgsql-admin |
Martin Thoma <mthoma@schlagundrahm.ch> writes:
> I try to init the DB cluster without success. I am working on a RHEL 4
> box and I installed postgresql, postgresql-server and postgresql-jdbc.
> ...
> setting password...
> initdb: The password file wasn't generated. Please report this problem.
Do you have SELinux enabled in enforcement mode? That's been the cause
of most of the initdb failures we've seen reported on RHEL4 and FC3
... though this particular symptom is a new one on me. If you do,
the best bet is to turn it off (sudo /usr/sbin/setenforce 0) while you
are running initdb. There is no chance that initdb will work
under SELinux enforcement before postgresql-7.4.7-3, which I don't
think has hit the street for RHEL4 yet.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера