The rsync package is installed, and the prompt: bash: rsync: command not found

  linux, question

Hello, rsync package is installed. There are /etc/profile and environment variables configured:
/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
Used: source /etc/profile
A soft connection was established under /usr/bin.
Re-execute: rsync or prompt
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]

You this should be a remote command didn’t find itrsync error: remote command not found, rsync should have both ends when executingrsyncOrders.