nanny: 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/nanny - from package: piranha

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