Version 6.3.2 initdb fails
От | The Hermit Hacker |
---|---|
Тема | Version 6.3.2 initdb fails |
Дата | |
Msg-id | Pine.BSF.3.96.980515002529.438U-100000@thelab.hub.org обсуждение исходный текст |
Список | pgsql-admin |
=================================================================== This message has been sent to a DEAD mailing list, and subsequently reforwarded to the proper one: pgsql-interfaces@postgresql.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@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@client3]% (1) First Problem 332[postgres@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.Stefani@ead-systeme.de ---------------------------------------------------------------
В списке pgsql-admin по дате отправления: