amqp-publish: 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/bin/amqp-publish - from package: librabbitmq-tools

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

On Debian possible default full paths are:

/usr/bin/amqp-publish - from package: amqp-tools

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