修改維護模式導致ebs頁面打不開

sxitsxit發表於2012-06-15
不小心進入了維護模式,然後導致頁面打不開,解決方法如下
 
 
1:關閉維護模式
 
-bash-3.2$ pwd
/export/home2/oracle/VIS/apps/apps_st/appl
-bash-3.2$
-bash-3.2$
-bash-3.2$ . APPSVIS_text.env
-bash-3.2$
-bash-3.2$ adadmin
                     Copyright (c) 2002 Oracle Corporation
                        Redwood Shores, California, USA
                     Oracle Applications AD Administration
                                 Version 12.0.0
。。。。。。。。。。。。
 
Beginning database cleanup for previous session ...
Completed database cleanup for previous session.
            AD Administration Main Menu
   --------------------------------------------------
   1.    Generate Applications Files menu
   2.    Maintain Applications Files menu
   3.    Compile/Reload Applications Database Entities menu
   4.    Maintain Applications Database Entities menu
   5.    Change Maintenance Mode
   6.    Exit AD Administration
 
 
 
 
Enter your choice [6] : 5
Filename [adadmin.log] :
 
然後在接下來的對話方塊中選擇
 
Disable  Maintenance  Mode  (關閉維護模式)
 
 
 
2:重啟appache
-bash-3.2$ cd $ADMIN_SCRIPTS_HOME
-bash-3.2$ pwd
/export/home2/oracle/VIS/inst/apps/VIS_text/admin/scripts
-bash-3.2$ ls
adalnctl.sh      adautocfg.sh     adexecsql.pl     adformsrvctl.sh  adoafmctl.sh     adpreclone.pl    adstrtal.sh      ieo              jtffmctl.sh      mwactl.sh
adapcctl.sh      adcmctl.sh       adformsctl.sh    adoacorectl.sh   adopmnctl.sh     adstpall.sh      gsmstart.sh      java.sh          msc              mwactlwrpr.sh
-bash-3.2$ adapcctl.sh stop
You are running adapcctl.sh version 120.7.12010000.2
Stopping OPMN managed Oracle HTTP Server (OHS) instance ...
adapcctl.sh: exiting with status 0
adapcctl.sh: check the logfile /export/home2/oracle/VIS/inst/apps/VIS_text/logs/appl/admin/log/adapcctl.txt for more information ... 
-bash-3.2$ adapcctl.sh start
You are running adapcctl.sh version 120.7.12010000.2
Starting OPMN managed Oracle HTTP Server (OHS) instance ...
adapcctl.sh: exiting with status 0
adapcctl.sh: check the logfile /export/home2/oracle/VIS/inst/apps/VIS_text/logs/appl/admin/log/adapcctl.txt for more information ... 
-bash-3.2$
 
 
3:重啟應用
 
-bash-3.2$ ./adstpall.sh apps/apps
-bash-3.2$ pwd
/export/home2/oracle/VIS/inst/apps/VIS_text/admin/scripts
 
-bash-3.2$ pwd
/export/home2/oracle/VIS/inst/apps/VIS_text/admin/scripts
-bash-3.2$ ./adstrtal.sh apps/apps
 

注意:在進入維護模式之前一定要先關閉應用,否則會出現上述問題


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24862808/viewspace-732879/,如需轉載,請註明出處,否則將追究法律責任。

相關文章