replication: sync_client on master stops after restarting the replica
Marcus Schopen
lists at localguru.de
Tue Oct 14 16:28:24 EDT 2014
Hi Rudy,
Am Montag, den 13.10.2014, 10:41 +0200 schrieb Rudy Gevaert:
>
>
> 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
Thanks, what a great idea.
Is it this script?
https://github.com/rgevaert/cyrus-ugent/blob/master/src/cyrus-synccheck
Ciao!
Marcus
More information about the Info-cyrus
mailing list