rsync oracle,rsync 数据同步错误及解决方案

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

要指定同步的用户名

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值