{"id":1825,"date":"2022-11-16T22:40:33","date_gmt":"2022-11-16T14:40:33","guid":{"rendered":"http:\/\/www.821121.com\/?p=1825"},"modified":"2022-12-05T11:41:03","modified_gmt":"2022-12-05T03:41:03","slug":"oracle-19c-ins-06006%e6%8a%a5%e9%94%99%e8%b8%a9%e5%9d%91%e5%8f%8a%e5%a4%84%e7%90%86%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"http:\/\/www.821121.com\/?p=1825","title":{"rendered":"Oracle 19c [INS-06006]\u62a5\u9519\u8e29\u5751\u53ca\u5904\u7406\u65b9\u6cd5"},"content":{"rendered":"<h1>Author: Hesong Wang<\/h1>\n<hr \/>\n<p><!--more--><\/p>\n<h3>1.\u95ee\u9898\u63cf\u8ff0\uff1a<\/h3>\n<p>\u5b89\u88c5Oracle19C RAC\u65f6\uff0c\u914d\u7f6e\u5b8c\u53c2\u6570\uff0c\u8bbe\u7f6e\u5b8c\u53d8\u91cf\uff0c\u5728\u672c\u5730\u5df2\u7ecf\u53ef\u4ee5\u65e0\u5bc6\u7801\u4e92\u4fe1RAC1\uff0cRAC2\uff0c\u4f46\u662f\u5728\u5b89\u88c5grid\u65f6\u9047\u5230<\/p>\n<pre><code>[INS-06006] Passwordless SSH connectivity not set up between the following node(s)\u3002<\/code><\/pre>\n<p>\u8e29\u4e86ssh8\u4ee5\u4e0a\u7248\u672c\u7684\u5751\u3002<\/p>\n<h3>2.\u89e3\u51b3\u65b9\u6848\uff1a<\/h3>\n<p>\u9996\u5148\u662f\u6000\u7591\u5927\u5c0f\u5199\u95ee\u9898\uff0c\u5728\u5168\u90e8\u6539\u6210\u5c0f\u5199\uff0c\u5220\u9664\u539f\u6765\u7684 .ssh \u6587\u4ef6\u91cd\u65b0<br \/>\nSetup\u4e4b\u540e\u4efb\u7136\u4e0d\u901a\u8fc7\u3002<\/p>\n<p>\u4e4b\u540e\u67e5\u8be2ip\u548c\u7f51\u5361\uff0c\u53d1\u73b0\u6709\u865a\u62df\u7f51\u5361\u7684\u5b58\u5728\uff0c\u628a\u865a\u62df\u7f51\u5361\u5220\u9664\u4e4b\u540e\uff0c\u91cd\u65b0\u914d\u7f6e\uff0c\u53d1\u73b0\u4ecd\u7136\u4e0d\u901a\u8fc7\u3002<\/p>\n<p>\u4e4b\u540e\u68c0\u67e5\u4e86\u4e00\u904d\u914d\u7f6e\u7684\u53c2\u6570\uff0c\u6700\u540e\u67e5\u5230\u662fssh8\u7248\u672c\u7684\u95ee\u9898\uff0c<\/p>\n<pre><code>ssh -V\nOpenSSH_8.9p1, OpenSSL 1.0.2k-fips  26 Jan 2017<\/code><\/pre>\n<pre><code>[root@e9db1 ~]# cp -p \/usr\/bin\/scp \/usr\/bin\/scp-original\n[root@e9db1 ~]# echo &quot;\/usr\/bin\/scp-original -T \\$*&quot; &gt; \/usr\/bin\/scp\n[root@e9db1 ~]# cat \/usr\/bin\/scp\n\/usr\/bin\/scp-original -T $*<\/code><\/pre>\n<p>\u91cd\u65b0\u5b89\u88c5\uff0c\u7136\u540e\u5c31\u901a\u8fc7\u4e86\u3002<\/p>\n<h3>3.\u53c2\u8003\u5185\u5bb9\uff1a<\/h3>\n<p>How to Resolve INS-06006 Passwordless SSH connectivity not set up between the following node(s)<br \/>\nby Ed Chen<br \/>\nSeptember 5, 2015<br \/>\n2 Comments<br \/>\nYou might think the SSH connectivity has been setup correctly by Oracle Universal Installer, but INS-06006 eventually appeared when you tried to test it or enter the next step. In this post, I try to list some possibilities for you to think over, and probably you can find another way out of INS-06006.<\/p>\n<p>Possible Causes of INS-06006<br \/>\nThe error usually from the network problems, please check the following questions:<\/p>\n<p>The host name resolutions wrongly registered on DNS?<br \/>\nBecause OUI could take the wrong node as another to build a wrong connectivity. Hence, please check your DNS or \/etc\/hosts entries again and make sure entries of hostnames are all in one kind of letter case, either lowercase or uppercase.<\/p>\n<p>I know the letter cases does not matter on name resolution, but there's a bug was reported by Oracle, which concerns about the letter case of hostname. For Linux platform, the lowercase would be better.<\/p>\n<p>The network design is correct?<br \/>\nDid you put Public IP, VIP or SCAN IP in different subnets? Because Public IP, VIP and SCAN IP should be all in the same subnet, Private IP should go to a different subnet.<\/p>\n<p>VIP or SCAN is bound into any NIC?<br \/>\nDon't bind VIP or SCAN into any NIC. Oracle clusterware will bind them into network interfaces automatically and dynamically at startup-time. You can only bind public and private IP into NICs.<\/p>\n<p>OpenSSH 8.x Problem<br \/>\nSince Linux 8.1 adopts OpenSSH 8.x, related commands like scp functions a little different than ever. When installer of Grid infra 19.3 validats SSH connectivity, it always fails with INS-06006. Even though you establish the connectivity manually, it cannot pass the SSH validation.<\/p>\n<p>To check the version of OpenSSH, you can do this:<\/p>\n<p>[root@primary01 ~]# ssh -V<br \/>\nOpenSSH_8.0p1, OpenSSL 1.1.1c FIPS  28 May 2019<br \/>\nWorkaround<br \/>\nThe workaround is to disable strict filename checking by adding an option -T.<\/p>\n<p>[root@primary01 ~]# cp -p \/usr\/bin\/scp \/usr\/bin\/scp-original<br \/>\n[root@primary01 ~]# echo &quot;\/usr\/bin\/scp-original -T \\$<em>&quot; &gt; \/usr\/bin\/scp<br \/>\n[root@primary01 ~]# cat \/usr\/bin\/scp<br \/>\n\/usr\/bin\/scp-original -T $<\/em><br \/>\nCancel the installation, then try it again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Author: Hesong Wang<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[],"class_list":["post-1825","post","type-post","status-publish","format-standard","hentry","category--oracle-19c"],"_links":{"self":[{"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/posts\/1825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.821121.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1825"}],"version-history":[{"count":5,"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/posts\/1825\/revisions"}],"predecessor-version":[{"id":1833,"href":"http:\/\/www.821121.com\/index.php?rest_route=\/wp\/v2\/posts\/1825\/revisions\/1833"}],"wp:attachment":[{"href":"http:\/\/www.821121.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.821121.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1825"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.821121.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}