Package: torrus-common
Version: 1.0.6-2

Hello,

after an apt-get upgrade, torrus fails to start with messages in the
log:
[16-Apr-2008 08:30:44 ] Torrus version 1.0.6
[16-Apr-2008 08:30:44 ] /usr/share/torrus/bin/collector started for tree
main, instance #0
[16-Apr-2008 08:30:44*] Cannot create BerkeleyDB Environment:
DB_VERSION_MISMATCH: Database environment version mismatch
[16-Apr-2008 08:30:44*] Cannot create BerkeleyDB Environment:
DB_VERSION_MISMATCH: Database environment version mismatch

while this sounds similiar to #408949, I think I found out the chain of
effects. torrus-common depends on libberkeleydb-perl, which in turn
depends on libdbX.X, what ever the current version is.

The latest update upgraded libdb from version 4.4 to 4.6, leading to the
failure of torrus.

Torrus starts again after a simple db4.6_recover -v -h /var/lib/torrus/db/

Is there a way to add this as a hook somewhere to be executed
automatically when need, i.e. on the libdb dependency update of
libberkeleydb-perl ? Running db_recover when not necessary has no bad
effects.

If that is not easily possible, mentioning the command in a README would
be a good thing(TM) IMHO.

Bye,

Joerg

Attachment: signature.asc
Description: Digital signature

Reply via email to