On Sun, 05 Dec 2010 10:50:53 -0500, Robert Spangler wrote:
On Friday 03 December 2010 19:30, Michael D. Berger wrote:
[...]
Check /etc/rc.d/rc6.d and insure that you have K??yourscriptname in there. It looks like your script demon was setup to be run but was never properly setup to be shut down. When shutting down the system the system is switched to run level 6.
The correct K link does appear in /etc/rc.d/rc6.d . I wrote a "stop" script that stops my daemon, does sleep 5, and then calls shutdown (or reboot). I don't like this kluge, but it does work. Could it be that my daemon stop procedure is too slow or complex for shutdown? The TERM code does send stop messages to and join several threads, which in turn do the same to nested threads. Each thread does some stop logging, among other things.
Mike.