gtnameserv-4.8: 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/gtnameserv-4.8 - from package: gcj-4.8-jre-headless

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