Return-Path: owner-postman 
Delivery-Date: Fri, 06 May 94 19:06:45 -0700
Return-Path: owner-postman
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id RAA14470 for postgres-redist; Fri, 6 May 1994 17:00:21 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199405070000.RAA14470@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id RAA14460 for <postgres@postgres.berkeley.edu>; Fri, 6 May 1994 17:00:20 -0700
Received: from Dove.Parc.Xerox.xns by alpha.xerox.com via XNS id <14541(2)>; Fri, 6 May 1994 16:59:19 PDT
X-NS-Transport-ID: 0000AA0066993E81311C
Date: Fri, 6 May 1994 16:58:59 PDT
From: Mike_Spreitzer.PARC@xerox.com
Subject: database template1 does not exist, bailing out
To: postgres@postgres.Berkeley.EDU
cc: Mike_Spreitzer.PARC@xerox.com
Message-Id: <94May6.165919pdt.14541(2)@alpha.xerox.com>
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Fri, 06 May 94 17:00:21 -0700
Resent-XMts: smtp

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.
===============================================================================

