Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

not able to rsync, receiving rsync error: error in socket IO (code 10)

Status
Not open for further replies.

Pipeops

MIS
Apr 28, 2008
77
US
I am trying to rsync files from the source server using the following command:

/usr/bin/rsync --verbose --times --partial --recursive --password-file=/etc/rsync.secret --include=* /tmp/directory/ rsync://user@remoteserver:/tmp/directory

I receive the following error:

rsync: failed to connect to emoteserver: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(94)

My firewall logs are telling me the following:
firewall: Invalid transport field for protocol=TCP, from sourceserver/38108 to remoteserver/0

I cannot understand what i am doing wrong. I also disabled all iptables but no luck.

Here is my rsynd.conf file of remoteserver:
#/etc/rsyncd.conf
secrets file = /etc/rsyncd.secrets
max connections = 4
read only = yes
list = no
uid = nobody
gid = nobody

[tmp_directory]
auth users = exa
path = /tmp/directory
transfer logging = no
hosts allow = sourceserver

var/log messages do not see any connections from the source server as well.

Any help is much appreciated! Thanks -Pipeops








 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top