Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-05-2007, 04:22 PM   #1
LQ Newbie
Registered: Jun 2007
Posts: 28

Rep: Reputation: 15
Command to check the apache and tomcat versions

Hi ,

Which command i need to use to check the apache and tomcat versions running on the server

Old 09-05-2007, 08:06 PM   #2
Registered: Mar 2007
Location: Bedford, Texas
Posts: 31

Rep: Reputation: 15
For httpd use the following command:

httpd status

the version number will be part of the output.

For Tomcat:

You should be able to find this in the log called 'catalina.out'.
Alternatively, you can go right to the source; open
$TOMCAT_HOME/server/lib/catalina.jar in a tool capable of handling zip
or jar files, and read the file called

That last bit is not guaranteed to work across multiple versions,
Old 09-06-2007, 12:15 PM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
To check the version of httpd, you can also run
#httpd -v


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
apache-tomcat and jakarta-tomcat shifter Programming 1 07-28-2007 10:36 PM
Apache 2.2.0 and Apache-Tomcat 5.5.17, how can i connect them? Ukitake Fedora 1 06-04-2006 08:25 AM
Apache/tomcat/webapps: Invalid command 'WebAppDeploy' (and WebAppInfo) jeroenvrp Debian 2 10-18-2004 02:07 AM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 09:47 PM
Dependency check on old rpm versions marlaina1 Linux - General 2 05-02-2002 03:16 PM

All times are GMT -5. The time now is 08:46 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