Re: Headache moving from Cyrus 2.1 to 2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Quoting Raimund Eimann <raimund@xxxxxxxxxxxxx>:

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@xxxxxxxxxxxxx>:

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@xxxxxxxxxxxxxxxxxxxx
WÃchterstraÃe 76
72074 TÃbingen

Attachment: smime.p7s
Description: S/MIME Signatur

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux