Re: How to fix a corrupt duplicate DB?

From: Andrew Morgan (no email)
Date: Fri Aug 03 2007 - 13:55:31 EDT

  • Next message: Steinar Bang: "Re: How to fix a corrupt duplicate DB?"

    On Fri, 3 Aug 2007, Steinar Bang wrote:

    >>>>>> Andrew Morgan <>:
    >
    >> Stop Cyrus, then do the following:
    >
    >> mv deliver.db deliver.db.bak
    >> mkdir db.bak
    >> cp -p db/ db.bak/
    >> rm db/*
    >
    > I stopped cyrus, removed the deliver.db file, and restarted cyrus,
    > before I saw your message.
    >
    > I did not move/remove the db directory. Is that important? It seems
    > to be working right now...?

    The db/ directory can store Berkeley DB transaction logs. Sometimes if
    the database is corrupted the transaction logs need to be removed as well.
    If Cyrus is happy, then there was no need.

             Andy

    ----
    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: Steinar Bang: "Re: How to fix a corrupt duplicate DB?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD