We help IT Professionals succeed at work.
Get Started

Adding scripts to  boot sequence in Linux

atorex
atorex asked
on
413 Views
Last Modified: 2012-05-12
I need some help from a Linux expert perhaps SUSE Linux expert, I have a system that Im trying to get 2 applications to auto start in run level 3 and 5.

the OS is Suse Linux Enterprise 11 with SP1, the applications  I want to run are
Tomcat and a Java application.
the 2 applications are in the /opt/mydir directory, they each have a start script that work if i execute them from within the directory.
I have created a script that will execute the 2 startup scripts and placed them in /etc/init.d/
I created an S09 and a K01for linked to the tomcat start script in rc3.d and rc5.d, my issue is that if I execute the  S09 script tomcat starts however rebooting the system does not start the apps.
I really need help with this one have tried several times but cant seam to get it to run, I have both Gnome and KDE versions of the desktop manager same issue with both.
if anyone know what I'm doing wrong or perhaps whats the correct way of doing this I would be forever in your dept.  
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 26 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE