Re: replication: sync_client on master stops after restarting the replica

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


----
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




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux