免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6116 | 回复: 4
打印 上一主题 下一主题

rsync error: partial transfer (code 23) at main.c(576) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-07 17:10 |只看该作者 |倒序浏览
rsync时出现了问题,明明已经传了上去,但提示还是有错误。如下:

当要rsync的东西在对方机子存在的时候:

  1. root@dell2650[regbook]$ /usr/local/bin/rsync -avzrtopg --progress /data1/test module@ip::regbook --password-file=/home/regbook/module/common/password
  2. password file must be owned by root when running as root
  3. continuing without password file
  4. Password:
  5. rsync: building file list...
  6. rsync: 3 files to consider.
  7. wrote 174 bytes  read 81 bytes  72.86 bytes/sec
  8. total size is 32  speedup is 0.13
  9. rsync error: partial transfer (code 23) at main.c(576)
复制代码


当要rsync的东西在对方机子还不存在的时候:

  1. root@dell2650[regbook]$ /usr/local/bin/rsync -avzrtopg --progress /data1/test module@ip::regbook --password-file=/home/regbook/module/common/password
  2. password file must be owned by root when running as root
  3. continuing without password file
  4. Password:
  5. rsync: building file list...
  6. rsync: 3 files to consider.
  7. test/allow
  8. test/in.txt
  9.           32 100%    0.00kB/s    0:00:00
  10. wrote 276 bytes  read 113 bytes  86.44 bytes/sec
  11. total size is 32  speedup is 0.08
  12. rsync error: partial transfer (code 23) at main.c(576)
复制代码


两个都有“rsync error: partial transfer (code 23) at main.c(576)

使用php的system函数去调用执行命令的语句时,返回的显示语句执行成功了!

很是奇怪,这个是怎么回事呢?

论坛徽章:
0
2 [报告]
发表于 2008-01-09 13:06 |只看该作者
顶一下

问题还没解决

论坛徽章:
0
3 [报告]
发表于 2008-01-09 13:16 |只看该作者
加上 --partial 参数看一下

论坛徽章:
0
4 [报告]
发表于 2008-01-15 11:12 |只看该作者
原帖由 ailms 于 2008-1-9 13:16 发表
加上 --partial 参数看一下


谢谢回答
很遗憾,没看出有什么不同、、、、、


root@dell2650[shengting]$ /usr/local/bin/rsync -avzrtopg --progress /data1/test module@ip::regbook --password-file=/home/regbook/module/common/password         
password file must be owned by root when running as root
continuing without password file
Password:
rsync: building file list...
rsync: 3 files to consider.
wrote 174 bytes  read 81 bytes  39.23 bytes/sec
total size is 32  speedup is 0.13
rsync error: partial transfer (code 23) at main.c(576)
root@dell2650[shengting]$
root@dell2650[shengting]$
root@dell2650[shengting]$ /usr/local/bin/rsync -avzrtopg --progress --partial /data1/test module@ip::regbook --password-file=/home/regbook/module/common/password  
password file must be owned by root when running as root
continuing without password file
Password:
rsync: building file list...
rsync: 3 files to consider.
wrote 184 bytes  read 81 bytes  58.89 bytes/sec
total size is 32  speedup is 0.12
rsync error: partial transfer (code 23) at main.c(576)

论坛徽章:
0
5 [报告]
发表于 2011-06-23 17:43 |只看该作者
搂主你好,
请问这个问题最后解决了没有?
因为我也遇到了相同的问题了,苦寻无果。

不过怀疑是不是permition的原因呢?
不用module同期,用root同期的话,能解决呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP