agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Mike_Spreitzer.PARC@xerox.com
To: postgres@postgres.Berkeley.EDU
Cc: Mike_Spreitzer.PARC@xerox.com
Subject: database template1 does not exist, bailing out
Date: Fri, 6 May 1994 16:58:59 PDT
Message-ID: <94May6.165919pdt.14541(2)@alpha.xerox.com> (raw)

What could be causing this failure?

postgres@saratoga % cleardbdir
This program completely destroys all the databases in the directory
/project/ubi/bayou/dbs/pg4.2b/data
Are you sure you want to do this (y/n) [n]? y
postgres@saratoga % unsetenv TZ
postgres@saratoga % ps ax | grep post
15228 p0 S     0:00 grep post
postgres@saratoga % initdb
postgres@saratoga % setenv TZ GMT0
postgres@saratoga % postmaster &
[1] 15242
postgres@saratoga % createuser spreitze
FATAL 1:May  6 23:36:18:database template1 does not exist, bailing out...
createuser: database access failed.
postgres@saratoga % pwd
/tmp_mnt/project/ubi/bayou/dbs/pg4.2b/src
postgres@saratoga % cd ..
postgres@saratoga % ls -lg data/base
total 1
drwx------  2 postgres parc         1024 May  6 23:35 template1
postgres@saratoga % postgres template1
	---debug info---
	Quiet =        f
	Noversion =    f
	stable    =    f
	timings   =    f
	bufsize   =    64
	query echo =   f
	DatabaseName = [template1]
	----------------

	InitPostgres()..

POSTGRES backend interactive interface
1.172 1994/03/27 01:39:11
> EOF
postgres@saratoga % 

===============================================================================
    To add/remove yourself from the POSTGRES mailing list: send mail with 
    the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

    If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
    a human will deal with it.  DO NOT post to the "postgres" mailing list.
===============================================================================




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 using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: Mike_Spreitzer.PARC@xerox.com
  Subject: Re: database template1 does not exist, bailing out
  In-Reply-To: <94May6.165919pdt.14541(2)@alpha.xerox.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox