Running "ctl_mboxlist -m" on a running server

Etienne Goyer etienne.goyer at linuxquebec.com
Wed May 18 16:33:59 EDT 2005


João Assad wrote:
> Etienne Goyer wrote:
>> May 17 09:50:26 mupdate mupdate[19842]: DBERROR: skiplist recovery \
>> /var/imap/mailboxes.db: 45DF894 should be ADD or DELETE
>> May 17 09:50:26 mupdate mupdate[19842]: DBERROR: error updating \
>> database user.test1234.subtest123: cyrusdb error
> 
> Which OS / kernel version are you using ?

RHEL 4, kernel 2.4.21-27.0.4.ELsmp

> You can delete the mailboxes.db and restart cyrus, then you can run 
> ctl_mboxlist -m on the backends

I would ... if it would'nt take a fews hour.  We have > 400K mailboxes 
on two backends.

> You could also recover the mailboxes.db getting it from the hot backup 
> in the db.backup1/2 directories and then run ctl_mboxlist -m on the 
> backends. That would work only if your hot backup isnt already corrupted

The corruption would have happenned yesterday, and the backup are 
rotated every five minutes ... :(

Thanks for your input !

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list