Sync failing. Possible db corruption

Michael Sofka sofkam at rpi.edu
Tue Sep 15 10:49:00 EDT 2020


Before I proceed, I am seeking advice.

This is on Cyrus IMAP Murder v2.4.18-Debian-2.4.18-3

On one of our back-end servers sync started failing.  I restarted 
sync_server on the replication, and on the backend server, which did not 
work.  There are the following errors in the logs

Sep 15 10:04:52 imap-be6 cyrus/sync_client[29665]: Processing sync log 
file /var/lib/cyrus/sync/l
og-29665 failed: Bad protocol
Sep 15 10:04:52 imap-be6 cyrus/sync_client[29665]: DBERROR db5: BDB1581 
File handles still open a
t environment close
Sep 15 10:04:52 imap-be6 cyrus/sync_client[29665]: DBERROR db5: BDB1582 
Open file handle: /var/li
b/cyrus/db/__db.001
Sep 15 10:04:52 imap-be6 cyrus/sync_client[29665]: DBERROR db5: BDB1582 
Open file handle: /var/li
b/cyrus/db/__db.002
Sep 15 10:04:52 imap-be6 cyrus/sync_client[29665]: DBERROR db5: BDB1582 
Open file handle: /var/li
b/cyrus/db/__db.003
Sep 15 10:04:52 imap-be6 cyrus/sync_client[29665]: DBERROR db5: BDB0060 
PANIC: fatal region error
  detected; run recovery
Sep 15 10:04:52 imap-be6 cyrus/sync_client[29665]: DBERROR: critical 
database situation

...


Sep 15 10:21:18 imap-be6 cyrus/sync_client[19816]: Inbox missing on 
master for MAILBOX user.travi
t
Sep 15 10:21:18 imap-be6 cyrus/sync_client[19816]: Inbox missing on 
master for MAILBOX user.sutto
e
Sep 15 10:21:18 imap-be6 cyrus/sync_client[19816]: Inbox missing on 
master for MAILBOX user.maran
v


On the replication server I have:

Sep 15 10:34:40 imap-be5 cyrus/syncserver[31550]: cannot unlink 
/var/lib/cyrus/user/m/MAILBOX use
r.linr7.mboxkey: No such file or directory
Sep 15 10:34:40 imap-be5 cyrus/syncserver[31550]: cannot unlink 
/var/lib/cyrus/user/m/MAILBOX use
r.kjells.mboxkey: No such file or directory
Sep 15 10:34:40 imap-be5 cyrus/syncserver[31550]: cannot unlink 
/var/lib/cyrus/user/m/MAILBOX use
r.ngang.mboxkey: No such file or directory

When I try to process the sync/log-xxxx files.


Any pointers or help appreciated.  IMAP is functioning as far as I can 
tell, and only the replication process is failing.

Thank you,

MIke


-- 
--
Michael D. Sofka               sofkam at rpi.edu
ITI Software Architect,   Email, TeX, Epistemology
Rensselaer Polytechnic Institute, Troy, NY.  http://www.rpi.edu/~sofkam/



More information about the Info-cyrus mailing list