Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA04057; Wed, 10 Jul 91 17:44:51 -0700
Date: Wed, 10 Jul 91 17:44:51 -0700
Message-Id: <9107110044.AA04057@postgres.Berkeley.EDU>
From: weidlich@gmuvax2.gmu.edu ( Weidlich)
Subject: running createdb for the very first time
To: postgres@postgres.berkeley.edu

I imagine this problem has been covered before, but I'm new to the list.

I'm trying to install Postgres v2r1 on a Sun SS-2 (4/75), with SunOS 4.1.1.
It compiles fine, but it won't install.  When I run the sequence (top of
page 10 of the Installation Manual)...

	"setenv POSTGRESHOME ~postgres"
	"~postgres/bin/postmaster &"
	"~postgres/bin/createdb postgres"  it fails
		here, giving the message "FATAL1: InitStdio!ValidPgVersion"
		(or something to that effect).

It seems to be failing within ..../util/postinit.c because there is no
previously-created database.  The buglist lists this as bug #2, and it
recommends "Workaround: run createdb".

That doesn't help.  It was "createdb" that failed in the first place.

Can anyone tell me how to bootstrap my system other than waiting for the
next release?

Thanks,
Bob Weidlich
GTE Government Systems
8245 Boone Blvd., Suite 400
Vienna, VA  22182  USA
(703)749-3474
weidlich@gmuvax2.gmu.edu
