Sync failing. Possible db corruption
Michael Sofka
sofkam at rpi.edu
Tue Sep 15 16:20:34 EDT 2020
I have confirmed that running sync_client on individual mailboxes works,
as does running sync on the accumulated log files. But rolling
replication is not working. After sync_client is restarted there is a
burst of sync activity on the accumulated log, then nothing. The new
log file continues to accumulate, sync_client continues to run, but is
not processing anything so far as I can determine.
Sep 15 15:59:17 imap-be6 cyrus/sync_client[22370]: SYNCNOTICE: replica
uid:7451 modseq:19935 last_updated:1600023598 internaldate:1600023598
flags:( \Seen)
Sep 15 15:59:17 imap-be6 cyrus/sync_client[22370]: inefficient
replication (1487 > 1484) user.jins4.Sent
Sep 15 15:59:18 imap-be6 cyrus/sync_client[22370]: inefficient
replication (182427 > 182409) user.newelj
Sep 15 15:59:18 imap-be6 cyrus/sync_client[22370]: SYNCERROR: only
exists on replica user.newelj 121180
(a27c1dffed0326fb930b072fd85f04a8c2cbdf24)
Sep 15 15:59:23 imap-be6 cyrus/sync_client[22370]: inefficient
replication (5598 > 5571) user.berryk3
Sep 15 15:59:23 imap-be6 cyrus/sync_client[22370]: SYNCNOTICE: record
mismatch with replica: user.berryk3 more recent on master
Sep 15 15:59:23 imap-be6 cyrus/sync_client[22370]: SYNCNOTICE: master
uid:2614 modseq:5636 last_updated:1600191010 internaldate:1599245383
flags:(\Seen)
From the previous day's log I see:
Sep 15 06:25:11 imap-be6 cyrus/sync_client[29665]: MAILBOX received NO
response: System I/O error
Sep 15 06:25:11 imap-be6 cyrus/sync_client[29665]: do_folders(): update
failed: user.chauhs2 'The remote Server(s) denied the operation'
Sep 15 06:25:11 imap-be6 cyrus/sync_client[29665]: seen_db: user swankd
opened /var/lib/cyrus/user/s/swankd.seen
Sep 15 06:25:11 imap-be6 cyrus/sync_client[29665]: seen_db: user edena2
opened /var/lib/cyrus/user/e/edena2.seen
Sep 15 06:25:11 imap-be6 cyrus/sync_client[29665]: seen_db: user searsm2
opened /var/lib/cyrus/user/s/searsm2.seen
Sep 15 06:25:11 imap-be6 cyrus/sync_client[29665]: USER received NO
response: System I/O error
Sep 15 06:25:11 imap-be6 cyrus/sync_client[29665]: Error in do_sync():
bailing out! The remote Server(s) denied the operation
Sep 15 06:25:11 imap-be6 cyrus/sync_client[29665]: Processing sync log
file /var/lib/cyrus/sync/log-29665 failed: The remote Server(s) denied
the operation
Sep 15 06:25:11 imap-be6 cyrus/sync_client[29665]: Reprocessing sync log
file /var/lib/cyrus/sync/log-29665
I have not seen a repeat of the DBERROR, and have since restarted cyrus
services. So I'm not sure a ctl_cyrusdb -r is needed, or even it it
would fix things.
--
--
Michael D. Sofkasofkam 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