Solved

What is the webserver working in my linux machine ?

Posted on 2008-06-19
18
247 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
ID: 21823997
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
ID: 21824296
Please find the error ..what server this is ?

error.JPG
0
 
LVL 12

Accepted Solution

by:
alikaz3 earned 200 total points
ID: 21824627
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:jaisonshereen
ID: 21824762

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
ID: 21825204
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 62

Expert Comment

by:gheist
ID: 21825218
look into apache configuration files
0
 
LVL 48

Expert Comment

by:Tintin
ID: 21826492
Do you have command line access?  If so, do

rpm -qa|grep -i tomcat
0
 

Author Comment

by:jaisonshereen
ID: 21826827
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
ID: 21826950
OK, tomcat is installed on your server.  As to whether it is running depends on your Apache/tomcat configuration.

0
 

Author Comment

by:jaisonshereen
ID: 21827002
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
ID: 21827003
its not running where i need to stop and start  ?
0
 
LVL 62

Expert Comment

by:gheist
ID: 21832526
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
ID: 21833332
[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 62

Expert Comment

by:gheist
ID: 21833968
chkconfig --list
chkconfig tomcat on
/etc/init.d/tomcat restart
0
 

Author Comment

by:jaisonshereen
ID: 21834294
tomcat is not listed in my init.d
0
 
LVL 62

Assisted Solution

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

Author Comment

by:jaisonshereen
ID: 21838157
gheist: You mean only apache is running in my server...no mongrel and tomcat ?
0
 
LVL 62

Expert Comment

by:gheist
ID: 21842404
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

803 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