Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cyrus lmtp problems causing database corruption?



OK, running Server 10.3.5 on a Dual G4 Xserve. We have run mail on it for about 9 months with no problems. No configuration changes in the last few weeks. Monday night directory services crashed causing a reboot of the machine. Upon coming back up the cyrus database was corrupted. So I figured it's just bad luck and ran the reconstruct command (reconsturct -i) with no problems. The Mail Service came back up and seemed to be working fine. Then the next morning at around 7 AM the database was suddenly corrupted again, no reboot or anything this time, and the Mail service just stopped accepting connections (POP, IMAP or SMTP). So, I took a look at the permissions in /var/imap/db and they were all cyrus:mail as they should be. In the logs I found a lot (1000+) entries like this:

Oct 27 03:22:47 hal deliver[20933]: connect(/var/imap/socket/lmtp) failed: Connection refused
Oct 27 03:22:56 hal deliver[20934]: connect(/var/imap/socket/lmtp) failed: Connection refused


These start a few hours before the service died and get more and more frequent until the mailboxes.db finally gets corrupted and starts spewing errors like these:

Oct 27 07:41:43 hal mbpath[25607]: DBERROR: error exiting application: Invalid argument
Oct 27 07:41:43 hal mbpath[25607]: DBERROR: error exiting application: cyrusdb error
Oct 27 07:41:43 hal mbpath[25608]: DBERROR db4: operation not permitted during recovery
Oct 27 07:41:43 hal mbpath[25608]: DBERROR: opening /var/imap/mailboxes.db: Invalid argument
Oct 27 07:41:43 hal mbpath[25608]: DBERROR: opening /var/imap/mailboxes.db: cyrusdb error
Oct 27 07:41:43 hal mbpath[25608]: DBERROR db4: Database handles open during environment close


Another reconstruct fixed the problem temporarily, but the same thing happened at around 7AM this morning. So, I have searched the archives and Apple's site and still can't figure out exactly what's going on. I have seen a bunch of people mention similar problems, but they seem to have permissions problem when rotating the stuff in /var/imap/db, which I don't seem to see. Can anyone give me a suggestion here? I don't want to have to rebuild my users mailboxes every morning! ;)

Thanks!


Mike Caplinger System Administrator Dept of Physics and Astronomy University of Georgia email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.