Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-15-2004, 11:51 AM   #1
LQ Newbie
Registered: Sep 2003
Distribution: RedHat Enterprise WS 2.1
Posts: 4

Rep: Reputation: 0
Question Running Tomcat4 at Boot?


I've got RedHat Enterprise WS 2.1 running Apache 1.3.x and Tomcat 4.x. I've got the httpd service starting automatically at boot-time, so my Apache server serves up content without any problem.

But, in order to get my Tomcat4 stuff to work, I need to first go to my tomcat4 directory (in my case, it's /usr/local/tomcat/bin) and then do a sh which runs the script that launches Tomcat4.

I've tried putting this file inside of my /etc/init.d directory, but when the machine boots up, it seems that Tomcat4 still doesn't launch.

I was thinking that this is because is a script file and not an actual program. So, I tried making a symbolic link to the file inside the /etc/init.d directory. Making the link worked, but Tomcat4 didn't launch when I restarted the box.

Is there a special way to get a script file to automatically run from within the /etc/init.d directory?

Old 01-16-2004, 12:20 AM   #2
LQ Newbie
Registered: Aug 2003
Location: New York
Distribution: RH9/Sco
Posts: 8

Rep: Reputation: 0
on my redhat system (9.0), there is a really cool file called /etc/rc.d/rc.local

that i mod to start certain scripts at boot time (vsftpd binary, my firewall, etc).

try putting the line in there and test it out!!!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat4 and Apache2 rlkiddjr Linux - Software 2 09-04-2003 01:13 PM
MOD_JK2 with TOMCAT4.1.24-Apache2 awedaylong Linux - Networking 2 07-29-2003 12:18 PM
Tomcat4 installation on RedHat 8.0? mikeshn Linux - Software 5 02-23-2003 11:15 PM
A Linux distro of Tomcat4? JMCraig Linux - Software 1 02-17-2003 06:15 PM
tomcat4 on OpenBSD neo77777 *BSD 1 06-19-2002 03:08 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration