runcgi.sh: 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/lib/inets-5.7.1/priv/bin/runcgi.sh - from package: erlang-inets

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

On Debian possible default full paths are:

/usr/lib/erlang/lib/inets-5.10.3/priv/bin/runcgi.sh - from package: erlang-inets

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