<font size="2">
<p>Hi All,</p>
<p>I am somewhat new to rsync and am looking for some guidance. I've been using it successfully for a couple months syncing CentOS updates from a university mirror with the following specs:</p>
<div>rsync version 2.6.8 protocol version 29</div>
<div>rsync -artv rsync://<a href="http://mirrors.usc.edu/centos/5.6/updates/i386/RPMS/">mirrors.usc.edu/centos/5.6/updates/i386/RPMS/</a> --exclude=debug/ /var/www/html/centos/5/updates/i386</div>
<p>Everything works fine for this connection and sync.</p></font><font lang="ZH-CN" size="2" face="SimSun"><font lang="ZH-CN" size="2" face="SimSun">
<div> </div>
<div>I am attempting to do the same sync on a different network which is failing with the following:</div>
<div> </div>
<div>rsync version 2.6.8 protocol version 29, rsync version 3.0.6 protocol version 30 (both versions fail)</div>
<div>rsync -artvvvv rsync://<a href="http://mirrors.usc.edu/centos/5.6/updates/i386/RPMS/">mirrors.usc.edu/centos/5.6/updates/i386/RPMS/</a> --exclude=debug/ /var/www/html/centos/5/updates/i386</div>
<p></p>
<div>[client] add_rule(- debug/)</div>
<div>opening tcp connection to <a href="http://mirrors.usc.edu">mirrors.usc.edu</a> port 873</div>
<div>note: iconv_open("UTF-8", "UTF-8") succeeded.</div>
<div>sending daemon args: --server --sender -vvvvlogDtpre.is . centos/5.6/updates/i386/RPMS/</div>
<div>rsync: read error: Connection reset by peer (104)</div>
<div>_exit_cleanup(code=12, file=io.c, line=759): entered</div>
<div>rsync error: error in rsync protocol data stream (code 12) at io.c(759) [receiver=3.0.6]</div>
<div>_exit_cleanup(code=12, file=io.c, line=759): about to call exit(12)</div>
<p></p>
<p>I have searched quite a bit on the errors and have not found anything helpful as of yet. I set up an rsync server running rsyncd to attempt connection from this network. </p>
<p>Here is the output to the server log:</p>
<div>2011/10/24 11:47:44 [11616] connect from <a href="http://network.failing.com">network.failing.com</a> (xxx.xxx.xxx.xxx)</div>
<div>2011/10/24 11:47:44 [11616] rsync: read error: Connection reset by peer (104)</div>
<div>2011/10/24 11:47:44 [11616] rsync error: error in rsync protocol data stream (code 12) at io.c(614)</div>
<div>[receiver=2.6.8]</div>
<div> </div>
<div>Here is the output from the failing network system:</div>
<div> </div>
<div>rsync -artvvvv rsync://rsync.server.com:/var/www/html/centos/5/updates/i386 /var/www/html/centos/5/updates/i386</div>
<div>opening tcp connection to <a href="http://rsync.server.com">rsync.server.com</a> port 873</div>
<div>note: iconv_open("UTF-8", "UTF-8") succeeded.</div>
<div>sending daemon args: --server --sender -vvvvlogDtpr . var/www/html/centos/5/updates/i386</div>
<div>rsync: read error: Connection reset by peer (104)</div>
<div>_exit_cleanup(code=12, file=io.c, line=759): entered</div>
<div>rsync error: error in rsync protocol data stream (code 12) at io.c(759) [receiver=3.0.6]</div>
<div>_exit_cleanup(code=12, file=io.c, line=759): about to call exit(12)</div>
<p></p>
<p>My suspicion is that it might be a firewall issue (network, not local system) but I don't handle the network firewall on this network. I asked them to open 873 tcp/udp to the machine and they say it is done so. Prior to the change the rsync attempt just hung and timed out.</p>

<p>Any suggestions to trouble-shoot the issue would be greatly appreciated. I am kinda stuck on what to try next. Are there some test I can run to pinpoint the problem?</p>
<p>Thanks in advance.</p>
<p>Best regards,</p>
<p>Herb</p></font></font>