Trouble using imap-folders from backup after hardware-crash

Philipp Leusmann philipp.leusmann at post.rwth-aachen.de
Fri Aug 27 04:47:57 EDT 2004


Hello,

since my servers harddrive crashed I had to reinstall the whole system.
I decided to use a SuSE 9.1 instead of the old 8.0. So, there is bdb v4.2
instead of v4.0 and cyrus-imap v2.2.x instead of v2.1.x.
So I followed the instructions to upgrade the db as written here:
http://asg.web.cmu.edu/cyrus/download/imapd/install-upgrade.html
But when issuing cvt_cyrusdb i get the message:

Converting from /var/imap/mailboxes.db (berkeley) to
/var/imap/mailboxes.db.new (skiplist)
fatal error: can't open old database

In /var/log/messages I find:
Aug 27 10:42:52 p15111115 cvt_cyrusdb[2627]: DBERROR db4: Program version
4.2 doesn't match environment version
Aug 27 10:42:52 p15111115 cvt_cyrusdb[2627]: DBERROR: dbenv->open
'/var/imap/db' failed: Invalid argument
Aug 27 10:42:52 p15111115 cvt_cyrusdb[2627]: DBERROR: init() on berkeley
Aug 27 10:42:52 p15111115 cvt_cyrusdb[2627]: DBERROR: reading
/var/imap/db/skipstamp, assuming the worst: No such file or directory
Aug 27 10:42:52 p15111115 cvt_cyrusdb[2627]: DBERROR db4: environment not
yet opened
Aug 27 10:42:52 p15111115 cvt_cyrusdb[2627]: DBERROR: opening
/var/imap/mailboxes.db: Invalid argument


Is there any way to reconstruct my mailboxes?

Thanks,
 Philipp



---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list