Rsync常见问题及解决办法
错误一
password file must not be other-accessible
continuing without password file
Password:
解决方法:1、检查rsync客户端路径填写是否正确
2、检查目录权限设置是否正确
3、客户端和服务端的密码文件权限是否正确
错误二
@ERROR: Unknown module ‘bak’
rsync error: error starting client-server protocol (code 5) at main.c(1522) [receiver= 3.0.3]
解决方法:检查服务端配置文件的模块名称是否与客户端命令输入的一致
错误三
rsync: failed to connect to 10.10.10.10: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.6]
解决方法:1、检查服务端服务的状态,ps -aux | grep rsync
2、检查防火墙配置,873端口 iptables -A INPUT -p tcp –dport 873 -j ACCEPT
错误四
@ERROR: access denied to gmz88down from unknown (10.10.10.10)
rsync error: error starting client-server protocol (code 5)