DBERROR with Cyrus 2.2.12
Michael Menge
michael.menge at zdv.uni-tuebingen.de
Mon Jul 6 12:30:06 EDT 2009
Quoting Christophe Boyanique <tof at raceme.org>:
>
> Hello,
>
> I've got a problem with an old Cyrus installation: it is a 2.2.12
> version on RedHat AS3 server which used to work correctly. It seems that
> after a power failure, some mailboxes have been corrupted.
>
> On 1000 mailboxes, 5 seem to be unreachable (for imap reads or lmtp
> deliveries) with this message in the log:
>
> DBERROR: error fetching user.foobar: cyrusdb error
>
> I tried without success (with cyrus started or stopped) to reconstruct
> the boxes with:
>
> su - cyrus -c "/usr/lib/cyrus-imapd/reconstruct -fr user/foobar"
>
> I also tried to stop the server, delete all the cyrus.* files in the
> user mailbox, reconstruct it and start again cyrus. But i always get the
> same errors...
>
>
> I also tried to regenerate the mailbox file without success with:
>
> /etc/init.d/cyrus-imapd stop
> cp /var/lib/imap/mailboxes.db /var/lib/imap/mailboxes.db.orig
> su -c '/usr/lib/cyrus-imapd/ctl_mboxlist -d > /tmp/mailboxes_dmp.txt' cyrus
> su -c '/usr/lib/cyrus-imapd/cvt_cyrusdb /tmp/mailboxes_dmp.txt flat
> /tmp/mailboxes.db skiplist' cyrus
> cp /tmp/mailboxes.db /var/lib/imap/mailboxes.db
> chown cyrus:mail /var/lib/imap/mailboxes.db
> /etc/init.d/cyrus-imapd start
>
> But Cyrus does not accept the new file so I add to revert back: for all
> users I had these errors:
>
Did you have a look at the mailboxes_dmp.txt file? Maybe it is corrupt?
I would search for user.foobar
> imap[27307]: user.foobar: can't find partition
> master[27006]: service imap pid 27532 in BUSY state: terminated abnormally
>
--------------------------------------------------------------------------------
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: 5339 bytes
Desc: S/MIME krytographische Unterschrift
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20090706/04aa4471/attachment.bin
More information about the Info-cyrus
mailing list