agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Paul M. Aoki <aoki@postgres.Berkeley.EDU>
To: Mike_Spreitzer.PARC@xerox.com
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: database template1 does not exist, bailing out
Date: Fri, 06 May 94 17:27:58 -0700
Message-ID: <199405070027.RAA24525@faerie.CS.Berkeley.EDU> (raw)
In-Reply-To: <94May6.165919pdt.14541(2)@alpha.xerox.com>

Mike_Spreitzer.PARC@xerox.com writes:
> 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

createuser is just a script that calls monitor, so it obeys
the same environment variables (PGPORT, PGHOST, etc.)   if 
monitor works and createuser doesn't, that would indeed be 
pretty strange.

i've run into some strange situations with nfs on suns (using 
regular mounts, not even using automount) in the past.  it got 
to the point where i just gave up and started running all tests 
on suns on local disk.  the symptom was similar -- you'd start 
a postmaster, things ran fine interactively, then you do "bmake 
runtest" in regress and you'd get "database regress does not 
exist" or somesuch.  moving onto a local filesystem cleared the 
problem up for me..
--
  Paul M. Aoki  |  CS Div., Dept. of EECS, UCB  |  aoki@postgres.Berkeley.EDU
                |  Berkeley, CA 94720           |  ...!uunet!ucbvax!aoki

===============================================================================
    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: aoki@postgres.Berkeley.EDU, Mike_Spreitzer.PARC@xerox.com
  Subject: Re: database template1 does not exist, bailing out
  In-Reply-To: <199405070027.RAA24525@faerie.CS.Berkeley.EDU>

* 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