From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rick Schumeyer <rschumeyer@ieee.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: "template1 does not exist" while installing 8.0RC5 on RH9
Date: Mon, 17 Jan 2005 16:11:44 -0500
Message-ID: <10576.1105996304@sss.pgh.pa.us> (raw)
In-Reply-To: <005a01c4fcd3$8ba79050$0200a8c0@dell8200>
References: <005a01c4fcd3$8ba79050$0200a8c0@dell8200>
"Rick Schumeyer" <rschumeyer@ieee.org> 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
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, rschumeyer@ieee.org
Subject: Re: "template1 does not exist" while installing 8.0RC5 on RH9
In-Reply-To: <10576.1105996304@sss.pgh.pa.us>
References: <005a01c4fcd3$8ba79050$0200a8c0@dell8200> <10576.1105996304@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