rabbitmq-env: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/lib/rabbitmq/bin/rabbitmq-env - from package: rabbitmq-server
/usr/lib/rabbitmq/lib/rabbitmq_server-3.1.5/sbin/rabbitmq-env - from package: rabbitmq-server

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/lib/rabbitmq/bin/rabbitmq-env - from package: rabbitmq-server
/usr/lib/rabbitmq/lib/rabbitmq_server-3.3.5/sbin/rabbitmq-env - from package: rabbitmq-server

You may install the required package with command apt-get install {package}
Error in other languages:
rabbitmq-env: bevel nie gevind nie
rabbitmq-env: comandă negăsită
rabbitmq-env: comando não encontrado
rabbitmq-env: commande introuvable
rabbitmq-env: command not found
rabbitmq-env: käsku ei ole
rabbitmq-env: không tìm thấy lệnh
rabbitmq-env: komanda nerasta
rabbitmq-env: Kommando nicht gefunden.
rabbitmq-env: kommandot finns inte
rabbitmq-env: komut yok
rabbitmq-env: nie znaleziono polecenia
rabbitmq-env: níor aimsíodh an t-ordú
rabbitmq-env: no se encontró la orden
rabbitmq-env: no s'ha trobat l'ordre
rabbitmq-env: opdracht niet gevonden
rabbitmq-env: parancs nem található
rabbitmq-env: perintah tidak ditemukan
rabbitmq-env: príkaz nenájdený
rabbitmq-env: příkaz nenalezen
rabbitmq-env: команда не найдена
rabbitmq-env: командата не е открита
rabbitmq-env: 命令找不到
rabbitmq-env: コマンドが見つかりません