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

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