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

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