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

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