bash: rsync: command not found报错原因以及解决办法
2017-06-24 11:50
686 查看
原文地址:http://www.21yunwei.com/archives/5184
从一个内网机器往线上一个新服务器1.2.3.4(代替)推送数据,发现无法推送,报如下错误:
[root@network ~]$/usr/bin/rsync -avz -P -e ssh test.txt 1.2.3.4:/home/wwwroot/test
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(600) [sender=3.0.6]
报错原因:
线上的新服务器没有安装rsync导致。
解决办法:
新服务器(目标服务器)执行命令 yum install rsync -y 问题解决。
从一个内网机器往线上一个新服务器1.2.3.4(代替)推送数据,发现无法推送,报如下错误:
[root@network ~]$/usr/bin/rsync -avz -P -e ssh test.txt 1.2.3.4:/home/wwwroot/test
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(600) [sender=3.0.6]
报错原因:
线上的新服务器没有安装rsync导致。
解决办法:
新服务器(目标服务器)执行命令 yum install rsync -y 问题解决。
相关文章推荐
- bash: rsync: command not found报错原因以及解决办法
- bash: rsync: command not found报错原因以及解决办法
- bash: scp: command not found的原因及解决办法
- bash: ifconfig: command not found 解决办法
- bash: XXXXX: command not found 解决办法
- Linux命令行报bash:.....:command not found的解决办法
- linux下-bash: ***: command not found解决办法
- -bash: mysql: command not found 解决办法
- Centos提示-bash: make: command not found的解决办法
- bash: ifconfig: command not found 解决办法
- bash: ifconfig: command not found 解决办法
- bash:fdisk:command not found 解决办法
- 安装NDK:Cygwin中出现-bash: $'\r': command not found 错误 的解决办法
- centos 下bash: adb: command not found解决办法
- bash: ifconfig: command not found 解决办法
- bash: ifconfig: command not found 解决办法
- -bash: mysql: command not found 解决办法
- linux系统中shell中执行命令是报:bash: ifconfig: command not found错误的解决办法
- bash: command not found 解决办法
- yum故障最终解决办法.移魂版 bash:yum:command not found