{"id":492,"date":"2021-06-29T17:30:37","date_gmt":"2021-06-29T15:30:37","guid":{"rendered":"https:\/\/anjo.pt\/keyword-oracle\/?p=492"},"modified":"2026-02-23T15:50:31","modified_gmt":"2026-02-23T14:50:31","slug":"opatchauto-does-not-work-without-db-created-and-oracle-support-well","status":"publish","type":"post","link":"https:\/\/anjo.pt\/keyword-oracle\/2021\/06\/29\/opatchauto-does-not-work-without-db-created-and-oracle-support-well\/","title":{"rendered":"Opatchauto does not work without DB created. And Oracle support&#8230; well"},"content":{"rendered":"\n<p>Few months ago I hit an interesting case. After installing Oracle Grid Infrastructure and Database software on a server, the new Release Update come out and I wanted to use opatchauto to apply it automatically on both homes.<\/p>\n\n\n\n<p>It doesn&#8217;t work. <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo ${ORACLE_HOME}\/OPatch\/opatchauto apply -phBaseDir \/tmp\/RU_19c_JAN2021\/32126842 -prepare-clone -silent \/tmp\/RU_19c_JAN2021\/clone.properties\n...\nOPATCHAUTO-72128: Cannot execute out of place patching prepare session.\nOPATCHAUTO-72128: Clone home properties \/tmp\/RU_19c_JAN2021\/clone.properties specified has entry for non requested home(s) &#x5B;\/u00\/app\/oracle\/product\/19.8.0].\nOPATCHAUTO-72128: Please correct properties file and re-run out of place patching prepare operation.\nOPatchAuto failed.\n<\/pre><\/div>\n\n\n<p>The setup is all correct, opatchauto is the latest version (13.9.4.5.0, as of February 2021), the inventory has the two homes:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;HOME NAME=&quot;OraGI19Home1&quot; LOC=&quot;\/u00\/app\/grid\/19.8.0&quot; TYPE=&quot;O&quot; IDX=&quot;1&quot; CRS=&quot;true&quot;\/&gt;\n&lt;HOME NAME=&quot;OraDB19Home1&quot; LOC=&quot;\/u00\/app\/oracle\/product\/19.8.0&quot; TYPE=&quot;O&quot; IDX=&quot;2&quot;\/&gt;\n<\/pre><\/div>\n\n\n<p>The clone.properties file has the name of these homes:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n\/u00\/app\/grid\/19.8.0=\/u00\/app\/grid\/19.10.0\n\/u00\/app\/oracle\/product\/19.8.0=\/u00\/app\/oracle\/product\/19.10.0\n<\/pre><\/div>\n\n\n<p>The only &#8220;problem&#8221; is that no database is created. In fact, the workaround is just to register a fake DB on the CRS:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsrvctl add database -db XX -oraclehome \/u00\/app\/oracle\/product\/19.8.0\n<\/pre><\/div>\n\n\n<p>Then the opatchauto works. <\/p>\n\n\n\n<p>I open a SR with Oracle. Inform about the OPatch bug and ask what is the meaning of the OPATCHAUTO-72128 error, because there is no documentation of Opatchauto.<\/p>\n\n\n\n<p>The normal ping-pong with Oracle support starts, they ask me to run with maximum debug level before they can do something. I say that the complete use case is already described and they can try in-house and can\/should open a bug. <\/p>\n\n\n\n<p>No success. The support person says that if the customer doesn&#8217;t do more work, Oracle doesn&#8217;t care about the bug and problem will remain unfixed. I inform that I will blog about this bug, so that the community is aware.<\/p>\n\n\n\n<p>Final answer from this SR:<\/p>\n\n\n\n<p><em>&#8220;Knowledge content not created because the issue was resolved by the customer with no further information provided. Also no further ODM headings were used for the same reason.&#8221;<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Few months ago I hit an interesting case. After installing Oracle Grid Infrastructure and Database software on a server, the new Release Update come out and I wanted to use opatchauto to apply it automatically on both homes. It doesn&#8217;t work. The setup is all correct, opatchauto is the latest version (13.9.4.5.0, as of February [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,17,6,39,18],"tags":[],"class_list":{"0":"post-492","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-my-oracle-support","7":"category-opatch","8":"category-oracle","9":"category-oracle-19c","10":"category-patchset-update","11":"czr-hentry"},"_links":{"self":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts\/492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/comments?post=492"}],"version-history":[{"count":4,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts\/492\/revisions"}],"predecessor-version":[{"id":1112,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts\/492\/revisions\/1112"}],"wp:attachment":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/media?parent=492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/categories?post=492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/tags?post=492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}