genkey: 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/genkey - from package: crypto-utils

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