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

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