Re: How to repair a broken seen state file

From: Gary Mills (no email)
Date: Tue Jul 08 2008 - 10:27:25 EDT

  • Next message: Stephen Liu: "cyradm - unable to authenticate server as cyrus"

    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-
    ----
    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
    

  • Next message: Stephen Liu: "cyradm - unable to authenticate server as cyrus"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD