X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6DC2656532 for ; Thu, 17 Mar 2005 16:40:19 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94567-06 for ; Thu, 17 Mar 2005 16:40:13 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 608485663B for ; Thu, 17 Mar 2005 16:40:12 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j2HGeCsm024965; Thu, 17 Mar 2005 11:40:12 -0500 (EST) To: Martin Thoma Cc: pgsql-admin@postgresql.org Subject: Re: initdb failed with PostgreSQL 7.4 In-reply-to: <4239606A.9080909@schlagundrahm.ch> References: <4239606A.9080909@schlagundrahm.ch> Comments: In-reply-to Martin Thoma message dated "Thu, 17 Mar 2005 11:48:10 +0100" Date: Thu, 17 Mar 2005 11:40:12 -0500 Message-ID: <24964.1111077612@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/256 X-Sequence-Number: 16754 Martin Thoma 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