天天看點

啟動R12 AP時候報錯:adformsctl.sh: exiting with status 150/204

1 - open a new shell and set your apps environment 

2 - cd $ADMIN_SCRIPTS_HOME 

3 - adopmnctl.sh stop 

4 - check if it is really down: ps -ef | grep <USER> grep opm 

5 - delete the following: 

rm -fr $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/* 

rm -fr $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/* 

rm -fr $INST_TOP/ora/10.1.3/j2ee/forms/persistence/* 

6 - adopmnctl.sh start 

7 - check if the issue has been resolved: adapcctl.sh status For SSO enabled environments additional information regarding Changing the Hostname, Domain Name, or IP Address can be found in: Oracle® Application Server Administrator's Guide 10g Release 3 (10.1.3.2.0) See also the link in the References.

來自 metelink。

總結了下,出現啟動問題的原因,我所遇到的有兩種:

第一種:檔案權限或者所有者不正确,可以直接通過修改權限解決。

第二種:xml檔案或其他檔案不同步,需要運作adautocfg.sh(謹慎使用此腳本)或者手動修改xml檔案。附上啟動和關閉EBS服務的順序。

EBS啟動與關閉

---------------------------------

關閉:

關閉應用:

/u01/apps/VIS_erp/admin/scripts/

./adstpall.sh apps/apps

關閉資料庫

/u01/db/tech_st/10.2.0/appsutil/scripts/VIS_erp 

./addlnctl.sh stop VIS

./addbctl.sh stop

啟動:

啟動資料庫

/u01/db/tech_st/10.2.0/appsutil/scripts/VIS_erp

./addlnctl.sh start VIS    Control Oracle Net listener for the database server 

./addbctl.sh start              Control database server 

啟動應用

./adstrtal.sh apps/apps Start all Applications server processes 

-----------------------------------------------------

單個服務的啟動順序

adalnctl.sh start   --啟用監視

adcmctl.sh start apps/apps --啟用并發管理器

adapcctl.sh start  --啟用oracle apache

adoacorectl.sh

adformsrvctl.sh  --啟用form