master / slave replication (sync_server / sync_client)

Martin Schweizer schweizer.martin at gmail.com
Thu Oct 5 05:24:32 EDT 2006


... sorry. I forgott some additional infos:

On the slave side I get in /var/log/debug.log

Oct  5 11:18:22 acsvfbsd04 master[18794]: about to exec
/usr/local/cyrus/bin/sync_server
Oct  5 11:18:22 acsvfbsd04 syncserver[18794]: executed
Oct  5 11:18:22 acsvfbsd04 syncserver[18794]: accepted connection
Oct  5 11:18:22 acsvfbsd04 syncserver[18794]: cmdloop(): startup
Oct  5 11:18:25 acsvfbsd04 syncserver[18794]: accepted connection
Oct  5 11:18:25 acsvfbsd04 syncserver[18794]: cmdloop(): startup
Oct  5 11:19:09 acsvfbsd04 syncserver[18794]: accepted connection
Oct  5 11:19:09 acsvfbsd04 syncserver[18794]: cmdloop(): startup
Oct  5 11:19:12 acsvfbsd04 syncserver[18794]: accepted connection
Oct  5 11:19:12 acsvfbsd04 syncserver[18794]: cmdloop(): startup



while I start sync_client -r -v.

Regards,
Martin

2006/10/5, Martin Schweizer <schweizer.martin at gmail.com>:
> Hello Andy
>
> Telnet to port 2005 works perfect. I also see traffic on the slave
> (destination mail server) with tcpdump. But on the master I get
> (sync_client -r -v):
>
> Can not connect to server 'xxx.xxx.xx', retrying in 15 seconds
> ....
> ....
>
> I also see no entry in /var/log/debug.log for sync_client. Any ideas?
>
> Regards,
> Martin
>
>
>
>
> 2006/10/4, Andy Fiddaman <cyrus at fiddaman.net>:
> >
> >
> > On Wed, 4 Oct 2006, Martin Schweizer wrote:
> >
> > ; Hello Andy
> > ;
> > ; Thank you for the hint. I change it as you desribed.
> > ;
> > ; Now after waiting some time I see no replication on both site. Is the
> > ; firewall the problem (only open 2005/tcp)? Or what do I wrong again?
> > ;
> > ; Regards,
> > ; Martin
> >
> > Try telnet from the master to the slave on port 2005 - this checks that
> > syncserver is running ok (2005 is all you need through the firewall):
> >
> > # telnet slave 2005
> > Trying xx.xxx.xxx.xxx...
> > Connected to slave
> > Escape character is '^]'.
> > * SASL CRAM-MD5
> > * OK mailstore.xxxxxxxxx.xxx Cyrus sync server v2.3.7
> >
> > If it isn't running (connection refused) then make sure you're logging
> > debug messages (local6.debug in syslog.conf) and look to see what's wrong
> > - make sure you put csync in /etc/services
> >
> > Try running sync_client manually on the master with verbose flag:
> > (as your Cyrus user)
> >
> > % sync_client -r -v
> >
> > Hopefully that will give a clue.
> >
> > Andy
> >
> >
>
>
> --
> Martin Schweizer
> schweizer.martin at gmail.com
> Fax: +1 619 3300587
> Tel.: +1 619 3300597 (VoIP)
>


-- 
Martin Schweizer
schweizer.martin at gmail.com
Fax: +1 619 3300587
Tel.: +1 619 3300597 (VoIP)


More information about the Info-cyrus mailing list