debiandoc2dvi: 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/debiandoc2dvi - from package: debiandoc-sgml

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