Quoting Christophe Boyanique <t...@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-5912Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de
Wächterstraße 76 72074 Tübingen
smime.p7s
Description: S/MIME krytographische Unterschrift
---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html