Thursday 6 June 2013

How to bounce apache and clear cache in oracle apps 11i on sunsolaris operating system?

Go to scripts location.

cd $COMMON_TOP/admin/scripts/$CONTEXT_NAME


apptest@cstsd $ adapcctl.sh stop ; mv $COMMON_TOP/_pages $COMMON_TOP/_pages_3june2013; mkdir $COMMON_TOP/_pages;ps -fu apptest|grep -i http; adapcctl.sh start

adapcctl.sh version 115.55

Apache Web Server Listener :httpd ( pid 20394 ) is running.
Stopping Apache Web Server Listener (dedicated HTTP) ...
Apache Web Server Listener (PLSQL) :httpd ( pid 20529 ) is running.
Stopping Apache Web Server Listener (dedicated PLSQL) ...

adapcctl.sh: exiting with status 0  ===> apache stop successfully

apptest 821 28664 0 14:17:57 pts/4 0:00 grep -i http  ==> checking for any http process

adapcctl.sh version 115.55 ==> Now starting apache

Apache Web Server Listener is not running.
Starting Apache Web Server Listener (dedicated HTTP) ...
Apache Web Server Listener (PLSQL) is not running.
Starting Apache Web Server Listener (dedicated PLSQL) ...

adapcctl.sh: exiting with status 0  ==> apache started successfully

apptest@cstsd $
apptest@cstsd $
apptest@cstsd $ ps -fu apptest|grep -i http|wc -l   ==> checking the http processes
18
apptest@cstsd $

Happy learning !!!

1 comment: