ttyplay: 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/ttyplay - from package: ttyrec

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