1、failed to create pid file /var/run/rsyncd.pid: File exists

使用rm /var/run/rsyncd.pid
再重新启动Rsync服务
rsync --daemon --config=/etc/rsyncd.conf

2、rsync: failed to connect to 10.10.10.170: Connection refused (111)

rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5] 
启动服务:rsync --daemon --config=/etc/rsyncd.conf

3、rsync: failed to connect to 203.100.192.66: Connection timed out (110)

rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5] 
可能是防火墙开启 导致无法通信,可以设置规则放行 873端口或者直接关闭防火墙。

4、@ERROR: chroot failed

rsync: connection unexpectedly closed (75 bytes read so far) 
rsync error: error in rsync protocol data stream (code 12) at io.c(150) 
rsync.conf 中设置的 path 路径不存在,要新建目录

« 返回