rc3.d startup scripts failing

From: Kevin Jones <Kevin.Jones_at_compelsolve.co.uk>
Date: Wed, 22 Sep 1999 23:29:21 +0100

Hello once again managers,

I have searched the archives on this one, but I have not found a definitive
answer.

I have recently installed collect and up until now I have been starting the
data collector manually. I am keen to have this start automatically, and to
this end I have written a script which starts and stops the data collector
cleanly.

Now the problem, I have copied this script to /sbin/init.d and linked it to
/sbin/rc3.d/S99collect. According to the console the script appears to
start, but then when I log in when the system is fully up the collector is
not running. If I run ' /sbin/rc3.d/S99collect start ' everything starts up
fine.
I searched the archives of this list and found references to adding a
'nohup' and a 'sleep' to the script. So I now have in the start part of the
script a :

'start')
        echo " Starting Collect "
        nohup /usr/bin/collect -f /data/collect/`date +"%d-%b-%H:%M"`
        sleep 15
;;
But still this fails.
Am I missing something obvious ??

Regards

Kevin Jones

-------------------------------------------------------------------
Standard Email disclaimer follows for legal reasons....

The information in this e-mail is confidential and is intended for the
addressee only. Copying or use by anybody else is not authorised. Its
content does not necessarily represent the opinion of Hamilton Rentals
PLC (part of Compel Group) or any of its affiliates. If you are not the
intended recipient, please advise the sender by return e-mail.

This email was scanned for over 40,000 known viruses by
kerberos.hamilton.co.uk. It was deemed clean for transmission.
--------------------------------------------------------------------
Received on Wed Sep 22 1999 - 22:34:51 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT