Date: Mon, 9 Jun 2014 13:49:45 +0200 From: "Niels Dettenbach (Syndicat.com)" <nd@syndicat.com> To: Willy@Offermans.Rompen.nl Cc: info-cyrus@lists.andrew.cmu.edu, freebsd-ports@freebsd.org Subject: Re: Database error Message-ID: <04CEDE86-3C62-4E7B-BB39-14D261EAC174@syndicat.com> In-Reply-To: <20140609113830.GA30045@vpn.offrom.nl> References: <20140602141832.GF21704@vpn.offrom.nl> <3548500.yrjecoRN8L@gongo> <20140602144414.GH21704@vpn.offrom.nl> <1787652.HODZAcktA2@gongo> <20140609113830.GA30045@vpn.offrom.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_5C4DF91B-93D8-4194-961B-4B04E42D9337 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 09.06.2014 um 13:38 schrieb Willy Offermans = <Willy@Offermans.Rompen.nl>: > After an unplanned and unforeseen reboot, the problem disappeared. To = me it > seems that the '/var/imap/db' directory was recreated automagically = during > reboot. As the actual problem started after an update of FreeBSD = ports, This was =84luck=93 - by principle there are situations where cyrus = could not recreate all details out of the mail spool or older = data(base) files. > I=20 > have the impression that the update procedure for cyrus-imap and = berkely db=20 > is not failure free. If the update for berkely db is so crucial for > cyrus-imap, then arrangements for that should be settled. not really, it is not easy to =84automate=93 for anyone because cyrus uses BDB, but = BDB is not part of cyrus and as many databases BDBs are not =93backward = compatible=93. On the other hand, if you change the architecture while = using the same version of BDB the data would be incompatible too. The =84official=93 way to upgrade to a newer Berkeley DB (with or = without a newer cyrus version) is afaik the way =84by hand=93 - BEFORE = the old BDB is deinstalled or overwritten you have to make an export of = the databases to a =84independent=93 format like i.e. plain text / = skiplist and reimported AFTer the NEW BDB / database software is = installed. In the context of cyrus this means that at least the mailbox list is = exported to a =84independent=93 data format (i.e. plain text) and = reimported by the =84new=93 database software. So this is a question of your Berkeley DB and not cyrus primarily, even = if many binary distributors build/compile newer cyrus versions with = newer bundled BDB versions and even if some distributors deliver = =84automatic upgrade=93 routines within their packages which are doing = that job for you (as long as you strongly use their =84idea=93 of how = you configure and use cyrus). hth, cheerioh, Niels. --Apple-Mail=_5C4DF91B-93D8-4194-961B-4B04E42D9337 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJTlZ9ZAAoJEM78prARigUn7Z4P/jpD4AFoX6/OiPVrrjnFiZVx tnZ+g9UgAFY8efDkS4c1T69BEMst6FrHwf3w25SgSw9//VpATzQbves95wSrwa75 S6VGzQd5LbCjlQYhzrBQBUf13EwaN9WXZ6/zXknDg2xospSbCqKhQbzF525/tZeB /EDnmF9HjXGJnfAgjvynMOUB3rO6wz53zKLGGCC43UGaE5vAVeQtUAYmuYpMCO8p sZdBjYtn9LyUYt2Owop3jurcNqkyZsXbv1/hk1E4h+eWoItIDpJwaZxUVaMLv1xh +0D8CMm6A4dgVLn0cGG3dDtuUPfNbRL7XM0GIebFnRXSJtNotCLVJAe+WlNygzsK 7SoPN5OtXeg8Uu8APUQwxogfzBdqmv0D/tN5B8DR3qvAAyKbfO4Ua8ykA+dZKK28 VB6M7rDVabR8+5X9+eO0n3JDn42qARev6VlzixMKzXwQC7Oi4TNVDHIkhBJHtcNO FyxIQXCo2D91v+0kwu+Q4HmDrYqedv/HfLDkqQ/0xcyAoh4ZLu5Cu3rNr0/fD4qp 92toihR6FyGpmIVHPazYDMaXih2esW05dfdJUTnpSL9IWyXCUL/zE1GlKMdstcUp AV1TiCvRXGVySuQXsHWHUP2C2knWkZtgcD+cybceBlntV/n5YiiUto0/t9g/lzZY hW6C/fm3H6nLG7pbW01N =ma6V -----END PGP SIGNATURE----- --Apple-Mail=_5C4DF91B-93D8-4194-961B-4B04E42D9337--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04CEDE86-3C62-4E7B-BB39-14D261EAC174>