{"id":12065,"date":"2018-11-26T18:45:19","date_gmt":"2018-11-26T17:45:19","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/"},"modified":"2018-11-26T18:45:19","modified_gmt":"2018-11-26T17:45:19","slug":"strange-behavior-when-patching-giasm","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/","title":{"rendered":"Strange behavior when patching GI\/ASM"},"content":{"rendered":"<p>I tried to apply a patch to my 18.3.0 GI\/ASM two node cluster on RHEL 7.5.<br \/>\nThe first node worked fine, but the second node got always an error&#8230;<br \/>\n<!--more--><\/p>\n<p>Environment:<br \/>\nServer Node1: dbserver01<br \/>\nServer Node2: dbserver02<br \/>\nOracle Version: 18.3.0 with PSU OCT 2018 ==&gt; 28660077<br \/>\nPatch to be installed: 28655784 (RU 18.4.0.0)<\/p>\n<p>First node (dbserver01)<br \/>\nEverything fine:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1;\">cd ${ORACLE_HOME}\/OPatch\nsudo .\/opatchauto apply \/tmp\/28655784\/\n...\nSucessfull\n<\/pre>\n<p>Secondary node (dbserver02)<br \/>\nSame command but different output:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1;\">cd ${ORACLE_HOME}\/Patch\nsudo .\/opatchauto apply \/tmp\/28655784\/\n...\nRemote command execution failed due to No ECDSA host key is known for dbserver01 and you have requested strict checking.\nHost key verification failed.\nCommand output:\nOPATCHAUTO-72050: System instance creation failed.\nOPATCHAUTO-72050: Failed while retrieving system information.\nOPATCHAUTO-72050: Please check log file for more details.\n<\/pre>\n<p>After playing around with the keys I found out, that the host keys had to be exchange also for root.<br \/>\nSo I connected as root and made an ssh from dbserver01 to dbserver02 and from dbserver02 to dbserver01.<\/p>\n<p>After I exchanged the host keys the error message changed:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1;\">Remote command execution failed due to Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).\nCommand output:\nOPATCHAUTO-72050: System instance creation failed.\nOPATCHAUTO-72050: Failed while retrieving system information.\nOPATCHAUTO-72050: Please check log file for more details.\n<\/pre>\n<p>So I investigated the log file a litte further and the statement with the error was:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1;\">\/bin\/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o NumberOfPasswordPrompts=0 dbserver01 \n\/bin\/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -o NumberOfPasswordPrompts=0 dbserver01 \n\/u00\/app\/oracle\/product\/18.3.0\/dbhome_1\/\/perl\/bin\/perl \n\/u00\/app\/oracle\/product\/18.3.0\/dbhome_1\/OPatch\/auto\/database\/bin\/RemoteHostExecutor.pl \n-GRID_HOME=\/u00\/app\/oracle\/product\/18.3.0\/grid_1 \n-OBJECTLOC=\/u00\/app\/oracle\/product\/18.3.0\/dbhome_1\/\/cfgtoollogs\/opatchautodb\/hostdata.obj \n-CRS_ACTION=get_all_homes -CLUSTERNODES=dbserver01,dbserver02,dbserver02 \n-JVM_HANDLER=oracle\/dbsysmodel\/driver\/sdk\/productdriver\/remote\/RemoteOperationHelper\n<\/pre>\n<p>Soooooo: dbserver02 starts a ssh session to dbserver01 and from there an additional session to dbserver01 (himself).<br \/>\nI don\u2019t know why but it is as it is\u2026.after I did a keyexchange from dbserver01 (root) to dbserver01 (root) the patching worked fine.<br \/>\nAt the moment I can not remeber that I ever had to do a keyexchange from the root User on to the same host.<\/p>\n<p>Did you got the same problem or do you know a better way to do that? Write me a comment!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I tried to apply a patch to my 18.3.0 GI\/ASM two node cluster on RHEL 7.5. The first node worked fine, but the second node got always an error&#8230;<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229,59],"tags":[84,101,73,1184],"type_dbi":[],"class_list":["post-12065","post","type-post","status-publish","format-standard","hentry","category-database-administration-monitoring","category-oracle","tag-high-availability","tag-installation","tag-linux","tag-oracle-18c"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Strange behavior when patching GI\/ASM - dbi Blog<\/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:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Strange behavior when patching GI\/ASM\" \/>\n<meta property=\"og:description\" content=\"I tried to apply a patch to my 18.3.0 GI\/ASM two node cluster on RHEL 7.5. The first node worked fine, but the second node got always an error&#8230;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-11-26T17:45:19+00:00\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\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\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"Strange behavior when patching GI\/ASM\",\"datePublished\":\"2018-11-26T17:45:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/\"},\"wordCount\":216,\"commentCount\":2,\"keywords\":[\"High availability\",\"Installation\",\"Linux\",\"Oracle 18c\"],\"articleSection\":[\"Database Administration &amp; Monitoring\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/\",\"name\":\"Strange behavior when patching GI\/ASM - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2018-11-26T17:45:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Strange behavior when patching GI\/ASM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"caption\":\"Oracle Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Strange behavior when patching GI\/ASM - dbi Blog","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:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/","og_locale":"en_US","og_type":"article","og_title":"Strange behavior when patching GI\/ASM","og_description":"I tried to apply a patch to my 18.3.0 GI\/ASM two node cluster on RHEL 7.5. The first node worked fine, but the second node got always an error&#8230;","og_url":"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/","og_site_name":"dbi Blog","article_published_time":"2018-11-26T17:45:19+00:00","author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"Strange behavior when patching GI\/ASM","datePublished":"2018-11-26T17:45:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/"},"wordCount":216,"commentCount":2,"keywords":["High availability","Installation","Linux","Oracle 18c"],"articleSection":["Database Administration &amp; Monitoring","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/","url":"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/","name":"Strange behavior when patching GI\/ASM - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2018-11-26T17:45:19+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/strange-behavior-when-patching-giasm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Strange behavior when patching GI\/ASM"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","caption":"Oracle Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/12065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=12065"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/12065\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=12065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=12065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=12065"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=12065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}