Headache moving from Cyrus 2.1 to 2.2
Michael Menge
michael.menge at zdv.uni-tuebingen.de
Mon Jan 24 09:28:48 EST 2011
Hi,
Quoting Raimund Eimann <raimund at busy-byte.org>:
> 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
>
The Version of berkeley db used to compile cyrus does not match
the version it is linked to.
Did you compile cyrus or did you use a pre compiled package for
Ubuntu?
> 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/
>>
>
--------------------------------------------------------------------------------
M.Menge Tel.: (49) 7071/29-70316
Universität Tübingen Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung mail:
michael.menge at zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5267 bytes
Desc: S/MIME Signatur
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20110124/a82f3d3d/attachment-0001.bin
More information about the Info-cyrus
mailing list