escript: 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/escript - from package: erlang-erts
/usr/lib64/erlang/bin/escript - from package: erlang-erts
/usr/lib64/erlang/erts-5.8.5/bin/escript - from package: erlang-erts

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

On Debian possible default full paths are:

/usr/bin/escript - from package: erlang-base-hipe
/usr/lib/erlang/bin/escript - from package: erlang-base-hipe
/usr/lib/erlang/erts-6.2/bin/escript - from package: erlang-base-hipe
/usr/bin/escript - from package: erlang-base
/usr/lib/erlang/bin/escript - from package: erlang-base
/usr/lib/erlang/erts-6.2/bin/escript - from package: erlang-base
/usr/lib/debug/usr/lib/erlang/bin/escript - from package: erlang-dbg
/usr/lib/debug/usr/lib/erlang/erts-6.2/bin/escript - from package: erlang-dbg

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