To enable Apache Server Status in Oracle Application server.

1) In httpd.conf , there is a module called "mod_status" which should be present

status_module libexec/mod_status.so


2) Extended Status should be ON to see full status.

# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
ExtendedStatus On

3) To add server version etc. in status , add below line

Optionally add a line containing the server version and virtual host
# name to server-generated pages (error documents, FTP directory listings,
# mod_status and mod_info output etc., but not CGI generated documents).
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
# Set to one of: On | Off | EMail
#
ServerSignature On

4) Add the server hostname and the workstation IP in "Allow From" tab on which you want to veiw the report.

#
# Allow server status reports, with the URL of http://servername/server-status
# Change the ".your_domain.com" to match your domain to enable.
#

SetHandler server-status
Order deny,allow
Deny from all
Allow from localhost xyz.test.com xyz 10.200.100.10


5) Open the GUI console of UNIX Server , type $mozilla or you can use IE on the workstation IP provided in the httpd.conf , thus you can view more details due to IE support.
6) When mozilla explore opens type :-

http://xyz.test.com/server-status

you will get server-status in the given format below :-

Apache Server Status for xyz.test.com
Server Version: Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server
Server Built: Jul 16 2008 05:34:34

Current Time: Tuesday, 02-Feb-2010 10:53:39 uae
Restart Time: Tuesday, 19-Jan-2010 08:47:11 uae
Parent Server Generation: 4
Server uptime: 14 days 2 hours 6 minutes 28 seconds
Total accesses: 10806777542352897713 - Total Traffic: 103597801472.0 GB
CPU Usage: u47164.9 s4033210 cu15040700 cs36084100 - 1010% CPU load
8.88e+12 requests/sec - 85112.4 GB/second - 10 B/request
26 requests currently being processed, 1 idle servers
........................._............
................................................................
................................................................
................................................................
................................................................
................................................................

Comments

Popular posts from this blog

jstatd error : Could not create remote object : access denied (java.util.PropertyPermission java.rmi.server.ignoreSubClasses write)

Weblogic server is not starting up ; java.lang.AssertionError

ORA-22990: LOB locators cannot span transactions