gnuattach.emacs: 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/gnuattach.emacs - from package: gnuserv

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