linux - 安装了rsync包,执行时还是提示:bash: rsync: command not found
阿神
阿神 2017-04-17 16:30:18
0
1
706

您好,安装了rsync包.有/etc/profile也配置了环境变量:
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/mysql/bin:/usr/local/memcached/bin:/root/bin:/usr/local/mysql/bin:/usr/local/memcached/bin:/usr/local/rsync/bin
用了:source /etc/profile
在/usr/bin下建立了软连.
再执行: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(226) [sender=3.1.2]

阿神
阿神

闭关修行中......

répondre à tous(1)
黄舟

你这个应该是远端命令没找到rsync error: remote command not found,rsync执行的时候两端都要有rsync命令。

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!