{"id":1477,"date":"2010-01-04T09:54:01","date_gmt":"2010-01-04T13:54:01","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/"},"modified":"2010-01-04T10:33:46","modified_gmt":"2010-01-04T14:33:46","slug":"oracle-apps-r12-interviewreaders-question-opmnctl-status","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/","title":{"rendered":"Oracle Apps R12 Interview\/Reader&#8217;s Question : opmnctl status"},"content":{"rendered":"<p>This post covers interview question (related to Oracle Apps R12) from one reader, <strong>If you have any question then email us or post it under comments section<\/strong>.<br \/>\n<strong><font color=\"#ff0000\">Q. Why do we get\u00a0error when we run \u201copmnctl status\u201d from &#8220;$INST_TOP\/ ora\/ 10.1.3\/ opmn\/ bin&#8221;\u00a0where as\u00a0$ADMIN_SCRIPTS_HOME\/adopmnctl.sh works ?<\/font><br \/>\n<\/strong><br \/>\nFor those who are new to Oracle Apps R12 or OPMN<\/p>\n<p><strong><u>ORACLE_HOME in application tier in Applications R12<br \/>\n<\/u><\/strong><br \/>\nSimilar to Oracle Applications 11i, there are <strong>two ORACLE_HOMEs<\/strong> (but of version 10g) on application tier (three in total including database)<br \/>\n<strong>i) <\/strong>10.1.3 (10g R3)\u00a0for Web-Apps Tier (<strong>HTTP<\/strong>, <strong>OC4J<\/strong> &#8211; oacore, oafm, forms)<br \/>\n<strong>ii)<\/strong> 10.1.2 (10g R2) for forms &amp; reports server<\/p>\n<p>For technical differences between 11i &amp; R12 <a target=\"_blank\" href=\"https:\/\/onlineappsdba.com\/index.php\/2007\/04\/08\/difference-between-oracle-apps-11i-and-r12-technical\/\">click here<\/a><\/p>\n<p>.<\/p>\n<p><strong><u>What is opmnctl\/adopmnctl ? <\/u><\/strong><\/p>\n<p>OPMN\u00a0&#8211; Oracle Process Manager &amp; Notification Server is component in Oracle Application Server (10g) to manage (start\/stop\/status)\u00a0Application Server components (HTTP, OC4J)<\/p>\n<p><strong>adopmnctl &#8211;<\/strong>\u00a0is wrapper around <strong>opmnctl<\/strong> to manage application server (10g R3 &amp; 10g R3)\u00a0in Oracle Applications (EBS)\u00a0R12 . More information <a target=\"_blank\" href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/23\/adoacorectlsh-adformsctlsh-adoafmctlsh-exiting-with-status-204\/\">here<\/a><\/p>\n<p>.<br \/>\n<strong><u>What is INST_TOP in Oracle Apps ?<br \/>\n<\/u><br \/>\nINST_TOP<\/strong> denotes new TOP in Apps R12 <strong>INSTANCE_HOME<\/strong>, more information <a target=\"_blank\" href=\"https:\/\/onlineappsdba.com\/index.php\/2007\/10\/19\/r12-instance-home-overview\/\">here<\/a>\u00a0.\u00a0INSTANCE_HOME contains scripts, log and configuration files .<\/p>\n<p>.\u00a0\u00a0<\/p>\n<p>Now back to question Why do we get error\u00a0when we run \u201c<strong>opmnctl status<\/strong>\u201d from &#8220;<strong>$INST_TOP\/ ora\/ 10.1.3\/ opmn\/ bin<\/strong>&#8221; although we get output on running <strong>$ADMIN_SCRIPTS_HOME\/ adopmnctl.sh<\/strong><br \/>\nWhen you run <strong>opmnctl status <\/strong>from $INST_TOP\/ora\/10.1.3\/opmn\/bin you get error like below<\/p>\n<p><strong>$ .\/opmnctl status<\/strong><br \/>\n<font color=\"#ff0000\">Error reading opmn.xml<br \/>\nMessage:{$INST_TOP\/ora\/10.1.2\/opmn\/conf\/opmn.xml (No such file or directory)}<br \/>\nFilename:{$INST_TOP\/ora\/10.1.2\/opmn\/conf\/opmn.xml}<br \/>\nFileContent:{}<\/font><\/p>\n<p><font color=\"#ff0000\">.<\/font><\/p>\n<p><font color=\"#000000\">This is because when you run &#8220;<strong>opmnctl status<\/strong>&#8221; from $INST_TOP\/ora\/10.1.3\/opmn\/bin, <strong>opmnctl <\/strong>executable picks up OPMN config file (<strong>opmn.xml<\/strong>) from $ORACLE_CONFIG_HOME\/opmn\/conf\/opmn.xml and $ORACLE_CONFIG_HOME by default is set to <strong>10.1.2\u00a0 <\/strong>ORACLE_HOME .<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 It is still possible\u00a0to\u00a0display status using $INST_TOP\/ora\/10.1.3\/opmn\/bin\/status but first set $ORACLE_CONFIG_HOME to <strong>10.1.3<\/strong>\u00a0 (This can be done by executing <strong>10.1.3 environment file <\/strong>i.e.<strong> <\/strong>$INST_TOP\/ora\/10.1.3\/<strong>$SID_$hostname.env<\/strong> )<br \/>\n.<\/font><\/p>\n<p><font color=\"#000000\"><strong><u>Why don&#8217;t you get above error by running $ADMIN_SCRIPTS_HOME\/ adopmnctl.sh ?<\/u><\/strong> <\/font><font color=\"#ff0000\"><strong>adopmnctl.sh <\/strong>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. <strong>adopmnctl.sh<\/strong> is correct script to manage services (start\/stop\/status) controlled by OPMN in R12.<\/p>\n<p><\/font>.<\/p>\n<p>.<br \/>\n<strong><font color=\"#000000\">To ask question like this and many more including Apps R12 installation, patching &amp; cloning &#8211; Register for <\/font><\/strong><a target=\"_blank\" href=\"http:\/\/focusthread.com\/training\/online-apps-dba-training-11i-r12\/51-payment-for-apps-dba-training-through-paypal\"><strong><font color=\"#000000\">online course (weekend only) starting on 10 Jan 2010 (Only 2 seats left)<\/font><\/strong><\/a><\/p>\n<p>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post covers interview question (related to Oracle Apps R12) from one reader, If you have any question then email [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[35],"tags":[],"class_list":["post-1477","post","type-post","status-publish","format-standard","hentry","category-r12"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Oracle Apps R12 Interview\/Reader&#039;s Question : opmnctl status  -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Oracle Apps R12 Interview\/Reader&#039;s Question : opmnctl status  -\" \/>\n<meta property=\"og:description\" content=\"This post covers interview question (related to Oracle Apps R12) from one reader, If you have any question then email [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/\" \/>\n<meta property=\"article:published_time\" content=\"2010-01-04T13:54:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2010-01-04T14:33:46+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/\",\"name\":\"Oracle Apps R12 Interview\/Reader's Question : opmnctl status -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2010-01-04T13:54:01+00:00\",\"dateModified\":\"2010-01-04T14:33:46+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Oracle Apps R12 Interview\/Reader&#8217;s Question : opmnctl status\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Oracle Apps R12 Interview\/Reader's Question : opmnctl status  -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/","og_locale":"en_US","og_type":"article","og_title":"Oracle Apps R12 Interview\/Reader's Question : opmnctl status  -","og_description":"This post covers interview question (related to Oracle Apps R12) from one reader, If you have any question then email [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/","article_published_time":"2010-01-04T13:54:01+00:00","article_modified_time":"2010-01-04T14:33:46+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/","url":"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/","name":"Oracle Apps R12 Interview\/Reader's Question : opmnctl status -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2010-01-04T13:54:01+00:00","dateModified":"2010-01-04T14:33:46+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2010\/01\/04\/oracle-apps-r12-interviewreaders-question-opmnctl-status\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"Oracle Apps R12 Interview\/Reader&#8217;s Question : opmnctl status"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/1477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=1477"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/1477\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=1477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=1477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=1477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}