From owner-freebsd-ports@FreeBSD.ORG Mon Jun 9 12:18:50 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D9EE5EC0 for ; Mon, 9 Jun 2014 12:18:50 +0000 (UTC) Received: from mail.syndicat.com (mail.syndicat.com [62.146.89.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 60ACB2E82 for ; Mon, 9 Jun 2014 12:18:49 +0000 (UTC) Received: from localhost.syndicat.com ([127.0.0.1] helo=localhost) by mail.syndicat.com with esmtp (Syndicat.com PostHamster 10.04_1-PostHamster) (envelope-from ) id 1Wty5F-0002WT-Cr; Mon, 09 Jun 2014 13:49:49 +0200 X-Virus-Scanned: amavisd-new at syndicat.com Received: from mail.syndicat.com ([127.0.0.1]) by localhost (mail.syndicat.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KBistMJZwcMf; Mon, 9 Jun 2014 13:49:48 +0200 (CEST) Received: from p508c7ce5.dip0.t-ipconnect.de ([80.140.124.229] helo=[10.1.1.18]) by mail.syndicat.com with esmtpsa (TLSv1:AES128-SHA:128) (Syndicat.com PostHamster 10.04_1-PostHamster) (envelope-from ) id 1Wty5E-0000p8-LX; Mon, 09 Jun 2014 13:49:48 +0200 Content-Type: multipart/signed; boundary="Apple-Mail=_5C4DF91B-93D8-4194-961B-4B04E42D9337"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: Database error From: "Niels Dettenbach (Syndicat.com)" In-Reply-To: <20140609113830.GA30045@vpn.offrom.nl> Date: Mon, 9 Jun 2014 13:49:45 +0200 Message-Id: <04CEDE86-3C62-4E7B-BB39-14D261EAC174@syndicat.com> References: <20140602141832.GF21704@vpn.offrom.nl> <3548500.yrjecoRN8L@gongo> <20140602144414.GH21704@vpn.offrom.nl> <1787652.HODZAcktA2@gongo> <20140609113830.GA30045@vpn.offrom.nl> To: Willy@Offermans.Rompen.nl X-Mailer: Apple Mail (2.1878.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: info-cyrus@lists.andrew.cmu.edu, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2014 12:18:51 -0000 --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 = : > 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--