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