sgml2txt: 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/sgml2txt - from package: linuxdoc-tools

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

On Debian possible default full paths are:

/usr/bin/sgml2txt - from package: linuxdoc-tools

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