Logo Background

Apache Problem in Oracle 11i

  • By on March 5, 2009 | 1 Comment

    Sometimes there will be problem in our Apache Server where although the status shown is not running, there was still httpd running on the background.

    What you can do is shutdown the Apache listener process and clear all the httpd background process.

     
    $ ps -ef | grep Apache | wc -l
    28
     
    $ cd $COMMON_TOP/admin/scripts/$CONTEXT_NAME
     
    $ ./adapcctl.sh status
     
    Apache Web Server Listener is not running.
    Apache Web Server Listener (PLSQL) is not running.
     
    adapcctl.sh: exiting with status 1
     
    $ ./adapcctl.sh stop
     
    adapcctl.sh version 115.55
     
    Apache Web Server Listener is not running.
    Apache Web Server Listener (PLSQL) is not running.
     
    adapcctl.sh: exiting with status 0
     
    $ ps -ef | grep Apache | wc -l
    28
     
    $ kill -9 `ps -ef | grep Apache | grep applprod | grep -v grep | awk '{print $2}'`
     
    $ ps -ef | grep Apache | wc -l
    1
     
    $ ./adapcctl.sh start
    adapcctl.sh version 115.55
     
    Apache Web Server Listener is not running.
    Starting Apache Web Server Listener (dedicated HTTP in SSL mode) ...
    Apache Web Server Listener (PLSQL) is not running.
    Starting Apache Web Server Listener (dedicated PLSQL) ...
     
    adapcctl.sh: exiting with status 0
     
    $ ps -ef | grep Apache | wc -l
    22
     
    $ ps -ef | grep Apache | wc -l
    28
    Previous
    Next
    » Java Home In Oracle 11i
  1. #1 Samer
    September 19, 2012 3:27 am

    hi ,

    thanks for the info, it was very helpfull

    but i have small question , what would be the impact if any old Apache Process still running ( wasn’t killed ) and i started a new process using adapcctl.sh start

    Post ReplyPost Reply
Leave a Comment