Return-Path: postman 
Delivery-Date: Thu, 07 Oct 93 20:56:10 PDT
Return-Path: postman
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA12719; Thu, 7 Oct 93 20:53:29 -0700
Resent-From: postman (POSTGRES mailing list)
Resent-Message-Id: <9310080353.AA12719@postgres.Berkeley.EDU>
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: venkat@math.luc.edu
Received: from dedekind.math.luc.edu by postgres.Berkeley.EDU (5.61/1.29)
	id AA12711; Thu, 7 Oct 93 20:53:24 -0700
Received: by dedekind.math.luc.edu (4.1/SMI-4.1)
	id AA04720; Thu, 7 Oct 93 22:59:00 CDT
From: venkat@math.luc.edu (Venkatesan T Ramaswamy)
Message-Id: <9310080359.AA04720@dedekind.math.luc.edu>
Subject: HELP!
To: postgres@postgres.berkeley.edu (postgres mail-list)
Date: Thu, 7 Oct 1993 22:58:59 -0500 (CDT)
X-Mailer: ELM [version 2.4 PL20]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 877       
Resent-To: postgres-dist
Resent-Date: Thu, 07 Oct 93 20:53:28 PDT

Hi!

I installed POSTGRES yesterday and it was all fine.

I have installed it in the $HOME directory of the user named postgres.

Yesterday all the data files were moved to a new hard disk by our system administrator. 

Today I get the following errors:


%createdb foo
FATAL 1:Oct  7 22:52:57:database template1 does not exist, bailing out...
/db/postgres/bin/createdb: database creation failed on foo.
%initdb
initdb: error:  files not there
initdb: bmake install has not been run or you're trying to run initdb on a
initdb: machine that does not store the database (PGHOST doesn't work for this)
%ps
  PID TT STAT  TIME COMMAND
 3267 pd IW    0:00 -csh (csh)
 4075 q1 S     0:01 -csh (csh)
 4694 q1 S     0:00 postmaster
 4714 q1 R     0:00 ps
%pwd
/db/postgres/src
%echo $PGDATA
/db/postgres




Could you please tell me what is wrong?

Thank you,

Yours sincerely,
venkat
