replication: sync_client on master stops after restarting the replica

Rudy Gevaert Rudy.Gevaert at UGent.be
Mon Oct 13 04:41:58 EDT 2014




On 09/27/14 10:59, Marcus Schopen wrote:
> Hi,
>
> always when I have to reboot the replica or its cyrus the
> synchronization on master side stops, /var/lib/cyrus/sync/log fills up
> and I don't see a "/usr/lib/cyrus/bin/sync_client -r" process anymore.
>
> /var/log/mail.err on master when restarting replica:
>
> Sep 27 10:06:28 master cyrus/sync_client[1023]: Error in do_sync():
> bailing out! Bad protocol
> Sep 27 10:06:28 master cyrus/sync_client[1023]: Processing sync log
> file /var/lib/cyrus/sync/log-1023 failed: Bad protocol
>
> When I restart cyrus on master side, synchronization starts again.
>
> Is there another way to get synchronization working again?

I have added this in EVENTS { }

synccheck	cmd="/usr/share/cyrus-ugent/cyrus-synccheck -i mail1 -v 
cyrus-2.4.17" period=10


Where /usr/share/cyrus-ugent/cyrus-synccheck is a script that  checks if 
sync_client is running.  If not, it start it




More information about the Info-cyrus mailing list