genhash: 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/genhash - from package: keepalived

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

On Debian possible default full paths are:

/usr/bin/genhash - from package: keepalived

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