Why do we get error when we run “opmnctl status” from “$INST_TOP/ ora/ 10.1.3/ opmn/ bin”

原文:http://onlineappsdba.com/index.php/2010/01/04/oracle-apps-r12-interviewreaders-question-opmnctl-status/

This post covers interview question (related to Oracle Apps R12) from one reader, If you have any question then email us or post it under comments section.
Q. Why do we get error when we run “opmnctl status” from “$INST_TOP/ ora/ 10.1.3/ opmn/ bin” where as $ADMIN_SCRIPTS_HOME/adopmnctl.sh works ?

For those who are new to Oracle Apps R12 or OPMN

ORACLE_HOME in application tier in Applications R12

Similar to Oracle Applications 11i, there are two ORACLE_HOMEs (but of version 10g) on application tier (three in total including database)
i) 10.1.3 (10g R3) for Web-Apps Tier (HTTPOC4J – oacore, oafm, forms)
ii) 10.1.2 (10g R2) for forms & reports server

For technical differences between 11i & R12 click here

.

What is opmnctl/adopmnctl ?

OPMN - Oracle Process Manager & Notification Server is component in Oracle Application Server (10g) to manage (start/stop/status) Application Server components (HTTP, OC4J)

adopmnctl - is wrapper around opmnctl to manage application server (10g R3 & 10g R3) in Oracle Applications (EBS) R12 . More information here

.
What is INST_TOP in Oracle Apps ?

INST_TOP
 denotes new TOP in Apps R12 INSTANCE_HOME, more informationhere . INSTANCE_HOME
contains scripts, log and configuration files .

.  

Now back to question Why do we get error when we run “opmnctl status” from “$INST_TOP/ ora/ 10.1.3/ opmn/ bin” although we get output on running$ADMIN_SCRIPTS_HOME/ adopmnctl.sh
When you run opmnctl status from $INST_TOP/ora/10.1.3/opmn/bin you get error like below

$ ./opmnctl status
Error reading opmn.xml
Message:{$INST_TOP/ora/10.1.2/opmn/conf/opmn.xml (No such file or directory)}
Filename:{$INST_TOP/ora/10.1.2/opmn/conf/opmn.xml}
FileContent:{}

.

This is because when you run “opmnctl status” from $INST_TOP/ora/10.1.3/opmn/bin, opmnctl executable picks up OPMN config file (opmn.xml) from $ORACLE_CONFIG_HOME/opmn/conf/opmn.xml
and $ORACLE_CONFIG_HOME by default is set to 10.1.2  ORACLE_HOME .
             It is still possible to display status using $INST_TOP/ora/10.1.3/opmn/bin/status but first set $ORACLE_CONFIG_HOME to10.1.3  (This can be done by executing 10.1.3 environment file i.e.$INST_TOP/ora/10.1.3/$SID_$hostname.env )
.

Why don’t you get above error by running $ADMIN_SCRIPTS_HOME/ adopmnctl.sh ? adopmnctl.sh calls $INST_TOP/ora/10.1.3/$SID_$hostname.env and sets $ORACLE_HOME
and $ORACLE_CONFIG_HOME to 10.1.3 related executable and configuration files. adopmnctl.sh is correct script to manage services (start/stop/status) controlled by OPMN in R12.

时间: 2024-05-04 10:43:03

Why do we get error when we run “opmnctl status” from “$INST_TOP/ ora/ 10.1.3/ opmn/ bin”的相关文章

c语言-请问我在Dev-Cpp写c的程序collect2.exe[Error] ld returned 1 exit status那错

问题描述 请问我在Dev-Cpp写c的程序collect2.exe[Error] ld returned 1 exit status那错 #include #include /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int leap(int a); int number(int year,int m ,int d); int m

c++-Eclipse下编译通过后,再编提示error: ld returned 1 exit status

问题描述 Eclipse下编译通过后,再编提示error: ld returned 1 exit status RT Eclipse for C++ 每次都是这样,好像是因为编译出的exe运行直接未响应导致的. 按照提示,好像我编译的exe文件还在运行,所以无法编译 解决方案 先在任务管理器中关闭程序,然后再运行看看.至于return,这个取决于你的main函数怎么返回的,如果没有写return,会返回这个函数执行之后最后eax寄存器的状态. 解决方案二: http://zhidao.baidu

c语言-Dc++ 中报错问题[Error] ld returned 1 exit status

问题描述 Dc++ 中报错问题[Error] ld returned 1 exit status 直接上源码了, 求大神指点#include #include #include #define STU_INFO_FILE ""d:classmates_info_file.txt"" //定义文本信息存储路径 #define FAILURE 0xFFFFFFFF#define SUCCESS !0xFFFFFFFF#define MAX_STU_COUNT 60int

自定义库引用时编译出错“collect2: error: ld returned 1 exit status”

           想必很多人都遇到过这样的事情,需要写一个共享库,这个库又不能让所有的人都了解里面是怎么实现的,所以只能提供一个库出来供项目使用,可能是处于保密.核心业务的需要,这些都能够理解.笔者也写了一个简单的东西测试了一下,里面还是有不少东西.          "collect2: error: ld returned 1 exit status"首先就遇到了这个问题.查了一下,这种错误网上说法也一大堆,起作用的还不多.在android系统里面加的共享库,需要加"

Java.Lang.OutOfMemoryError 错误——设置java Heap Size

1.确定当前系统可以设置的最大值: Below command will help you to identify the maximum memory heap size than can be allocated to a JVM process. java -mx[value]m -version Start with a higher value like 4G or higher and slowly cut down to the maximum allowed value. 举例:

Oracle Froms application 的配置文件

参考文档:https://forums.oracle.com/thread/2549379 1.Form Server 原理 1.查看当前有多少个forms Process (进程) 直接在os的apps用户(比如appltest用户)下,执行: ps -ef | grep -i frmweb ps -ef |grep frmweb | wc -l [appldemo@test bin]$ ps -ef | grep -i frmwebappldemo 10362  6699  0 11:19

Oracle 10203 RAC环境添加新节点(三) 数据库软件的建立并建立ASM实例

在图形界面环境下进行ORACLE_HOME/oui/bin,运行addNode.sh,来进行新节点的添加过程: $ cd $ORACLE_HOME/oui/bin $ ./addNode.sh Starting Oracle Universal Installer... No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed. Oracle Universal I

FRM-92101:forms Server在启动过程中失败

在rhel5 x64上完成ebs R12.1.1的基础安装,本地浏览器访问测试的时候,出现如下问题: 根据错误提示,找到日志产看原因,日志目录:$LOG_HOME/ora/10.1.3/opmn/forms_default_group_1 echo $LOG_HOME       /u01/prod/inst/apps/TESTDB_lyg/logs 根据日志内容: 13/09/25 00:46:42 FormsServlet init():      configFileName:     /

Android studio Unable to run mksdcard SDK tool

/******************************************************************************************** * Android studio Unable to run mksdcard SDK tool * 说明: * 记录Ubuntu下AS安装过程中遇到的问题. * * 2016-6-13 深圳 南山平山村 曽剑锋 *************************************************