rsync connection/transfer error

Herb Burnswell herbert.burnswell at gmail.com
Mon Oct 24 15:41:17 MDT 2011


Hi All,

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:
rsync version 2.6.8 protocol version 29
rsync -artv rsync://mirrors.usc.edu/centos/5.6/updates/i386/RPMS/--exclude=debug/
/var/www/html/centos/5/updates/i386

Everything works fine for this connection and sync.

I am attempting to do the same sync on a different network which is failing
with the following:

rsync version 2.6.8 protocol version 29, rsync version 3.0.6 protocol
version 30 (both versions fail)
rsync -artvvvv rsync://mirrors.usc.edu/centos/5.6/updates/i386/RPMS/--exclude=debug/
/var/www/html/centos/5/updates/i386

[client] add_rule(- debug/)
opening tcp connection to mirrors.usc.edu port 873
note: iconv_open("UTF-8", "UTF-8") succeeded.
sending daemon args: --server --sender -vvvvlogDtpre.is .
centos/5.6/updates/i386/RPMS/
rsync: read error: Connection reset by peer (104)
_exit_cleanup(code=12, file=io.c, line=759): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(759)
[receiver=3.0.6]
_exit_cleanup(code=12, file=io.c, line=759): about to call exit(12)

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.

Here is the output to the server log:
2011/10/24 11:47:44 [11616] connect from network.failing.com(xxx.xxx.xxx.xxx)
2011/10/24 11:47:44 [11616] rsync: read error: Connection reset by peer
(104)
2011/10/24 11:47:44 [11616] rsync error: error in rsync protocol data stream
(code 12) at io.c(614)
[receiver=2.6.8]

Here is the output from the failing network system:

rsync -artvvvv rsync://rsync.server.com:/var/www/html/centos/5/updates/i386
/var/www/html/centos/5/updates/i386
opening tcp connection to rsync.server.com port 873
note: iconv_open("UTF-8", "UTF-8") succeeded.
sending daemon args: --server --sender -vvvvlogDtpr .
var/www/html/centos/5/updates/i386
rsync: read error: Connection reset by peer (104)
_exit_cleanup(code=12, file=io.c, line=759): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(759)
[receiver=3.0.6]
_exit_cleanup(code=12, file=io.c, line=759): about to call exit(12)

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.

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?

Thanks in advance.

Best regards,

Herb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20111024/9032c61c/attachment.html>


More information about the rsync mailing list