ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Ivan Fedorov" <ns@altlinux.org>
To: "ALT Linux sysadmin discuss" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] jabberd2 upgrade: db: couldn't open environment: DB_VERSION_MISMATCH: Database environment version mismatch
Date: Sun, 8 Jun 2008 16:08:40 +0400
Message-ID: <2c1ee2a10806080508w3c0c34f9k52ff0bfbc638719e@mail.gmail.com> (raw)
In-Reply-To: <484BA984.6010102@khavr.com>

-----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-----

  reply	other threads:[~2008-06-08 12:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-08  9:42 Andriy Khavryuchenko
2008-06-08 12:08 ` Ivan Fedorov [this message]
2008-06-08 14:14   ` Andriy Khavryuchenko
2008-06-08 15:38     ` Dmitry V. Levin
2008-06-08 16:48       ` Andriy Khavryuchenko
2008-06-08 20:33   ` Andriy Khavryuchenko
2008-06-09 12:15     ` Andriy Khavryuchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c1ee2a10806080508w3c0c34f9k52ff0bfbc638719e@mail.gmail.com \
    --to=ns@altlinux.org \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git