How to repair a broken seen state file

Gary Mills mills at cc.umanitoba.ca
Tue Jul 8 10:27:25 EDT 2008


On Mon, Jul 07, 2008 at 03:37:56PM +0200, Konrad Mauz wrote:
> On Mon, Jul 07, 2008 at 08:31:59AM -0500, Gary Mills wrote:
> > I'm seeing errors like this regularly in our messages log:
> > 
> >   Jul  4 11:43:37 castor imap[16398]: [ID 514311 local6.error] DBERROR: skiplist recovery: 058C should be INORDER
> >   Jul  4 11:43:37 castor imap[16398]: [ID 729713 local6.error] DBERROR: opening /imap/conf/user/O/inqarts.seen: cyrusdb error
> > 
> > It's always for this one file.  All the others are fine.  It's a
> > skiplist database.  The ownership is correct.  A reconstruct on the
> > mailbox has no effect on the file.  Can I just remove the file, with
> > no ill effects?  Can I fix it somehow?  We're running cyrus-imapd-2.3.8.
> 
> perheps the skiplist.py tool from
> 
> http://oss.netfarm.it/python-cyrus.php
> 
> can help you to restore the corrupted seen file.

Yes, that worked!  skiplist.py extracted the data to a text file.
Then cvt_cyrusdb converted from flat to skiplist again.  There are
no more errors in the log.

-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-


More information about the Info-cyrus mailing list