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

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

On Debian possible default full paths are:

/usr/bin/sgml2xml - from package: sp

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