Daemon doesn't start at boot - how can I debug this?
Solution 1:
Try searching through dmesg, /var/log/messages and /var/log/syslog whyc is it happening so but there is a workaround:
1) Try running chkconfig newrelic-daemon on
2) If (1) doesn't help, try forcing the start by adding /etc/init.d/newrelic-daemon restart
to /etc/rc.local, this should be placed there before any exit
statement in /etc/rc.local
Solution 2:
I'd try running this manually with debug setting, as you know the argument to the program will be 'start'. Using 'restart' may execute a path that works.
I'd first try:
sh -vx /etc/init.d/newrelic-daemon start
And go through the output and see if it is working right.
Then you can do through and to the chkconfig.
As there are other newer startup processes, you should describe which Linux you are running. This can usually be done by executing the command
cat /etc/*release.