hetinit: 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/bin/hetinit - from package: hercules

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

On Debian possible default full paths are:

/usr/bin/hetinit - from package: hercules

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