From: Tom Lane <tgl@sss.pgh.pa.us>
To: Martin Thoma <mthoma@schlagundrahm.ch>
Cc: pgsql-admin@postgresql.org
Subject: Re: initdb failed with PostgreSQL 7.4
Date: Thu, 17 Mar 2005 11:40:12 -0500
Message-ID: <24964.1111077612@sss.pgh.pa.us> (raw)
In-Reply-To: <4239606A.9080909@schlagundrahm.ch>
References: <4239606A.9080909@schlagundrahm.ch>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, mthoma@schlagundrahm.ch
Subject: Re: initdb failed with PostgreSQL 7.4
In-Reply-To: <24964.1111077612@sss.pgh.pa.us>
References: <4239606A.9080909@schlagundrahm.ch> <24964.1111077612@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox