若使用ebs批量启动脚本无法启动,那么按照如下顺序启动所有脚本。
启动$HOME/appstart.sh
--------
数据库服务器:cd /oracle/VIS/db/tech_st/11.1.0/appsutil/scripts/VIS_<server>
addlnctl.sh start VIS12
addbctl.sh start
sleep 1m
APP服务器:cd $ADMIN_SCRIPTS_HOME
adalnctl.sh start
adapcctl.sh start
adoacorectl.sh start
adformsctl.sh start
adcmctl.sh start apps/apps
---------------------------------
若是启动失败,则按照如下顺序先将关闭所有的脚本。
关闭:$HOME/appstop.sh
----------------
APP服务器:cd $ADMIN_SCRIPTS_HOME
adcmctl.sh stop apps/apps
adformsctl.sh stop
adoacorectl.sh stop
adapcctl.sh stop
adalnctl.sh stop
sleep 2m
数据库服务器:cd /oracle/VIS/db/tech_st/11.1.0/appsutil/scripts/VIS_<server>
addlnctl.sh stop VIS
addbctl.sh stop
-----------------------------------------------
出错解决:
出现150错误则按照以上顺序停止所有脚本。
204错误解决方案:
启动R12 AP时候报错:adformsctl.sh: exiting with status 204 adoafmctl.sh: exiting with status 204 adoacorectl.sh: exiting with status 204
尝试了N次后在metalink上面发现解决方法,他是后台进程没有关完全导致
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.
如果启动成功之后仍无法打开登录页面,则可考虑按如下步骤进行尝试:
1.关闭app服务
2.进入$ADMIN_SCRIPTS_HOME 目录下,执行adautocfg.sh脚本
3.删除一下文件
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/*
4.启动app服务