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
启动应用
/u01/apps/VIS_erp/admin/scripts/
./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