[Sysadmins] jabberd2 upgrade: db: couldn't open environment: DB_VERSION_MISMATCH: Database environment version mismatch

Ivan Fedorov =?iso-8859-1?q?ns_=CE=C1_altlinux=2Eorg?=
Вс Июн 8 16:08:40 MSD 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

2008/6/8 Andriy Khavryuchenko :
> Sun Jun  8 13:35:54 2008 [error] db: couldn't open environment:
> DB_VERSION_MISMATCH: Database environment version mismatch
>
> $ rpm -qa | grep libdb
> libdb4.4-4.4.20-alt2
> libdb4.6-4.6.21-alt2
>
>  $ file /var/lib/jabberd2/db/authreg.db
> /var/lib/jabberd2/db/authreg.db: Berkeley DB (Btree, version 9, native
> byte-order)

Вероятнее всего стоит скопировать весь каталог db и сделать на нём db_recover.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAkhLy8cACgkQMJy3oC+NmVslUACfX85fymeHXtCCQN9zw6wen5rQ
tSwAniW2V8rJ85Ihw8PbajhpMp7iN/H+
=Sf8N
-----END PGP SIGNATURE-----


Подробная информация о списке рассылки Sysadmins