beam: 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/beam - 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/beam - from package: erlang-base-hipe
/usr/lib/erlang/erts-6.2/bin/beam - from package: erlang-base
/usr/lib/debug/usr/lib/erlang/erts-6.2/bin/beam - from package: erlang-dbg

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