PLEASE HELP - cyrusdb errors after power failure

Shawn Sivy ssivy at tcnj.edu
Fri Aug 13 11:00:25 EDT 2004


We recently had a power failure during a storm and the server required 
an fsck before it would mount up the file systems (eventhough I did have 
logging/journaling turned on).  After running 2 fscks it seems clean, 
but there are issue with the cyrus files themselves.  I had a problem 
with the mailboxes.db and the .seen files.  I converted all these to 
"flat" using cvt_cyrusdb and back again to skiplist (I removed the 
originals before converting back).  However, I'm still getting a lot of 
cyrusdb errors via the imap, pop3 and lmtpunix processes.  I tried 
reconstructing those accounts with the errors but the problem returns in 
a short period of time.  I notice that there is the cyrus.index.NEW and 
cyrus.cache.NEW files in the directory with their mail files.  Running 
reconstruct removed them but they return with the next set of errors.  
So, it seems something else is causing the process to fail and leave the 
.NEW files around.  I also tried removing the .NEW and the cyrus.cache 
and cyrus.index files totally before running a reconstruct, but that 
didn't seem to help.  Any other suggestion on things to look at or try.

We are running cyrus 2.2.5 (I know ... I should upgrade to 2.2.8) on 
Solaris 9.  Everything was working great before the power failure.  
Here's some of the error messages.

Aug 13 10:46:05 cyrus pop3[6427]: [ID 237943 local6.notice] login: 
somewhereat.TCNJ.EDU [192.168.1.1] mary plaintext User logged in
Aug 13 10:46:26 cyrus lmtpunix[25811]: [ID 335833 local6.error] DBERROR: 
error fetching user.mary: cyrusdb error
Aug 13 10:46:26 cyrus lmtpunix[25811]: [ID 860734 local6.debug] 
verify_user(user.mary) failed: System I/O error

Aug 13 10:47:46 cyrus imap[26412]: [ID 277583 local6.notice] login: 
mymail.TCNJ.EDU [192.168.100.1] kirk plaintext User logged in
Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: 
error fetching user.kirk: cyrusdb error
Aug 13 10:47:48 cyrus imap[26412]: [ID 677757 local6.debug] seen_db: 
user kirk opened /var/imap/user/k/kirk.seen
Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: 
error fetching user.kirk: cyrusdb error
Aug 13 10:47:48 cyrus imap[26412]: [ID 736213 local6.debug] open: user 
kirk opened INBOX
Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: 
error fetching user.kirk: cyrusdb error
Aug 13 10:47:48 cyrus imap[26412]: [ID 736213 local6.debug] open: user 
kirk opened INBOX
Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: 
error fetching user.kirk: cyrusdb error

Any help would be greatly appreciated!

  -Shawn Sivy
   The College of New Jersey


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list