[Pkg-db-devel] cannot upgrade a database from 4.1 to 4.2
Marco d'Itri
md@Linux.IT
Sun, 26 Sep 2004 02:59:21 +0200
Am I missing something?
md@attila:/opt/gcn/groups/id_db$ db4.2_stat -e
db_stat: Program version 4.2 doesn't match environment version
db_stat: DB_ENV->open: Invalid argument
[Exit 1]
md@attila:/opt/gcn/groups/id_db$ db4.1_stat -e
4.1.25 Environment version.
120897 Magic number.
0 Panic value.
0 References.
66539 Locks granted without waiting.
0 Locks granted after waiting.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Mpool Region: 2.
264KB Size.
-1 Segment ID.
545056 Locks granted without waiting.
0 Locks granted after waiting.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lock Region: 3.
360KB Size.
-1 Segment ID.
323807 Locks granted without waiting.
0 Locks granted after waiting.
md@attila:/opt/gcn/groups/id_db$ db4.2_upgrade id.db
db_upgrade: Program version 4.2 doesn't match environment version
md@attila:/opt/gcn/groups/id_db$ db4.2_stat -e
db_stat: Program version 4.2 doesn't match environment version
db_stat: DB_ENV->open: Invalid argument
[Exit 1]
md@attila:/opt/gcn/groups/id_db$ ls -l
totale 7552
-rw-r--r-- 1 md md 8192 Jun 9 21:15 __db.001
-rw-r--r-- 1 md md 270336 Jun 9 21:15 __db.002
-rw-r--r-- 1 md md 368640 Jun 9 21:15 __db.003
-rw-r--r-- 1 md md 0 Sep 26 02:46 err.log
-rw-r--r-- 1 md md 10720768 Sep 26 02:48 id.db
md@attila:/opt/gcn/groups/id_db$
--
ciao, |
Marco | [8199 vaRX1610Wm1iI]