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 8709C3A3E7C for ; Mon, 17 Jan 2005 21:12:01 +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 63189-05 for ; Mon, 17 Jan 2005 21:11:46 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 85A053A3E8C for ; Mon, 17 Jan 2005 21:11:47 +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 j0HLBik9010577; Mon, 17 Jan 2005 16:11:44 -0500 (EST) To: "Rick Schumeyer" Cc: pgsql-admin@postgresql.org Subject: Re: "template1 does not exist" while installing 8.0RC5 on RH9 In-reply-to: <005a01c4fcd3$8ba79050$0200a8c0@dell8200> References: <005a01c4fcd3$8ba79050$0200a8c0@dell8200> Comments: In-reply-to "Rick Schumeyer" message dated "Mon, 17 Jan 2005 15:31:38 -0500" Date: Mon, 17 Jan 2005 16:11:44 -0500 Message-ID: <10576.1105996304@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/181 X-Sequence-Number: 16040 "Rick Schumeyer" writes: > Everything looks good, even the "initdb" command, which reports > everything as ok. > But the "createdb test" command fails, with error > 'database "template1" does not exist' initdb executes half a dozen reconnections to template1 after the initial bootstrap, so it's real hard to see how a broken pg_database entry wouldn't have caused a failure during initdb. I'm wondering if maybe your createdb command is connecting to a different postmaster than you think it is. Check environment variables, path, etc. regards, tom lane