Hi,
Our company has designed a daemon that I would need to program to start on a reboot (in runlevel 5). I've created a daemon script for the same (which looks like all other daemon scripts.....the standard ones which accept start|stop|status|restart) and created symbolic links in rc5.d.
The problem is that the daemon seems to start on reboot but gets killed sometime shortly later. When I reboot and do a 'ps -ef' I don't see the process running. /var/log/boot.log shows that an attempt was made to start the daemon and the message was "Started successfully".
It starts alright when I manually issue a "/etc/rc5.d/<script> start" but the funny thing I described above seems to happen after every reboot.
Anyone faced anything like this before? Any ideas on how to investigate further? Thanks for ur time and help in advance!
-Amazator
Our company has designed a daemon that I would need to program to start on a reboot (in runlevel 5). I've created a daemon script for the same (which looks like all other daemon scripts.....the standard ones which accept start|stop|status|restart) and created symbolic links in rc5.d.
The problem is that the daemon seems to start on reboot but gets killed sometime shortly later. When I reboot and do a 'ps -ef' I don't see the process running. /var/log/boot.log shows that an attempt was made to start the daemon and the message was "Started successfully".
It starts alright when I manually issue a "/etc/rc5.d/<script> start" but the funny thing I described above seems to happen after every reboot.
Anyone faced anything like this before? Any ideas on how to investigate further? Thanks for ur time and help in advance!
-Amazator