yaz-ztest: 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/yaz-ztest - from package: yaz

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

On Debian possible default full paths are:

/usr/bin/yaz-ztest - from package: yaz

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