ams: 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 Debian possible default full paths are:

/usr/bin/ams - from package: ams

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