pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rick Schumeyer <rschumeyer@ieee.org>
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: "template1 does not exist" while installing 8.0RC5 on RH9
Date: Mon, 17 Jan 2005 16:33:34 -0500
Message-ID: <006101c4fcdc$32eaa660$0200a8c0@dell8200> (raw)
In-Reply-To: <10576.1105996304@sss.pgh.pa.us>

(red face) It seems I might possibly have neglected to kill the
postmaster from 7.4 before installing 8.0.

It is amazing how much better things work with the 8.0 postmaster. 

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us] 
Sent: Monday, January 17, 2005 4:12 PM
To: Rick Schumeyer
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] "template1 does not exist" while installing 8.0RC5 on
RH9 

"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




view thread (4+ messages)  latest in thread

Message-ID: <006101c4fcdc$32eaa660$0200a8c0@dell8200>
Permalink:  ../006101c4fcdc$32eaa660$0200a8c0@dell8200/
Also on:    postgresql.org/message-id/006101c4fcdc$32eaa660$0200a8c0@dell8200

 · 

reply

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: rschumeyer@ieee.org, tgl@sss.pgh.pa.us
  Subject: Re: "template1 does not exist" while installing 8.0RC5 on RH9
  In-Reply-To: <006101c4fcdc$32eaa660$0200a8c0@dell8200>
  References: <10576.1105996304@sss.pgh.pa.us> <006101c4fcdc$32eaa660$0200a8c0@dell8200>

* 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