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

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