Problem with export db at shutdown

Michael Menge michael.menge at zdv.uni-tuebingen.de
Tue Sep 25 10:41:17 EDT 2007


Quoting stitch at power.ms:

> 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:  
michael.menge at zdv.uni-tuebingen.de
Waechterstrasse 76
72074 Tuebingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5339 bytes
Desc: S/MIME krytographische Unterschrift
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20070925/33cb3e91/attachment-0001.bin 


More information about the Info-cyrus mailing list