Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13

Olaf Frączyk olaf at navi.pl
Mon Apr 20 22:49:50 EDT 2020


Hi,

I upgraded to 3.0.13 but it didn't help.

This time it copied about 18GB

in the logs I still see:

1 - inefficient replication

2 - IOERROR: zero length response to MAILBOXES (idle for too long)
IOERROR: zero length response to RESTART (idle for too long)
Error in do_sync(): bailing out! Bad protocol

But I have no idea what can I do next and why it fails

Apr 21 02:24:46 ifs sync_client[12656]: IOERROR: zero length response to 
MAILBOXES (idle for too long)
Apr 21 02:24:46 ifs sync_client[12656]: IOERROR: zero length response to 
RESTART (idle for too long)
Apr 21 02:24:46 ifs sync_client[12656]: Error in do_sync(): bailing out! 
Bad protocol
Apr 21 02:24:46 ifs sync_client[12656]: Processing sync log file 
/var/lib/imap/sync/log-run failed: Bad protocol
Apr 21 03:46:10 ifs sync_client[1353]: auditlog: proxy 
sessionid=<ifs.navidom.office.navi.pl-1353-1587433570-1-12786204704753332806> 
remote=<unknown>
Apr 21 03:53:15 ifs sync_client[1353]: inefficient replication (32058 > 
56) navi.pl!user.olaf
Apr 21 03:59:41 ifs sync_client[1353]: sync_client RESTART succeeded
Apr 21 03:59:41 ifs sync_client[1353]: auditlog: proxy 
sessionid=<ifs.navidom.office.navi.pl-1353-1587433570-1-12786204704753332806> 
remote=<unknown>
Apr 21 04:01:49 ifs sync_client[1353]: inefficient replication (56949 > 
432) navi.pl!user.piotr
Apr 21 04:10:38 ifs sync_client[1353]: sync_client RESTART succeeded
Apr 21 04:10:38 ifs sync_client[1353]: auditlog: proxy 
sessionid=<ifs.navidom.office.navi.pl-1353-1587433570-1-12786204704753332806> 
remote=<unknown>
Apr 21 04:20:39 ifs sync_client[1353]: sync_client RESTART succeeded
Apr 21 04:20:39 ifs sync_client[1353]: auditlog: proxy 
sessionid=<ifs.navidom.office.navi.pl-1353-1587433570-1-12786204704753332806> 
remote=<unknown>
Apr 21 04:30:34 ifs sync_client[1353]: IOERROR: zero length response to 
MAILBOXES (idle for too long)
Apr 21 04:30:34 ifs sync_client[1353]: IOERROR: zero length response to 
RESTART (idle for too long)
Apr 21 04:30:34 ifs sync_client[1353]: Error in do_sync(): bailing out! 
Bad protocol

Regards,

Olaf

On 2020-04-20 16:11, Olaf Frączyk wrote:
> Hi,
>
> I'm running 3.0.5.
>
> I want to migrate to a new machine. I set up cyrus-imapd 3.0.13.
>
> The replication started but it didn't transfer all mails.
>
> The store isn't big 44GB, transferred was about 24 GB.
>
> In the logs I see:
>
> Apr 20 14:54:03 ifs sync_client[24239]: couldn't authenticate to 
> backend server: authentication failure
> Apr 20 14:54:13 ifs sync_client[24239]: connect(skink1.navi.pl) 
> failed: Connection timed out
> Apr 20 14:58:13 ifs sync_client[24239]: auditlog: proxy 
> sessionid=<ifs.navidom.office.navi.pl-24239-1587387493-1-8777437109336357550> 
> remote=<unknown>
> Apr 20 15:12:41 ifs sync_client[24239]: sync_client RESTART succeeded
> Apr 20 15:12:42 ifs sync_client[24239]: auditlog: proxy 
> sessionid=<ifs.navidom.office.navi.pl-24239-1587387493-1-8777437109336357550> 
> remote=<unknown>
> Apr 20 15:12:46 ifs sync_client[24239]: inefficient replication (39865 
> > 48) navi.pl!user.info
> Apr 20 15:15:31 ifs sync_client[24239]: inefficient replication (32058 
> > 56) navi.pl!user.olaf
> Apr 20 15:18:50 ifs sync_client[24239]: inefficient replication (15216 
> > 13867) navi.pl!user.ania
> Apr 20 15:19:18 ifs sync_client[24239]: inefficient replication (56949 
> > 432) navi.pl!user.piotr
> Apr 20 15:25:11 ifs sync_client[24239]: sync_client RESTART succeeded
> Apr 20 15:25:12 ifs sync_client[24239]: auditlog: proxy 
> sessionid=<ifs.navidom.office.navi.pl-24239-1587387493-1-8777437109336357550> 
> remote=<unknown>
> Apr 20 15:29:09 ifs sync_client[24239]: IOERROR: zero length response 
> to MAILBOXES (idle for too long)
> Apr 20 15:29:09 ifs sync_client[24239]: IOERROR: zero length response 
> to RESTART (idle for too long)
> Apr 20 15:29:09 ifs sync_client[24239]: Error in do_sync(): bailing 
> out! Bad protocol
> Apr 20 15:29:09 ifs sync_client[24239]: Processing sync log file 
> /var/lib/imap/sync/log-run failed: Bad protocol
>
> I also executed thereafter sync client manually:
>
> /usr/local/cyrus-3.0.5/sbin/sync_client -r
>
> but nothing changed, in the log appeared:
>
> Apr 20 15:37:23 ifs sync_client[27304]: Reprocessing sync log file 
> /var/lib/imap/sync/log-run
>
> The directory /var/lib/imap/sync/ on master is empty.
>
> The directory /var/spool/imap/sync. on replica is also empty
>
> What can I try to get it woring? Is there a serious problem with 
> replication in 3.0.5? I wanted to avoid upgrade on the old machine.
>
> Best regrads,
>
> Olaf Frączyk
>
>
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


More information about the Info-cyrus mailing list