rsync的两个错误及解决方法,供大家参考。
1.
building file list ...
rsync: pop_dir "/root" failed: Permission denied (13)
rsync error: errors selecting input/output files, dirs (code 3) at flist.c(1314) [sender=2.6.8]
原因:无法在当前目录产生临时文件。
觖决:cd /tmp/ ,然后执行。
2.
rsync: failed to connect to 1.2.3.4: No route to host (113)
rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9]
解决:关闭防火墙,tcp udp 的873端口来回传输数据的畅通。