今天在同步备份文件时遇到一个情况,以前正常的备份,在昨天突然同步备份文件失败了.于是开始检查原因..... 报错日志/var/log/rsyncd.log发现错误 // :: [] auth failed on module backup_www from UNKNOWN (10.0.203.208): unauthorized user // :: [] name lookup failed for 10.0.203.208: Name or service not known // :: […
rsync 报错 "auth failed on module xxx", 一般有三种情况造成: 密码文件格式错误: 服务端密码文件的格式是: user:password 每个一行 密码文件权限错误 密码文件的权限应该是600 rsync 配置错误 主要集中在注释这一块, man 5 rsyncd.conf 有两句话: The file is line-based -- that is, each newline-terminated line represents either a…
1. rsync服务端开启的iptables防火墙/selinux没关 [客户端的错误] No route to host [错误演示过程] [root@nfs01 tmp]# rsync -avz /etc/hosts rsync_backup@172.16.1.41::backup rsync: failed to connect to 172.16.1.41: No route to host () rsync error: error in socket IO (code ) at cl…