amq: 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/sbin/amq - from package: am-utils

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

On Debian possible default full paths are:

/usr/sbin/amq - from package: am-utils

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