Skip site navigation (1) Skip section navigation (2)

Re: "template1 does not exist" while installing 8.0RC5 on RH9

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rick Schumeyer" <rschumeyer(at)ieee(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: "template1 does not exist" while installing 8.0RC5 on RH9
Date: 2005-01-17 21:11:44
Message-ID: 10576.1105996304@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
"Rick Schumeyer" <rschumeyer(at)ieee(dot)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

In response to

Responses

pgsql-admin by date

Next:From: Rick SchumeyerDate: 2005-01-17 21:33:34
Subject: Re: "template1 does not exist" while installing 8.0RC5 on RH9
Previous:From: Tom LaneDate: 2005-01-17 20:40:31
Subject: Re: closed connection unexpectedly

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group