今天从一台centos4的server上同步一台freebsd server的数据, 使用的rsync
结果报错如下:
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: remote command not found (code 127) at io.c(635) [sender=3.0.2]
一开始很苦恼, 想着这机器明显是安装有rsync, 怎么能说"rsync: command not found"呢??
后来google了半天, 也没有发现什么头绪, 知道我觉得freebsd机器上也应该有rsync, 于是pkg_add -r rsync
结果自然就好了, 其实就是因为远程服务器上上没有安装rsync造成的, 他们之间使用rsync通讯需要自己的一些认证, 安装了自然就好啦
欢迎转载本文,请注明来自:http://www.linuxsense.org
TAG: rsync bash: rsync: command not found
发布: 2008-7-03 01:43 作者: admin 来源: 本站原创 查看: 21次

最新评论
删除 Guest (2008-8-04 17:56:45, 评分: 5 )