- 论坛徽章:
- 0
|
- 1、@ERROR: auth failed on module xxxxx
- rsync: connection unexpectedly closed (90 bytes read so far)
- rsync error: error in rsync protocol data stream (code 12) at io.c(150)
复制代码 A: 这是因为密码设置错了, 无法登入成功, 请再检查一下 rsyncd.pwd ,rsyncd.sec中密码的设置, 看两边是否一致? 有时服务器端没有启动服务也会出现这种情况- 2、password file must not be other-accessible
- continuing without password file
- Password:
复制代码 A: 这表示 rsyncd.pwd rsyncd.sec文件的权限不对,应该设为600
chmod 600 rsyncd.pwd rsyncd.sec- 3、@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)
复制代码 A: 通常是rsyncd.conf 中的path 路径所设的那个目录不存在所致.
先创建(mkdir)需要同步的目录- 4、rsync: failed to connect to 218.107.243.2: No route to host (113)
- rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9]
复制代码 A:对方主机关机;firewall阻挡
service iptables stop- 5、/server/rsync/bin/rsync -vzrutogp –progress –password-file=/etc/rsyncclien
- t.pwd backup@60.173.7.35:backup /var/www/backup
- 出现
-
- backup@60.173.7.6′s password
- Permission denied, please try again.
复制代码 最有可能的情况是,系统没有认出来,你现在的通信是rsync,所以请仔细检查一下上面加红的那句话中ip地址后面是否为两个:也就是说::为rsync通信,:为ssh通信- 6、当/server/rsync/bin/rsync rsync://backup@61.156.238.119/backup时,出现如下
- rsync: link_stat “/.” (in backup) failed: Permission denied (13)
- rsync error: some files could not be transferred (code 23) at main.c(1385) [receiver=2.6.9]
复制代码 解决方法1:
更改你的rsyncd.conf中的
uid=nobody
gid=nobody
为
uid=root
gid=root
解决方法2:
出现这样问题的原因是要同步的这个root目录在掩位的最后一位不是r-x或以上的权限,也就是说root这个目录一定要等于或大于drwxr-xr-x才能玩同
|
|