解决方法:
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启动与关闭
---------------------------------
关闭:
关闭应用:
$ADMIN_SCRIPTS_HOME
./adstpall.sh apps/apps
关闭数据库
$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME
./addlnctl.sh stop $ORACLE_SID
./addbctl.sh stop
启动:
启动数据库
$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME
./addlnctl.sh start $ORACLE_SID ------ Control Oracle Net listener for the database server
./addbctl.sh start ------ Control database server
启动应用
$ADMIN_SCRIPTS_HOME
./adstrtal.sh apps/apps -------- Start all Applications server processes
(笔者原创文章,转载请注明出处:https://blog.csdn.net/LFCuiYs)谢谢!