Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
Yes, Michael was right - it works properly now. (I hope ;). OK. I'll put it in the DAEMON section - this way I have only one point where all stuff related to imap is started. Thank you for explanation. Regards, Olaf On 2020-04-22 02:36, ellie timoney wrote: I think Michael's got this pretty much covered -- you need to disable the rolling replication for now, and then use sync_client -u (or if you're brave, sync_client -A) to get an initial sync of everything. These two options work entire-user-at-a-time, so they should detect and fix the problems introduced by the partial rolling sync. If you have mailboxes in a shared namespace (i.e. that are outside the user/ namespace), they won't be replicated by -u or -A. You'll need to initially replicate those individually with sync_client -m. Once you've got a complete initial sync done, you can use rolling replication to keep the replica up to date. You can put the rolling 'sync_client -r' in the DAEMON section, so that Cyrus will restart it if it exits. Or you could manage it from outside Cyrus, e.g. via systemd/initd if you prefer. You cannot put sync_client in the SERVICES section. The SERVICES section is for service processes (i.e. processes that listen on a socket and service client requests). sync_client is a client, not a service. Cheers, ellie On Wed, Apr 22, 2020, at 4:40 AM, Michael Menge wrote: Quoting Olaf Frączyk : Yes, at the beginning I was also thinking if initial sync is necessary, but there was nothing in docs about it, something started replicating and I simply assumed it does initial resync. I'll try it this evening. :) Since you use replication - are sieve scripts replicated as well? There is -s option called sieve mode but it needs to specify which users' files are to replicate and there is written that it is mostly for debugging. Yes, sieve scripts are replicated. The way the rolling replication works is, that every time something is changed on the master a "hint" is written in the sync log, "MAILBOX user.foo.bar" indicates that the mailbox bar of the user foo has changed and the sync_client will sync this (and only this folder) There are other "hints" e.g for changed subscription or changed sieve script. But if the sieve script is not changed sync_client in rolling replication will not try to sync it. Using the -A or -u Option will sync the all/some users, including all mailboxes, folder subscriptions and sieve scripts. The -s option is only needed if you change a compiled sieve script so that it is not logged in the replication log. M.MengeTel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen 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 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 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
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
On 2020-04-21 20:40, Michael Menge wrote: Quoting Olaf Frączyk : Yes, at the beginning I was also thinking if initial sync is necessary, but there was nothing in docs about it, something started replicating and I simply assumed it does initial resync. I'll try it this evening. :) Since you use replication - are sieve scripts replicated as well? There is -s option called sieve mode but it needs to specify which users' files are to replicate and there is written that it is mostly for debugging. Yes, sieve scripts are replicated. The way the rolling replication works is, that every time something is changed on the master a "hint" is written in the sync log, "MAILBOX user.foo.bar" indicates that the mailbox bar of the user foo has changed and the sync_client will sync this (and only this folder) There are other "hints" e.g for changed subscription or changed sieve script. But if the sieve script is not changed sync_client in rolling replication will not try to sync it. Using the -A or -u Option will sync the all/some users, including all mailboxes, folder subscriptions and sieve scripts. The -s option is only needed if you change a compiled sieve script so that it is not logged in the replication log. I did replication with -A. It looks that everything works properly now. Sieve scripts were also transferred :) It is good to know, that if I change compiled script manually it needs additional attention. Thank you very much for help :) M.Menge Tel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen 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 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
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
I think Michael's got this pretty much covered -- you need to disable the rolling replication for now, and then use sync_client -u (or if you're brave, sync_client -A) to get an initial sync of everything. These two options work entire-user-at-a-time, so they should detect and fix the problems introduced by the partial rolling sync. If you have mailboxes in a shared namespace (i.e. that are outside the user/ namespace), they won't be replicated by -u or -A. You'll need to initially replicate those individually with sync_client -m. Once you've got a complete initial sync done, you can use rolling replication to keep the replica up to date. You can put the rolling 'sync_client -r' in the DAEMON section, so that Cyrus will restart it if it exits. Or you could manage it from outside Cyrus, e.g. via systemd/initd if you prefer. You cannot put sync_client in the SERVICES section. The SERVICES section is for service processes (i.e. processes that listen on a socket and service client requests). sync_client is a client, not a service. Cheers, ellie On Wed, Apr 22, 2020, at 4:40 AM, Michael Menge wrote: > > Quoting Olaf Frączyk : > > > > > Yes, at the beginning I was also thinking if initial sync is > > necessary, but there was nothing in docs about it, something started > > replicating and I simply assumed it does initial resync. I'll try it > > this evening. :) > > > > Since you use replication - are sieve scripts replicated as well? > > There is -s option called sieve mode but it needs to specify which > > users' files are to replicate and there is written that it is mostly > > for debugging. > > > > Yes, sieve scripts are replicated. > > The way the rolling replication works is, that every time something is changed > on the master a "hint" is written in the sync log, > > "MAILBOX user.foo.bar" indicates that the mailbox bar of the user foo > has changed > and the sync_client will sync this (and only this folder) > There are other "hints" e.g for changed subscription or changed sieve script. > > But if the sieve script is not changed sync_client in rolling replication > will not try to sync it. Using the -A or -u Option will sync the all/some > users, including all mailboxes, folder subscriptions and sieve scripts. > > The -s option is only needed if you change a compiled sieve script so > that it is not logged in the replication log. > > > > > > M.MengeTel.: (49) 7071/29-70316 > Universität Tübingen Fax.: (49) 7071/29-5912 > Zentrum für Datenverarbeitung mail: > michael.me...@zdv.uni-tuebingen.de > Wächterstraße 76 > 72074 Tübingen > > > 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 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
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
Quoting Olaf Frączyk : Yes, at the beginning I was also thinking if initial sync is necessary, but there was nothing in docs about it, something started replicating and I simply assumed it does initial resync. I'll try it this evening. :) Since you use replication - are sieve scripts replicated as well? There is -s option called sieve mode but it needs to specify which users' files are to replicate and there is written that it is mostly for debugging. Yes, sieve scripts are replicated. The way the rolling replication works is, that every time something is changed on the master a "hint" is written in the sync log, "MAILBOX user.foo.bar" indicates that the mailbox bar of the user foo has changed and the sync_client will sync this (and only this folder) There are other "hints" e.g for changed subscription or changed sieve script. But if the sieve script is not changed sync_client in rolling replication will not try to sync it. Using the -A or -u Option will sync the all/some users, including all mailboxes, folder subscriptions and sieve scripts. The -s option is only needed if you change a compiled sieve script so that it is not logged in the replication log. M.MengeTel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen 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
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
On 2020-04-21 16:00, Michael Menge wrote: Hi, Quoting Olaf Frączyk : I managed to get strace on both sides, however it doesn't make me wiser - there is nothing obvious for me. Additionally I see that replication works more or less for new messages, but older are not processed. I have several subfolders in my mailbox, some of them unreplicated. If I change anything in the subfolder now - the folder is replicated, but other subfolders remain not replicated - unless I change anything in them. you are trying to use rolling replication. For rolling replication cyrus logs which the location and type where changes ocure e.g "MAILBOX navi.pl!user.olaf" indicates that something has changed in the INBOX of the user o...@navi.pl. the rolling replication will keep the master and replica in sync, but it requires that there was an initial replication of all users. you can use sync_client with -A oder -u to do this synchronization (see the manpage for details) I think using rolling replication without the initial sync may be the cause of the errors. stop the "sync_client -r" and wait for the initial sync to finish. Yes, at the beginning I was also thinking if initial sync is necessary, but there was nothing in docs about it, something started replicating and I simply assumed it does initial resync. I'll try it this evening. :) Since you use replication - are sieve scripts replicated as well? There is -s option called sieve mode but it needs to specify which users' files are to replicate and there is written that it is mostly for debugging. M.Menge Tel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen 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 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
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
Hi, Quoting Olaf Frączyk : I managed to get strace on both sides, however it doesn't make me wiser - there is nothing obvious for me. Additionally I see that replication works more or less for new messages, but older are not processed. I have several subfolders in my mailbox, some of them unreplicated. If I change anything in the subfolder now - the folder is replicated, but other subfolders remain not replicated - unless I change anything in them. you are trying to use rolling replication. For rolling replication cyrus logs which the location and type where changes ocure e.g "MAILBOX navi.pl!user.olaf" indicates that something has changed in the INBOX of the user o...@navi.pl. the rolling replication will keep the master and replica in sync, but it requires that there was an initial replication of all users. you can use sync_client with -A oder -u to do this synchronization (see the manpage for details) I think using rolling replication without the initial sync may be the cause of the errors. stop the "sync_client -r" and wait for the initial sync to finish. M.MengeTel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen 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
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
I managed to get strace on both sides, however it doesn't make me wiser - there is nothing obvious for me. Additionally I see that replication works more or less for new messages, but older are not processed. I have several subfolders in my mailbox, some of them unreplicated. If I change anything in the subfolder now - the folder is replicated, but other subfolders remain not replicated - unless I change anything in them. Below strace, maybe someone can find anything meaningful from it: 1: On replica rename("/var/lib/imap/proc/6794.new", "/var/lib/imap/proc/6794") = 0 getpid() = 6794 openat(AT_FDCWD, "/var/lib/imap/proc/6794.new", O_RDWR|O_CREAT|O_TRUNC, 0666) = 12 fstat(12, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 write(12, "imap\tifs.local.navi.pl [192.168."..., 53) = 53 close(12) = 0 rename("/var/lib/imap/proc/6794.new", "/var/lib/imap/proc/6794") = 0 rt_sigprocmask(SIG_BLOCK, [INT QUIT ALRM TERM CHLD], [], 8) = 0 pselect6(1, [0], NULL, NULL, {tv_sec=1920, tv_nsec=0}, {[], 8}) = 1 (in [0], left {tv_sec=1919, tv_nsec=99238}) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT QUIT ALRM TERM CHLD], [], 8) = 0 pselect6(1, [0], NULL, NULL, {tv_sec=1920, tv_nsec=0}, {[], 8}) = 1 (in [0], left {tv_sec=1919, tv_nsec=99439}) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 read(0, "", 5) = 0 unlink("/var/lib/imap/proc/6794") = 0 openat(AT_FDCWD, "/dev/null", O_RDWR) = 12 shutdown(0, SHUT_RD) = -1 ENOTCONN (Transport endpoint is not connected) dup2(12, 0) = 0 shutdown(1, SHUT_RD) = -1 ENOTCONN (Transport endpoint is not connected) dup2(12, 1) = 1 shutdown(2, SHUT_RD) = -1 ENOTCONN (Transport endpoint is not connected) dup2(12, 2) = 2 close(12) = 0 close(11) = 0 getpid() = 6794 write(3, "\1\0\0\0\212\32\0\0", 8) = 8 rt_sigaction(SIGALRM, {sa_handler=0x7f57e06da710, sa_mask=[], sa_flags=SA_RESTORER|SA_RESETHAND|SA_SIGINFO, sa_restorer=0x7f57dc71a960}, NULL, 8) = 0 rt_sigaction(SIGQUIT, {sa_handler=0x7f57e06da710, sa_mask=[], sa_flags=SA_RESTORER|SA_RESETHAND|SA_SIGINFO, sa_restorer=0x7f57dc71a960}, NULL, 8) = 0 rt_sigaction(SIGINT, {sa_handler=0x7f57e06da710, sa_mask=[], sa_flags=SA_RESTORER|SA_RESETHAND|SA_SIGINFO, sa_restorer=0x7f57dc71a960}, NULL, 8) = 0 rt_sigaction(SIGTERM, {sa_handler=0x7f57e06da710, sa_mask=[], sa_flags=SA_RESTORER|SA_RESETHAND|SA_SIGINFO, sa_restorer=0x7f57dc71a960}, NULL, 8) = 0 rt_sigaction(SIGUSR2, {sa_handler=0x7f57e06da710, sa_mask=[], sa_flags=SA_RESTORER|SA_RESETHAND|SA_SIGINFO, sa_restorer=0x7f57dc71a960}, NULL, 8) = 0 rt_sigaction(SIGHUP, {sa_handler=0x7f57e06da710, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f57dc71a960}, NULL, 8) = 0 alarm(83) = 0 fcntl(8, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 stat("/usr/local/cyrus-3.0.13/libexec/imapd", {st_mode=S_IFREG|0755, st_size=1181120, ...}) = 0 rt_sigaction(SIGHUP, {sa_handler=0x7f57e06da710, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f57dc71a960}, NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT QUIT ALRM TERM CHLD], [], 8) = 0 pselect6(5, [4], NULL, NULL, NULL, {[], 8}) = ? ERESTARTNOHAND (To be restarted if no handler) --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} --- rt_sigreturn({mask=[INT QUIT ALRM TERM CHLD]}) = -1 EINTR (Interrupted system call) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGHUP, {sa_handler=0x7f57e06da710, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f57dc71a960}, NULL, 8) = 0 fcntl(8, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 close(5) = 0 munmap(0x7f57e14c1000, 16384) = 0 close(7) = 0 munmap(0x7f57e14bd000, 16384) = 0 close(6) = 0 unlink("/var/lib/imap/socket/idle.6794") = 0 close(9) = 0 munmap(0x7f57e14a9000, 16384) = 0 exit_group(0) = ? +++ exited with 0 +++ 2. On master: nanosleep({1, 0}, 0x7ffe12318060) = 0 stat("/var/local/imapd_sync_stop", 0x7ffe12318280) = -1 ENOENT (No such file or directory) stat("/var/lib/imap/sync/log-run", 0x7ffe12318190) = -1 ENOENT (No such file or directory) stat("/var/lib/imap/sync/log", {st_mode=S_IFREG|0600, st_size=26, ...}) = 0 rename("/var/lib/imap/sync/log", "/var/lib/imap/sync/log-run") = 0 open("/var/lib/imap/sync/log-run", O_RDWR) = 8 fcntl(8, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 fcntl(8, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 read(8,
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
Quoting Olaf Frączyk : Thank you for the telemetry hint :) I don't use the syncserver - the replication is done via IMAP port on the replica side. I have no idea how to have strace spawned by cyrus master process. When I attach later to imapd using strace -p I'm afraid some info already will be lost. You can try "/usr/bin/strace /imapd " as cmd or you can use prefork=1 in the service to prefok one imap process and connect to this one before you start the sync_client. The syncserver is marked as deprecated in the docs, so I went with the more modern option. Maybe here is the problem ;) i am using syncserver since cyrus-imapd 2.3. So I had no reason to change it. The funny thing is that from time to time the replication progresses a little. I don't like non-repetitive behavior ;) Thanks again for the hints. On 2020-04-21 14:13, Michael Menge wrote: Hi, Quoting Olaf Frączyk : The current situation is: 1. Replica: stopped and started the replica no activity on replica - iotop and top show nothing the only messages on replica is incoming connection from master 2. Master: when I run sync_client -r I still get: Apr 21 12:38:36 ifs sync_client[29518]: Reprocessing sync log file /var/lib/imap/sync/log-run Apr 21 12:43:27 ifs sync_client[29518]: IOERROR: zero length response to MAILBOXES (idle for too long) Apr 21 12:43:27 ifs sync_client[29518]: IOERROR: zero length response to RESTART (idle for too long) Apr 21 12:43:27 ifs sync_client[29518]: Error in do_sync(): bailing out! Bad protocol Apr 21 12:43:27 ifs sync_client[29518]: Processing sync log file /var/lib/imap/sync/log-run failed: Bad protocol 3. There is 27 GB of about 45 GB replicated and there is no further progress 4. How to find out why the replica doesn't respond? You can enable telemetry logging on the replica by creating a folder /var/lib/imap/log/ where is the value of the sync_authname. If you give cyrus write permissions for this folder it will create log-files for each process and what it received and send from/to the sync_client with timestamps. Also you can try to use strace on the syncserver process to figure out which files it is accessing On 2020-04-21 11:18, Olaf Frączyk wrote: I also found out that when I see on master: Apr 21 11:12:38 ifs sync_client[27996]: IOERROR: zero length response to MAILBOXES (idle for too long) Apr 21 11:12:38 ifs sync_client[27996]: IOERROR: zero length response to RESTART (idle for too long) Apr 21 11:12:38 ifs sync_client[27996]: Error in do_sync(): bailing out! Bad protocol Apr 21 11:12:38 ifs sync_client[27996]: Processing sync log file /var/lib/imap/sync/log-run failed: Bad protocol I also get on the replica: Apr 21 11:12:38 skink1 imap[5775]: Connection reset by peer, closing connection But I also see, that before it happens, there is no activity both on the replica and on the master for some time. So maybe the imap server process is not recovering correctly in the longlock situation? On 2020-04-21 11:07, Olaf Frączyk wrote: Hi, When I run sync_client -r on the master I see the following on the replica: Apr 21 10:56:15 skink1 imap[5775]: mailbox: longlock navi.pl!user.olaf for 1.7 seconds Apr 21 10:56:20 skink1 imap[5775]: mailbox: longlock navi.pl!user.piotr for 2.0 seconds Apr 21 10:56:23 skink1 imap[5775]: mailbox: longlock navi.pl!user.olaf for 2.9 seconds Apr 21 10:56:26 skink1 imap[5775]: mailbox: longlock navi.pl!user.piotr for 3.0 seconds The mailboxes have several GB in Inbox folder and several GB in subfolders. The inbox folders have about 20,000 messages, the subfolders upto 15,000 Could it cause problems? the longlock is normaly not the problem. While on process has the lock no other process can write to the mailbox, but on the replica there normaly is no other process that should access the mailbox Maybe I should move the sync_client from START section to SERVICES, it seems that it is not automatically restarted I havend tried starting sync_client in the service section. I start the sync_client via systemd. On 2020-04-21 08:47, Michael Menge wrote: Hi Olaf Quoting Olaf Frączyk : 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 do you see any errors on the syncserver side. The error look like the sync_client is waiting for a reply of the server.
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
Thank you for the telemetry hint :) I don't use the syncserver - the replication is done via IMAP port on the replica side. I have no idea how to have strace spawned by cyrus master process. When I attach later to imapd using strace -p I'm afraid some info already will be lost. The syncserver is marked as deprecated in the docs, so I went with the more modern option. Maybe here is the problem ;) The funny thing is that from time to time the replication progresses a little. I don't like non-repetitive behavior ;) Thanks again for the hints. On 2020-04-21 14:13, Michael Menge wrote: Hi, Quoting Olaf Frączyk : The current situation is: 1. Replica: stopped and started the replica no activity on replica - iotop and top show nothing the only messages on replica is incoming connection from master 2. Master: when I run sync_client -r I still get: Apr 21 12:38:36 ifs sync_client[29518]: Reprocessing sync log file /var/lib/imap/sync/log-run Apr 21 12:43:27 ifs sync_client[29518]: IOERROR: zero length response to MAILBOXES (idle for too long) Apr 21 12:43:27 ifs sync_client[29518]: IOERROR: zero length response to RESTART (idle for too long) Apr 21 12:43:27 ifs sync_client[29518]: Error in do_sync(): bailing out! Bad protocol Apr 21 12:43:27 ifs sync_client[29518]: Processing sync log file /var/lib/imap/sync/log-run failed: Bad protocol 3. There is 27 GB of about 45 GB replicated and there is no further progress 4. How to find out why the replica doesn't respond? You can enable telemetry logging on the replica by creating a folder /var/lib/imap/log/ where is the value of the sync_authname. If you give cyrus write permissions for this folder it will create log-files for each process and what it received and send from/to the sync_client with timestamps. Also you can try to use strace on the syncserver process to figure out which files it is accessing On 2020-04-21 11:18, Olaf Frączyk wrote: I also found out that when I see on master: Apr 21 11:12:38 ifs sync_client[27996]: IOERROR: zero length response to MAILBOXES (idle for too long) Apr 21 11:12:38 ifs sync_client[27996]: IOERROR: zero length response to RESTART (idle for too long) Apr 21 11:12:38 ifs sync_client[27996]: Error in do_sync(): bailing out! Bad protocol Apr 21 11:12:38 ifs sync_client[27996]: Processing sync log file /var/lib/imap/sync/log-run failed: Bad protocol I also get on the replica: Apr 21 11:12:38 skink1 imap[5775]: Connection reset by peer, closing connection But I also see, that before it happens, there is no activity both on the replica and on the master for some time. So maybe the imap server process is not recovering correctly in the longlock situation? On 2020-04-21 11:07, Olaf Frączyk wrote: Hi, When I run sync_client -r on the master I see the following on the replica: Apr 21 10:56:15 skink1 imap[5775]: mailbox: longlock navi.pl!user.olaf for 1.7 seconds Apr 21 10:56:20 skink1 imap[5775]: mailbox: longlock navi.pl!user.piotr for 2.0 seconds Apr 21 10:56:23 skink1 imap[5775]: mailbox: longlock navi.pl!user.olaf for 2.9 seconds Apr 21 10:56:26 skink1 imap[5775]: mailbox: longlock navi.pl!user.piotr for 3.0 seconds The mailboxes have several GB in Inbox folder and several GB in subfolders. The inbox folders have about 20,000 messages, the subfolders upto 15,000 Could it cause problems? the longlock is normaly not the problem. While on process has the lock no other process can write to the mailbox, but on the replica there normaly is no other process that should access the mailbox Maybe I should move the sync_client from START section to SERVICES, it seems that it is not automatically restarted I havend tried starting sync_client in the service section. I start the sync_client via systemd. On 2020-04-21 08:47, Michael Menge wrote: Hi Olaf Quoting Olaf Frączyk : 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 do you see any errors on the syncserver side. The error look like the sync_client is waiting for a reply of the server. M.Menge Tel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
Hi, Quoting Olaf Frączyk : The current situation is: 1. Replica: stopped and started the replica no activity on replica - iotop and top show nothing the only messages on replica is incoming connection from master 2. Master: when I run sync_client -r I still get: Apr 21 12:38:36 ifs sync_client[29518]: Reprocessing sync log file /var/lib/imap/sync/log-run Apr 21 12:43:27 ifs sync_client[29518]: IOERROR: zero length response to MAILBOXES (idle for too long) Apr 21 12:43:27 ifs sync_client[29518]: IOERROR: zero length response to RESTART (idle for too long) Apr 21 12:43:27 ifs sync_client[29518]: Error in do_sync(): bailing out! Bad protocol Apr 21 12:43:27 ifs sync_client[29518]: Processing sync log file /var/lib/imap/sync/log-run failed: Bad protocol 3. There is 27 GB of about 45 GB replicated and there is no further progress 4. How to find out why the replica doesn't respond? You can enable telemetry logging on the replica by creating a folder /var/lib/imap/log/ where is the value of the sync_authname. If you give cyrus write permissions for this folder it will create log-files for each process and what it received and send from/to the sync_client with timestamps. Also you can try to use strace on the syncserver process to figure out which files it is accessing On 2020-04-21 11:18, Olaf Frączyk wrote: I also found out that when I see on master: Apr 21 11:12:38 ifs sync_client[27996]: IOERROR: zero length response to MAILBOXES (idle for too long) Apr 21 11:12:38 ifs sync_client[27996]: IOERROR: zero length response to RESTART (idle for too long) Apr 21 11:12:38 ifs sync_client[27996]: Error in do_sync(): bailing out! Bad protocol Apr 21 11:12:38 ifs sync_client[27996]: Processing sync log file /var/lib/imap/sync/log-run failed: Bad protocol I also get on the replica: Apr 21 11:12:38 skink1 imap[5775]: Connection reset by peer, closing connection But I also see, that before it happens, there is no activity both on the replica and on the master for some time. So maybe the imap server process is not recovering correctly in the longlock situation? On 2020-04-21 11:07, Olaf Frączyk wrote: Hi, When I run sync_client -r on the master I see the following on the replica: Apr 21 10:56:15 skink1 imap[5775]: mailbox: longlock navi.pl!user.olaf for 1.7 seconds Apr 21 10:56:20 skink1 imap[5775]: mailbox: longlock navi.pl!user.piotr for 2.0 seconds Apr 21 10:56:23 skink1 imap[5775]: mailbox: longlock navi.pl!user.olaf for 2.9 seconds Apr 21 10:56:26 skink1 imap[5775]: mailbox: longlock navi.pl!user.piotr for 3.0 seconds The mailboxes have several GB in Inbox folder and several GB in subfolders. The inbox folders have about 20,000 messages, the subfolders upto 15,000 Could it cause problems? the longlock is normaly not the problem. While on process has the lock no other process can write to the mailbox, but on the replica there normaly is no other process that should access the mailbox Maybe I should move the sync_client from START section to SERVICES, it seems that it is not automatically restarted I havend tried starting sync_client in the service section. I start the sync_client via systemd. On 2020-04-21 08:47, Michael Menge wrote: Hi Olaf Quoting Olaf Frączyk : 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 do you see any errors on the syncserver side. The error look like the sync_client is waiting for a reply of the server. M.MengeTel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen 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
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
The current situation is: 1. Replica: stopped and started the replica no activity on replica - iotop and top show nothing the only messages on replica is incoming connection from master 2. Master: when I run sync_client -r I still get: Apr 21 12:38:36 ifs sync_client[29518]: Reprocessing sync log file /var/lib/imap/sync/log-run Apr 21 12:43:27 ifs sync_client[29518]: IOERROR: zero length response to MAILBOXES (idle for too long) Apr 21 12:43:27 ifs sync_client[29518]: IOERROR: zero length response to RESTART (idle for too long) Apr 21 12:43:27 ifs sync_client[29518]: Error in do_sync(): bailing out! Bad protocol Apr 21 12:43:27 ifs sync_client[29518]: Processing sync log file /var/lib/imap/sync/log-run failed: Bad protocol 3. There is 27 GB of about 45 GB replicated and there is no further progress 4. How to find out why the replica doesn't respond? On 2020-04-21 11:18, Olaf Frączyk wrote: I also found out that when I see on master: Apr 21 11:12:38 ifs sync_client[27996]: IOERROR: zero length response to MAILBOXES (idle for too long) Apr 21 11:12:38 ifs sync_client[27996]: IOERROR: zero length response to RESTART (idle for too long) Apr 21 11:12:38 ifs sync_client[27996]: Error in do_sync(): bailing out! Bad protocol Apr 21 11:12:38 ifs sync_client[27996]: Processing sync log file /var/lib/imap/sync/log-run failed: Bad protocol I also get on the replica: Apr 21 11:12:38 skink1 imap[5775]: Connection reset by peer, closing connection But I also see, that before it happens, there is no activity both on the replica and on the master for some time. So maybe the imap server process is not recovering correctly in the longlock situation? On 2020-04-21 11:07, Olaf Frączyk wrote: Hi, When I run sync_client -r on the master I see the following on the replica: Apr 21 10:56:15 skink1 imap[5775]: mailbox: longlock navi.pl!user.olaf for 1.7 seconds Apr 21 10:56:20 skink1 imap[5775]: mailbox: longlock navi.pl!user.piotr for 2.0 seconds Apr 21 10:56:23 skink1 imap[5775]: mailbox: longlock navi.pl!user.olaf for 2.9 seconds Apr 21 10:56:26 skink1 imap[5775]: mailbox: longlock navi.pl!user.piotr for 3.0 seconds The mailboxes have several GB in Inbox folder and several GB in subfolders. The inbox folders have about 20,000 messages, the subfolders upto 15,000 Could it cause problems? Maybe I should move the sync_client from START section to SERVICES, it seems that it is not automatically restarted On 2020-04-21 08:47, Michael Menge wrote: Hi Olaf Quoting Olaf Frączyk : 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 do you see any errors on the syncserver side. The error look like the sync_client is waiting for a reply of the server. M.Menge Tel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen 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 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 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 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
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
I also found out that when I see on master: Apr 21 11:12:38 ifs sync_client[27996]: IOERROR: zero length response to MAILBOXES (idle for too long) Apr 21 11:12:38 ifs sync_client[27996]: IOERROR: zero length response to RESTART (idle for too long) Apr 21 11:12:38 ifs sync_client[27996]: Error in do_sync(): bailing out! Bad protocol Apr 21 11:12:38 ifs sync_client[27996]: Processing sync log file /var/lib/imap/sync/log-run failed: Bad protocol I also get on the replica: Apr 21 11:12:38 skink1 imap[5775]: Connection reset by peer, closing connection But I also see, that before it happens, there is no activity both on the replica and on the master for some time. So maybe the imap server process is not recovering correctly in the longlock situation? On 2020-04-21 11:07, Olaf Frączyk wrote: Hi, When I run sync_client -r on the master I see the following on the replica: Apr 21 10:56:15 skink1 imap[5775]: mailbox: longlock navi.pl!user.olaf for 1.7 seconds Apr 21 10:56:20 skink1 imap[5775]: mailbox: longlock navi.pl!user.piotr for 2.0 seconds Apr 21 10:56:23 skink1 imap[5775]: mailbox: longlock navi.pl!user.olaf for 2.9 seconds Apr 21 10:56:26 skink1 imap[5775]: mailbox: longlock navi.pl!user.piotr for 3.0 seconds The mailboxes have several GB in Inbox folder and several GB in subfolders. The inbox folders have about 20,000 messages, the subfolders upto 15,000 Could it cause problems? Maybe I should move the sync_client from START section to SERVICES, it seems that it is not automatically restarted On 2020-04-21 08:47, Michael Menge wrote: Hi Olaf Quoting Olaf Frączyk : 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 do you see any errors on the syncserver side. The error look like the sync_client is waiting for a reply of the server. M.Menge Tel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen 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 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 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
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
Hi, When I run sync_client -r on the master I see the following on the replica: Apr 21 10:56:15 skink1 imap[5775]: mailbox: longlock navi.pl!user.olaf for 1.7 seconds Apr 21 10:56:20 skink1 imap[5775]: mailbox: longlock navi.pl!user.piotr for 2.0 seconds Apr 21 10:56:23 skink1 imap[5775]: mailbox: longlock navi.pl!user.olaf for 2.9 seconds Apr 21 10:56:26 skink1 imap[5775]: mailbox: longlock navi.pl!user.piotr for 3.0 seconds The mailboxes have several GB in Inbox folder and several GB in subfolders. The inbox folders have about 20,000 messages, the subfolders upto 15,000 Could it cause problems? Maybe I should move the sync_client from START section to SERVICES, it seems that it is not automatically restarted On 2020-04-21 08:47, Michael Menge wrote: Hi Olaf Quoting Olaf Frączyk : 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 do you see any errors on the syncserver side. The error look like the sync_client is waiting for a reply of the server. M.Menge Tel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen 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 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
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
Hi Olaf Quoting Olaf Frączyk : 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 do you see any errors on the syncserver side. The error look like the sync_client is waiting for a reply of the server. M.MengeTel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen 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
Re: Replication failed 3.0.5 -> 3.0.13, now 3.0.13->3.0.13
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= remote= 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= remote= 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= remote= 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= remote= 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= remote= 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= remote= 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= remote= 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 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