astcanary: 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/astcanary - from package: asterisk

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

On Debian possible default full paths are:

/usr/sbin/astcanary - from package: asterisk
/usr/lib/debug/usr/sbin/astcanary - from package: asterisk-dbg

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