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 C83DD56A12 for ; Thu, 17 Mar 2005 10:48:15 +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 82324-05 for ; Thu, 17 Mar 2005 10:48:09 +0000 (GMT) Received: from mailmx2.schlagundrahm.ch (mailmx2.schlagundrahm.ch [212.90.204.94]) by svr1.postgresql.org (Postfix) with ESMTP id 12333565EA for ; Thu, 17 Mar 2005 10:48:09 +0000 (GMT) Received: from localhost (dom.schlagundrahm.ch [127.0.0.1]) by mailmx2.schlagundrahm.ch (Postfix) with ESMTP id 7C47E5C8041 for ; Thu, 17 Mar 2005 11:40:10 +0100 (CET) Received: from mailmx2.schlagundrahm.ch ([127.0.0.1]) by localhost (dom.schlagundrahm.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31147-03 for ; Thu, 17 Mar 2005 11:40:09 +0100 (CET) Received: from [127.0.0.1] (unknown [172.16.1.40]) by mailmx2.schlagundrahm.ch (Postfix) with ESMTP id A712F5C8040 for ; Thu, 17 Mar 2005 11:40:09 +0100 (CET) Message-ID: <4239606A.9080909@schlagundrahm.ch> Date: Thu, 17 Mar 2005 11:48:10 +0100 From: Martin Thoma User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: initdb failed with PostgreSQL 7.4 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at schlagundrahm.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200503/254 X-Sequence-Number: 16752 Dear list 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. For the installation I used up2date and everything went fine. To init the DB cluster I typed: [root@zupo bin]# su - postgres -bash-3.00$ initdb -E latin1 --locale=de_CH --lc-collate=C -D /var/lib/pgsql/data -W That results in the following output: The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locales: COLLATE: C CTYPE: de_CH MESSAGES: de_CH MONETARY: de_CH NUMERIC: de_CH TIME: de_CH fixing permissions on existing directory /var/lib/pgsql/data... ok creating directory /var/lib/pgsql/data/base... ok creating directory /var/lib/pgsql/data/global... ok creating directory /var/lib/pgsql/data/pg_xlog... ok creating directory /var/lib/pgsql/data/pg_clog... ok selecting default max_connections... 100 selecting default shared_buffers... 1000 creating configuration files... ok creating template1 database in /var/lib/pgsql/data/base/1... ok initializing pg_shadow... ok Enter new superuser password: Enter it again: setting password... initdb: The password file wasn't generated. Please report this problem. initdb: failed Does anybody as an idea? Please point me in the right direction! Thanks! Kind regards Martin