Solved

What is the webserver working in my linux machine ?

Posted on 2008-06-19
18
227 Views
Last Modified: 2012-05-05
What is the webserver working in my linux machine ?

i suspect tomcat,apache,mongrel .. how to find that?
0
Comment
Question by:jaisonshereen
  • 8
  • 5
  • 3
  • +1
18 Comments
 
LVL 12

Expert Comment

by:alikaz3
Comment Utility
Try navigating to a page that doesn't exist. If you don't have an error page defined, the server type should be listed there.
0
 

Author Comment

by:jaisonshereen
Comment Utility
Please find the error ..what server this is ?

error.JPG
0
 
LVL 12

Accepted Solution

by:
alikaz3 earned 200 total points
Comment Utility
AHA!
Linux         Apache/2.2.3 (CentOS)         19-Jun-2008         74.86.139.56         SoftLayer Technologies Inc.


and I got that from:
http://www.salescart.com/products1/netcraft.htm
0
 

Author Comment

by:jaisonshereen
Comment Utility

what is this mean?

i have mongrel running ...so is this nothing related to mongrel ?


as per above only apache is webnserver.. no tomcat ?

and where is the dynamic part?
0
 
LVL 12

Expert Comment

by:alikaz3
Comment Utility
Your site is hosted with Apache, but that doesn't mean there aren't other server processes running... and what do you mean about "dynamic part"?
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
look into apache configuration files
0
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
Do you have command line access?  If so, do

rpm -qa|grep -i tomcat
0
 

Author Comment

by:jaisonshereen
Comment Utility
Below is the result :

rpm -qa|grep -i tomcat
tomcat5-servlet-2.4-api-5.5.23-0jpp.3.0.2.el5
tomcat5-jsp-2.0-api-5.5.23-0jpp.3.0.2.el5
0
 
LVL 48

Assisted Solution

by:Tintin
Tintin earned 150 total points
Comment Utility
OK, tomcat is installed on your server.  As to whether it is running depends on your Apache/tomcat configuration.

0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:jaisonshereen
Comment Utility
But see this :


[root@server monit-5.0-beta1]# ps -ef | grep tomcat
root     31497 21789  0 21:13 pts/1    00:00:00 grep tomcat
[root@server monit-5.0-beta1]#

0
 

Author Comment

by:jaisonshereen
Comment Utility
its not running where i need to stop and start  ?
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Please post output of "uname -a" and content of /etc/issue file. There is no generic restart what for linux.
0
 

Author Comment

by:jaisonshereen
Comment Utility
[root@Server01 ~]# uname -a
Linux Server01 2.6.18-53.el5 #1 SMP Mon Nov 12 02:22:48 EST 2007 i686 i686 i386 GNU/Linux
[root@Server01 ~]#
[root@Server01 ~]# cat /etc/issue
CentOS release 5 (Final)
Kernel \r on an \m
[root@Server01~]#
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
chkconfig --list
chkconfig tomcat on
/etc/init.d/tomcat restart
0
 

Author Comment

by:jaisonshereen
Comment Utility
tomcat is not listed in my init.d
0
 
LVL 61

Assisted Solution

by:gheist
gheist earned 150 total points
Comment Utility
Irreleavant to initial question.... Apache runs on your system and that answers your question.
0
 

Author Comment

by:jaisonshereen
Comment Utility
gheist: You mean only apache is running in my server...no mongrel and tomcat ?
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Thats it. Apache is running. There is no tomcat startup script, so you can launch catalina.sh from /etc/rc.local or something like that. On the other hand SLED, RHEL or whitebox are better instrumented in regard to java.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now