• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

What is the webserver working in my linux machine ?

What is the webserver working in my linux machine ?

i suspect tomcat,apache,mongrel .. how to find that?
0
jaisonshereen
Asked:
jaisonshereen
  • 8
  • 5
  • 3
  • +1
3 Solutions
 
alikaz3Commented:
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
 
jaisonshereenAuthor Commented:
Please find the error ..what server this is ?

error.JPG
0
 
alikaz3Commented:
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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
jaisonshereenAuthor Commented:

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
 
alikaz3Commented:
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
 
gheistCommented:
look into apache configuration files
0
 
TintinCommented:
Do you have command line access?  If so, do

rpm -qa|grep -i tomcat
0
 
jaisonshereenAuthor Commented:
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
 
TintinCommented:
OK, tomcat is installed on your server.  As to whether it is running depends on your Apache/tomcat configuration.

0
 
jaisonshereenAuthor Commented:
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
 
jaisonshereenAuthor Commented:
its not running where i need to stop and start  ?
0
 
gheistCommented:
Please post output of "uname -a" and content of /etc/issue file. There is no generic restart what for linux.
0
 
jaisonshereenAuthor Commented:
[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
 
gheistCommented:
chkconfig --list
chkconfig tomcat on
/etc/init.d/tomcat restart
0
 
jaisonshereenAuthor Commented:
tomcat is not listed in my init.d
0
 
gheistCommented:
Irreleavant to initial question.... Apache runs on your system and that answers your question.
0
 
jaisonshereenAuthor Commented:
gheist: You mean only apache is running in my server...no mongrel and tomcat ?
0
 
gheistCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 8
  • 5
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now