amqp-declare-queue: 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

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-declare-queue - 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-declare-queue - from package: amqp-tools

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