1.错误1
日志文件:
rsync on pluginmanager/ from test@unknown
(xx.xx.xx.xx)
building file list
rsync: connection unexpectedly closed (64 bytes received so far)
[sender]
rsync error: error in rsync protocol data stream (code 12) at
io.c(610) [sender=3.0.8]
命令行内容:
receiving incremental file list
rsync: mkdir "/cygwin/e/test" failed: No such file or directory
(2)
rsync error: error in file IO (code 11) at main.c(656)
[Receiver=3.1.1]
解决方法:
在wins中使用rsync同步,目录写法如下:
/cygdrive/d/test --表示d盘中的test文件夹
2.错误2
日志文件:
auth failed on module pluginmanager from unknown (10.8.0.94):
unauthorized user
forward name lookup for LENOVO-PC failed: hostname nor servname
provided, or not known
connect from UNKNOWN (10.8.0.94)
命令行内容:
@ERROR: auth failed on module pluginmanager
rsync error: error starting client-server protocol (code 5) at
main.c(1635) [Rec
eiver=3.1.1]
解决方法:
在服务器端,密码配置文件修改为两行,如下:
password
username:password
(一般情况下,服务器端,密码配置文件只有一行,且为:username:password)
3.错误3
日志文件:
auth failed on module pluginmanager from unknown (10.50.128.8):
unauthorized user
forward name lookup for bogon failed: hostname nor servname
provided, or not known
connect from UNKNOWN (10.50.128.8)
命令行:
@ERROR: auth failed on module pluginmanager
rsync error: error starting client-server protocol (code 5) at
main.c(1635) [Rec
eiver=3.1.1]
解决方法:
rsync --port=873 --progress -vzrtopg --delete test@192.168.1.1::testModul
/mnt
要指定同步的用户名