Headache moving from Cyrus 2.1 to 2.2

Raimund Eimann raimund at busy-byte.org
Mon Jan 24 09:08:02 EST 2011


Hi,

I moved deliver.db away temporarily, now I get load of there errors on stating the service:


Jan 24 14:58:43 callisto cyrus/lmtpunix[20840]: DBERROR: init() on berkeley
Jan 24 14:58:43 callisto cyrus/lmtpunix[20840]: DBERROR: opening /var/lib/imap/deliver.db: Invalid argument
Jan 24 14:58:43 callisto cyrus/lmtpunix[20840]: DBERROR: opening /var/lib/imap/deliver.db: cyrusdb error
Jan 24 14:58:43 callisto cyrus/lmtpunix[20840]: FATAL: lmtpd: unable to init duplicate delivery database
Jan 24 14:58:43 callisto cyrus/lmtpunix[20841]: DBERROR: dbenv->open '/var/lib/imap/db' failed: DB_VERSION_MISMATCH: Database environment version mismatch
Jan 24 14:58:43 callisto cyrus/lmtpunix[20841]: DBERROR: init() on berkeley
Jan 24 14:58:43 callisto cyrus/lmtpunix[20841]: DBERROR: opening /var/lib/imap/deliver.db: Invalid argument
Jan 24 14:58:43 callisto cyrus/lmtpunix[20841]: DBERROR: opening /var/lib/imap/deliver.db: cyrusdb error
Jan 24 14:58:43 callisto cyrus/lmtpunix[20841]: FATAL: lmtpd: unable to init duplicate delivery database
Jan 24 14:58:43 callisto cyrus/lmtpunix[20842]: DBERROR: dbenv->open '/var/lib/imap/db' failed: DB_VERSION_MISMATCH: Database environment version mismatch
Jan 24 14:58:43 callisto cyrus/lmtpunix[20842]: DBERROR: init() on berkeley
Jan 24 14:58:43 callisto cyrus/lmtpunix[20842]: DBERROR: opening /var/lib/imap/deliver.db: Invalid argument
Jan 24 14:58:43 callisto cyrus/lmtpunix[20842]: DBERROR: opening /var/lib/imap/deliver.db: cyrusdb error
Jan 24 14:58:43 callisto cyrus/lmtpunix[20842]: FATAL: lmtpd: unable to init duplicate delivery database

Cheers,
Raimund

Am 24.01.2011 um 13:29 schrieb Adam Tauno Williams <awilliam at whitemice.org>:

> On Mon, 2011-01-24 at 12:19 +0100, Raimund wrote: 
>> Hi there,
>> I am having a quite hard time moving my cyrus imapd installation away 
>> fom a SuSE 11.1 box (i586) to Ubuntu server 10.04 (x86_64). I have hopes 
>> that someone here might be able to help me?:
>> I copied the complete cyrus config & data to the new box. Running 
>> service cyrus2.2 start only produces lots of error messages in 
>> /var/log/mail.err:
>> Jan 24 12:12:22 callisto cyrus/lmtpunix[4430]: DBERROR: opening 
>> /var/lib/imap/deliver.db: Invalid argument
>> Jan 24 12:12:22 callisto cyrus/lmtpunix[4430]: DBERROR: opening 
>> /var/lib/imap/deliver.db: cyrusdb error
>> Jan 24 12:12:22 callisto cyrus/lmtpunix[4430]: FATAL: lmtpd: unable to 
>> init duplicate delivery database
> 
> Just delete duplicate.db; it will regenerate anyway.  Several of the
> Cyrus databases are disposable [kept around for performance and feature
> reasons] and delivery is one of those.
> 
>> I tried to convert deliver.db to skiplist a while ago, not sure whether 
>> that was successful in any way, because the next error hit me right 
>> away, so I started over (with a new copy of the config in 
>> /var/lib/imap). Can someone here instruct me what exactly to do to 
>> migrate my mail to the new box? I add some config information below.
> 
> 
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20110124/e7bbd837/attachment.html 


More information about the Info-cyrus mailing list