`
chengyue2007
  • 浏览: 1488507 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

adoacorectl.sh can not start

    博客分类:
  • erp
 
阅读更多

adoacorectl.sh: exiting with status 206/204

 

 
[Service Control Execution Report]
The report format is:
  <Service Group>            <Service>                              <Script>         <Status>
 
  Root Service                                                                       Enabled
  Root Service               Oracle Process Manager for VIS_erpvis  adopmnctl.sh     Started
  Web Entry Point Services                                                           Enabled
  Web Entry Point Services   Oracle HTTP Server VIS_erpvis          adapcctl.sh      Started
  Web Entry Point Services   OracleTNSListenerAPPS_VIS_erpvis       adalnctl.sh      Started
  Web Application Services                                                           Enabled
  Web Application Services   OACORE OC4J Instance VIS_erpvis        adoacorectl.sh   Failed
  Web Application Services   FORMS OC4J Instance VIS_erpvis         adformsctl.sh    Failed
  Web Application Services   OAFM OC4J Instance VIS_erpvis          adoafmctl.sh     Failed
  Batch Processing Services                                                          Enabled
  Batch Processing Services  OracleConcMgrVIS_erpvis                adcmctl.sh       Started
  Batch Processing Services  Oracle Fulfillment Server VIS_erpvis   jtffmctl.sh      Started
  Other Services                                                                     Disabled
  Other Services             OracleFormsServer-Forms VIS_erpvis     adformsrvctl.sh  Disabled
  Other Services             Oracle Metrics Client VIS_erpvis       adfmcctl.sh      Disabled
  Other Services             Oracle Metrics Server VIS_erpvis       adfmsctl.sh      Disabled
  Other Services             Oracle MWA Service VIS_erpvis          mwactlwrpr.sh    Disabled

In this Document

  Symptoms
  Changes
  Cause
  Solution

 

Applies to:

Oracle Applications Technology Stack - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

 One of the OC4J:oacore process does not start on the middle-tier server

cd $ADMIN_SCRIPTS_HOME
./adstrtall.sh apps/apps_pw or ./adoacorectl.sh

Applications will start except for one of the OC4J processes:
OC4JGroup:default_group | OC4J:oacore | 21034 | Alive
OC4JGroup:default_group | OC4J:oacore | N/A | Down


We have four web/forms servers, including this one.
This is the only server having the problem.

Found the following errors in these logs:
adoacorectl.txt


03/30/12-10:12:24 :: adoacorectl.sh: Starting OPMN managed OACORE OC4J instance

opmnctl: starting opmn managed processes...
================================================================================
opmn id=ebs015.oracle.edu:6000
1 of 2 processes started.

ias-instance id=ebs015.e015.oracle.edu
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
default_group/oacore/default_group/

Error
--> Process (index=1,uid=311,pid=21296)
failed to start a managed process after the maximum retry limit
Log:
/oracle/ebs/inst/apps/ebs015/logs/ora/10.1.3/opmn/default_group~oacore~default_group~1.log


03/30/12-10:13:00 :: adoacorectl.sh: exiting with status 206
======================================================================




Last entry in the default_group~oacore~default_group~2.log shows:

--------
12/03/30 10:12:25 WARNING: ApplicationLogManager is not installed, may result in loader leaks. Set -Djava.util.logging.manager=oracle.classloader.util.ApplicationLogManager





opmn.log

12/03/30 10:12:46 [libopmnoc4j] Process Start Error: default_group~oacore~default_group~1 (311:21203)
12/03/30 10:12:47 [pm-process] Stopping Process: default_group~oacore~default_group~1 (311:21203)
12/03/30 10:12:47 [libopmnoc4j] Process Stop Error: default_group~oacore~default_group~1 (311:21203)
12/03/30 10:12:47 [libopmnoc4j] Failed to construct stop command for proc: 311
12/03/30 10:12:47 [libopmnoc4j] Forcefully Terminating Process: default_group~oacore~default_group~1 (311:21203)
12/03/30 10:12:49 [pm-process] Starting Process: default_group~oacore~default_group~1 (311:0)
12/03/30 10:12:55 [libopmnoc4j] Host and Port information for port type jms not sent by the OC4J process
12/03/30 10:12:55 [libopmnoc4j] WARNING: OC4J did not send the protocol value for port id: jms
12/03/30 10:12:55 [libopmnoc4j] Port information in the ONS notification is incorrect for proc: 311. Some of the reasons for the failure are:
1. ajp, rmi and jms ports could not be bound by the process.
2. If a port value for a certain port ID is handed by OPMN to the OC4J process and this value is not returned back in the ONS notifications. For example, this can happen for certain bad JGroups related configurations.
12/03/30 10:12:55 [libopmnoc4j] Process Start Error: default_group~oacore~default_group~1 (311:21296)
12/03/30 10:12:57 [pm-process] Stopping Process: default_group~oacore~default_group~1 (311:21296)
12/03/30 10:12:57 [libopmnoc4j] Process Stop Error: default_group~oacore~default_group~1 (311:21296)
12/03/30 10:12:57 [libopmnoc4j] Failed to construct stop command for proc: 311
12/03/30 10:12:57 [libopmnoc4j] Forcefully Terminating Process: default_group~oacore~default_group~1 (311:21296)
12/03/30 10:12:59 [pm-requests] Request 3 Completed. Command: /start?process-type=oacore

Changes

Unknown

Cause

Turned out to be .lock files under $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/oacore_default_group_1.


Once removed the .lock file the services started.

Solution


Check for and remove the lock files from the following directories.
$INST_TOP/ora/10.1.3/j2ee/oacore/persistence
$INST_TOP/ora/10.1.3/j2ee/oafm/persistence
$INST_TOP/ora/10.1.3/j2ee/forms/persistence

Restart services.
cd $ADMIN_SCRIPTS_HOME
./adstrtall.sh apps/apps_pw or ./adoacorectl.sh

 

备注:这种方法也可能适用152,timeout(10000)

分享到:
评论

相关推荐

    spring boot/spring cloud项目启动脚本,默认名称:start.sh

    linux服务器,springboot,spring cloud、spring ...sh start.sh start sh start.sh stop sh start.sh restart sh start.sh status 或者: ./start.sh start ./start.sh stop ./start.sh restart ./start.sh status

    startServer.sh

    startServer.sh

    ubuntu如何运行.sh文件,.sh文件运行提示脚本异常

    ubuntu执行.sh文件,1 .sh文件是Ubuntu下可执行文件,首先需要确定它的权限是否是可执行的,2、 用vim打开sh文件,3、查看文件格式:4. 修改文件格式: 5. 保存退出: 6. 执行:./filename 注意:不可以用sh ...

    魅蓝note3 global.sh beta.sh

    命令输入工具(终端模拟器,可在自带的应用商店中搜索下载 一个551k大小的安装包),公开版官方包(官网中下载),脚本文件global.sh 手机必须彻底root(自带root开启后下载Kingroot获取完整权限 这个root不用担心...

    linux通用版本jar启动脚本傻瓜式启动 run.sh

    linux通用版本jar启动脚本傻瓜式启动 sh run.sh start 启动 sh run.sh stop 停止 nohup java -jar XXX.jar & nohup 意思是不挂断运行命令,当账户退出或终端关闭时,程序仍然运行

    springboot启动脚本start.sh和停止脚本 stop.sh的详细教程

    Spring Boot 启动脚本 start.sh 和停止脚本 stop.sh 详细教程 本文主要介绍了 Spring Boot 启动脚本 start.sh 和停止脚本 stop.sh 的详细教程,对大家的学习或工作具有一定的参考借鉴价值。下面将详细讲解 Spring ...

    acme.sh 实现了 acme 协议,可以从 Let's Encrypt 生成免费的证书,内含完整源代码

    acme.sh 实现了 acme 协议,可以从 Let's Encrypt 生成免费的证书,内含完整源代码 生成证书 acme.sh 实现了 acme 协议支持的所有验证协议,有两种方式验证: http 验证 和 dns 验证。 1. http 方式 http 方式需要...

    getinfo.sh

    chmod +x getinfo.sh ./getinfo.sh 注:此脚本可以以一般用户收集到信息(除fdisk只能以root运行) 1. 基本信息 - 适合所有linux问题 - getinfo.sh basic 2.硬盘/文件系统问题(基本,全盘信息) -需要用户成为root并...

    startup.sh linux 启动jar包命令

    startup.sh linux 启动jar包命令startup.sh linux 启动jar包命令startup.sh linux 启动jar包命令startup.sh linux 启动jar包命令startup.sh linux 启动jar包命令

    Solaris pstack.sh

    The following scripts are located in obisolaris.tar.gz (2013-07-12) obimon (0.1) - monitor memory and connection...unpackDbx.sh.sh (0.2) - extracts dbx from Studio 12.3 download. See instructions below.

    tinyos.sh文件

    tinyos.sh文件,在linux环境下生成,cygwin环境下可用,tinyos.sh文件总出问题的可以下载,将绝对路径修改成自己的

    get-docker.sh docker安装脚本

    get-docker.sh docker安装脚本,可直接执行 sh get-docker.sh --mirror Aliyun 安装

    qnap-acme.sh

    威联通QNAP自动续签更新SSL证书脚本(配合acme.sh使用),支持Let's Encrypt免费证书,支持域名泛解析证书,如:*.xx.com。

    get-docker.sh

    此docker安装脚本为官方提供的,可以从网上下载,此处直接上传。安装docker客户端,get-docker.sh

    wait-for-it.sh脚本

    wait-for-it.sh是一个Shell脚本,主要用于在Docker容器启动时等待某个服务(如数据库、消息队列等)变得可用。在某些分布式系统中,各个服务的启动顺序和依赖关系很重要,wait-for-it.sh可以帮助解决这个问题。

    jdk_install.sh

    liunx 一键安装jdk脚本,实现jdk 一键安装 (bash jdk_install.sh)

    ldd.sh app.sh

    "ldd.sh" 和 "app.sh" 是两个在Linux环境中常见的脚本文件,它们在Qt程序打包发布过程中扮演着重要角色。现在让我们深入探讨这两个脚本文件的功能以及它们如何与“导出库”这个概念关联。 首先,`ldd.sh` 是一个...

    linux服务器下jar包启动脚本:start.sh

    linux服务器下jar包启动脚本:start.sh

    ssdtPRGen.sh, 为电源管理生成SSDT的脚本.zip

    ssdtPRGen.sh, 为电源管理生成SSDT的脚本 ssdtPRGen.sh你可以在终端窗口中输入以下命令来下载最新的ssdtPRGen.sh 测试版:curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker

    start-service.sh

    start-service.sh linux环境java的启动脚本. 初始化命令

Global site tag (gtag.js) - Google Analytics