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

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

On Debian possible default full paths are:

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

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