[SunHELP] Problem starting application automatically during boot-up.

Dieter Montanez dietermontanez at bellsouth.net
Mon Jun 6 17:01:07 CDT 2005


why don't you make a 

touch /var/tmp/something

in the script so you know it was executed after init 3 is trhough 
and do not rely on "ps" just in case whatever you started isn't 
alive anymore. 

regards

Dieter



-----Original Message-----
From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org]On
Behalf Of Yazid
Sent: Monday, June 06, 2005 8:12 AM
To: The SunHELP List
Subject: [SunHELP] Problem starting application automatically during
boot-up.


Hello,
I have created a startup script for MQ Series and named it
/etc/rc3.d/S99mqm.  The script is just a simple bourne shell script
and we have no problem starting the application manually by invoking
the script (./S99mqm start).
But, the MQ processes won't get started automatically during system
boot-up ( or they probably died just before I do ps -ef).
I know that the script do get executed during boot-up and the script
syntax/permission is correct.
I have boot-up to single user, do "init 2", then excute all the
startup scripts under /etc/rc3.d in sequence, and the scripts works.

If you guys have any ideas on what went wrong .... or how to
troubleshoot this problem, please let me know..

Regards,
--yazid
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list