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

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