Saturday, September 5, 2009

Debug Apache

Debug Apache


I . Please perform the following steps:
        - Clear the Apache cache
        in $OA_HTML/_pages ( 11.5.9)
                    in $COMMON_TOP/_pages ( 11.5.10 and above
    
        - Delete or rename the existing logfiles. You may or may not have all of these.
               a. From "$IAS_TOP/Apache/Apache/logs" delete the error_log and the access_log
               b. From "$IAS_TOP/Apache/JServ/logs" delete the mod_jserv.log an the jserv.log
        - Please have the apache debug turned on like in Note 230688.1
        - Start the apache server.
        - Reproduce the Hang/Issue
II  have the apache debug turned on like in Note 230688.1
1.  Shutdown the apache web server. 
2.  Delete or rename the existing logfiles. 
a. from ".../iAS/Apache/Apache/logs" delete everything in this directory
b. from ".../iAS/Apache/Jserv/logs" delete everything in this directory, including the underlying jvm directory 
3. Edit the file .../iAS/Apache/Apache/conf/httpd.conf to enable debug for apache.
ErrorLog /dwwt1i/product/iAS/Apache/Apache/logs/error_log
LogLevel debug
4.  Edit the /dwwt1i/product/iAS/Apache/Jserv/etc/jserv.conf to enable debug for the JServ module. 
ApJServLogLevel debug
5. Edit the file .../iAS/Apache/Jserv/etc/jserv.properties to enable debug for the JVM.
 log=true 
 log.file=/dwwt1i/product/iAS/Apache/Jserv/logs/jserv.log
log.timestamp=true
log.channel=true
log.channel.info=true 
log.channel.servletException=true 
log.channel.jservException=true 
log.channel.warning=true 
log.channel.servletLog=true
log.channel.critical=true 
log.channel.debug=true
6.  Start the apache server. 
7. Pause for a minute
8.  Do the test and capture it in the logfiles
 - Reproduce the Hang/Issue ( Customer will have to reproduce the issue )
  
9. Upload a new set of config files..
        Run the following Unix command as the Apache/Jserv owner ( whoever started up Apache/Jserv ):
              zip -r /tmp/`uname -n`_`date +%m%d%y.%H%M`current_config_iAS.zip \
                     $IAS_ORACLE_HOME/Apache/Apache/conf/* \
                     $IAS_ORACLE_HOME/Apache/Jserv/etc/*
     
10. Upload a fresh set of log files..  Run the following Unix command as the Apache/Jserv owner
            zip -r /tmp/`uname -n`_`date +%m%d%y.%H%M`current_log.zip \
                  $IAS_ORACLE_HOME/Apache/Apache/logs/* \
                  $IAS_ORACLE_HOME/Apache/Jserv/logs/*
Metalink note:230688.1

No comments: