Re: Problem with export db at shutdown

From: Michael Menge (no email)
Date: Tue Sep 25 2007 - 10:41:17 EDT

  • Next message: David Lang: "Re: need help recovering from disk crash"

    Quoting :

    > Hi!
    >
    > Cause of a longtime power failure i had to shutdown our mail server.
    > During
    > "service cyrus-imapd stop"
    > the system hangs at exporting the database
    > soi had to reset the system.
    >
    > After reboot i did "ctl_cyrusdb -r" as user cyrus.
    > DB recoverd sucessfully
    >
    > for tests i restart cyrus-imapd, and also hanging , see ps fax:
    >
    > 5567 ? S 0:00 /bin/sh /usr/lib/cyrus-imapd/cvt_cyrusdb_all export
    > 5625 ? D 1:09 /usr/lib/cyrus-imapd/cvt_cyrusdb
    > /var/lib/imap/deliver.db berkeley /var/lib/imap/deliver.db.skiplist
    > skiplist
    >
    > 5625 is dead and server hangs
    >
    > DO anybody know a solution ?
    >

    Hi

    5625 is not Dead but in state of uninterruptible sleep, usually
    waiting for IO.
    cvt_cyrusdb is used to change the databaseformat of a cyrusdatabase
    from one format to another. In your case the deliver.db is changed
    from berkeley to skiplist. This should only be nesseary if you changed
    your databaseformat in /etc/imapd.conf. I don't know the script
    /usr/lib/cyrus-imapd/cvt_cyrusdb_all but i think it called cvt_cyrusdb
    . Is it part of you start procedure?

    Which Cyrus verson do you run?
    what does "file /var/lib/imap/deliver.db" report
    post your cyrus.conf and your imapd.conf

    I don't see any other cyrus proceses so i think they will get started after
    /usr/lib/cyrus-imapd/cvt_cyrusdb_all has finished.

    are there any elated errors in /var/log/messages /var/log/localmessages?

    --------------------------------------------------------------------------------
    M.Menge Tel.: (49) 7071/29-70316
    Universitaet Tuebingen Fax.: (49) 7071/29-5912
    Zentrum fuer Datenverarbeitung mail:

    Waechterstrasse 76
    72074 Tuebingen



    ----
    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: David Lang: "Re: need help recovering from disk crash"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD