{"id":1649,"date":"2017-09-14T15:30:24","date_gmt":"2017-09-14T13:30:24","guid":{"rendered":"http:\/\/www.ludovicocaldara.net\/dba\/?p=1649"},"modified":"2020-08-18T16:13:51","modified_gmt":"2020-08-18T14:13:51","slug":"12-1-0-2-bundle-patch-170718-breaks-data-guard-and-duplicate-from-active-database","status":"publish","type":"post","link":"https:\/\/www.ludovicocaldara.net\/dba\/12-1-0-2-bundle-patch-170718-breaks-data-guard-and-duplicate-from-active-database\/","title":{"rendered":"12.1.0.2 Bundle Patch 170718 breaks Data Guard and Duplicate from active database"},"content":{"rendered":"<p>Recently my customer patched its 12.1.0.2 databases with the Bundle Patch 170718 on the new servers (half of the customer&#8217;s environment). The old servers are still on 161018 Bundle Patch.<\/p>\n<p>We realized that we could not move anymore the databases from the old servers to the new ones because the duplicate from active database was failing with this error:<\/p>\n<pre class=\"lang:plsql decode:true\">RMAN-00571: ===========================================================\r\nRMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============\r\nRMAN-00571: ===========================================================\r\nRMAN-03002: failure of Duplicate Db command at 09\/11\/2017 15:59:32\r\nRMAN-05501: aborting duplication of target database\r\nRMAN-03015: error occurred in stored script Memory Script\r\nRMAN-03009: failure of backup command on prmy1 channel at 09\/11\/2017 15:59:32\r\nORA-17629: Cannot connect to the remote database server\r\nORA-17630: Mismatch in the remote file protocol version client 2 server 3<\/pre>\n<p>The last lines shows the same error that <a href=\"https:\/\/blog.dbi-services.com\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/\">Franck blogged about some months ago.<\/a><\/p>\n<p>Oracle 12.2 had introduced incompatibility with previous releases in remote file transfer via SQL*Net. At least this is what it seems. According to Oracle, this is due to a bugfix present in Oracle 12.2<\/p>\n<p>Now, the bundle patch that we installed on BP 170718 contains the same bugfix (Patch for bug 18633374).<\/p>\n<p>So, the incompatibility happens now between databases of the same &#8220;Major Release&#8221; (12.1.0.2).<\/p>\n<p>There are two possible workarounds:<\/p>\n<ol>\n<li>Apply the same patch level on both sides (BP170718 in my case)<\/li>\n<li>Apply just the patch 18633374 on top of your current PSU\/DBBP (a merge might be necessary).<\/li>\n<\/ol>\n<p>We used the second approach and now we can setup Data Guard again to move our databases without downtime:<\/p>\n<pre class=\"lang:sh decode:true \">oracle@oldserver $ opatch lspatches\r\n18633374;   &lt;&lt;&lt;&lt;&lt;&lt; FIX!\r\n24340679;DATABASE BUNDLE PATCH: 12.1.0.2.161018 (24340679)\r\n\r\noracle@newserver $ opatch lspatches\r\n22652097;\r\n22243983;\r\n25869760;DATABASE BUNDLE PATCH: 12.1.0.2.170718 (25869760)\r\n<\/pre>\n<p>HTH<\/p>\n<p>&#8212;<\/p>\n<p>Ludovico<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently my customer patched its 12.1.0.2 databases with the Bundle Patch 170718 on the new servers (half of the customer&#8217;s environment). The old servers are still on 161018 Bundle Patch. We realized that we could not move anymore the databases &hellip; <a href=\"https:\/\/www.ludovicocaldara.net\/dba\/12-1-0-2-bundle-patch-170718-breaks-data-guard-and-duplicate-from-active-database\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[327,326,329,3,52,330],"tags":[],"class_list":["post-1649","post","type-post","status-publish","format-standard","hentry","category-oracle-maa","category-oracle","category-oracle-dg","category-oracledb","category-12c","category-oracle-inst-upg"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/1649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/comments?post=1649"}],"version-history":[{"count":2,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/1649\/revisions"}],"predecessor-version":[{"id":1651,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/1649\/revisions\/1651"}],"wp:attachment":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/media?parent=1649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/categories?post=1649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/tags?post=1649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}