ansi2html: 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

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/ansi2html - from package: kbtin

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