Version 6.3.2 initdb fails

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: pgsql-admin(at)postgresql(dot)org
Cc: Frank Stefani <frank(at)ead-systeme(dot)de>
Subject: Version 6.3.2 initdb fails
Date: 1998-05-15 03:26:11
Message-ID: Pine.BSF.3.96.980515002529.438U-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

===================================================================
This message has been sent to a DEAD mailing list, and subsequently
reforwarded to the proper one: pgsql-interfaces(at)postgresql(dot)org
===================================================================

[Linux 2.0.30 / Pentium 266 MHz / PostgreSQL 6.3.2]

Hi,

we have PostgreSQL 6.2.1 running since november without
any problems. Now I want to upgrade to 6.3.2 while the
production system is running. So, I set the PostgreSQL
root directories (concerning $PGLIB, $PGDATA and $PATH)
under "/home/frank/try/pgsql". The "make all" and
"make install" ran without errors. Next I started initdb
and problems occur:

331[postgres(at)client3]% initdb

[ ... some messages here ... ]

Creating Postgres database system directory
/home/frank/try/pgsql/data/base

[ ... ]

Adding template1 database to pg_database...
Running: postgres -boot -C -F -D/home/frank/try/pgsql/data -Q
template1 < /tmp/create.12638

vacuuming template1
creating public pg_user view
mv: /home/frank/try/pgsql/data/base/template1/xpg_user: No such file
or directory
loading pg_description
332[postgres(at)client3]%

(1) First Problem

332[postgres(at)client3]% psql template1
FATAL 1: InitPostgres could not validate that the database system
version is compatible with this level of Postgres.
You may need to run initdb to create a new database system.
Version number in file '/home/frank/try/pgsql/data/PG_VERSION'
should be 6.3, not 6.1.
Connection to database 'template1' failed.
FATAL 1: InitPostgres could not validate that the database system
version is compatible with this level of Postgres.
You may need to run initdb to create a new database system.
Version number in file '/home/frank/try/pgsql/data/PG_VERSION'
should be 6.3, not 6.1.

Thus, I changed in PG_VERSION "6.1" into "6.3"
--
---------------------------------------------------------------
_/_/_/_/ _/_/ _/_/_/ EAD-Systeme GmbH
_/ _/ _/ _/ _/ Nachfeldstr. 4
_/_/_/ _/ _/ _/ _/ D-82490 Farchant, Germany
_/ _/_/_/_/_/ _/ _/ Phone: +49 8821 9623-0
_/_/_/_/ _/ _/ _/_/_/_/ Fax: +49 8821 9623-20
---------------------------------------------------------------
Email: Frank(dot)Stefani(at)ead-systeme(dot)de
---------------------------------------------------------------

Browse pgsql-admin by date

  From Date Subject
Next Message The Hermit Hacker 1998-05-15 03:27:07 re: Version 6.3.2 initdb fails
Previous Message Lincoln Spiteri 1998-05-13 15:34:46 RShared libs under RH5 - resent