script: 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/script - 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/script - from package: bsdutils

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