Register a domain and help support LQ
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 11-09-2004, 08:36 AM   #1
Registered: Jun 2004
Posts: 126

Rep: Reputation: 15
Unhappy Tomcat 5.0.28 into Fedora Core 2

I just install J2SDK 1.4.2 and tomcat 5.0.28 into the Fedora Core 2; and modified the /etc/profile is like as following:

export JAVA_HOME=/usr/java/j2sdk1.4.2_06
export CATALINA_BASE=/usr/tomcat
export CATALINA_HOME=/usr/tomcat

and reboot the machine; Finally try startup the tomcat "/usr/tomcat/bin/ It prompted:
[root@localhost bin]#
-bash: command not found

How do I fix it? I sure that the Java already installed, coz i check "echo $JAVA_HOME" it shown the path correctly! and type from console "javac" it shown parameter correctly.

Old 11-09-2004, 10:16 AM   #2
Registered: Jul 2003
Distribution: Arch Linux x64
Posts: 115

Rep: Reputation: 15
I think you are trying to run a command which it's not in the system path. So try to run:


to find out where this file is. If you get several options, try to run the full-qualifed one. For this, copy the line with the path and file name and launch it. If you don't get the right output, you might need to update the file's database by running as root:


Afterwards, repeat the first step again.

There should also be possible to restart the service by running (as root):

/sbin/service <name_of_service> start

You can find out the name of the service having a look at /etc/init.d/ directory

I don't know if my help will be useful, but it's the most I can do.

Good luck!
Old 11-09-2004, 10:37 AM   #3
Registered: Jun 2004
Posts: 126

Original Poster
Rep: Reputation: 15
How to know the port 8080 was occupied by another service? coz I try ./ run; it was show the port 8080 was used by another service. How do I know it?

what is the service name for tomcat?

Old 11-09-2004, 10:50 AM   #4
Registered: Jul 2003
Distribution: Arch Linux x64
Posts: 115

Rep: Reputation: 15
Try the following command:

/bin/netstat -puta


/bin/netstat -putan

if you don't want address translation.

Although I'm not absolutely sure, I think the service name for tomcat is 'httpd'.

Good luck!

PD: Can anyone to confirm the last thing?


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
Unable to run Tomcat 5.5.9 on Fedora core 4 tech_j Linux - Software 2 09-04-2005 10:17 AM
Install Tomcat into Fedora Core 2 treotan Fedora 4 11-18-2004 08:33 PM
Fedora Core 2 + Apache + Tomcat + JDBC paulecoyote Linux - Newbie 9 07-27-2004 07:58 PM
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 03:12 PM
Fedora Core 2 - Just days away! Final comments on Fedora Core 1 lrt2003 Fedora 3 05-12-2004 03:09 AM

All times are GMT -5. The time now is 09:47 PM.

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