scriptreplay: 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/scriptreplay - from package: util-linux-ng

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

On Debian possible default full paths are:

/usr/bin/scriptreplay - from package: bsdutils

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