错误一:
- [[email protected] opt]# rsync -avz [email protected]::wwwroot /opt
- @ERROR: access denied to wwwroot from unknown (192.168.7.129)
- rsync error: error starting client-server protocol (code 5) at main.c(1516) [Receiver=3.0.9]
解决办法
检查同步源 rsync 的配置文件 hosts allow 是否开放了目标的 IP 地址段
错误二:
- [[email protected] opt]# rsync -avz [email protected]::wwwroot /opt
- rsync: failed to connect to 192.168.7.128 (192.168.7.128): No route to host (113)
- rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9]
解决办法
检查防火墙规则是否增加了 873 端口, 或者直接关闭防火墙
错误三:
- [[email protected] opt]# rsync -avz [email protected]::wwwroot /opt
- Password:
- @ERROR: auth failed on module wwwroot
- rsync error: error starting client-server protocol (code 5) at main.c(1516) [Receiver=3.0.9]
解决办法
检查同步源 rsync 的配置文件的 secrets file 账号密码文件名或者路径是否异常
来源: http://www.bubuko.com/infodetail-3474839.html