daemon function isn't working in CentOS 6.4

Did you make sure to source the /etc/init.d/functions library in your service's init.d script?

You'd need this in your init.d script:

# Source function library.
. /etc/init.d/functions

If this is already there, can you please post your daemon's start script?


If you are missing the scripts, you can simply (re)install them this should get daemon: command not found issue resolved

yum install -y initscripts

Hope this helps