genhomedircon: 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/sbin/genhomedircon - from package: policycoreutils

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

On Debian possible default full paths are:

/usr/sbin/genhomedircon - from package: policycoreutils

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