本文共 3952 字,大约阅读时间需要 13 分钟。
redhat6.9安装oracle11.2.0.4 执行root.sh脚本,发现scp文件至节点2无法传输报错
INFO: /tmp/OraInstall2020-05-04_11-56-08PM/mvstubs.shINFO: Copying Oracle home '/u01/app/11.2.0/grid' to remote nodes 'wsgw2'.INFO: Copying Oracle home '/u01/app/11.2.0/grid' to remote nodes 'wsgw2'.WARNING: Error while copying directory /u01/app/11.2.0/grid with exclude file list '/tmp/OraInstall2020-05-04_11-56-08PM/installExcludeFile.lst' to nodes 'wsgw2'. [PRCF-2010 : All connections to the remote nodes got refused. Cannot proceed with the file transfer. There has to be at least one remote node to send the installer files!PRCF-2010 : All connections to the remote nodes got refused. Cannot proceed with the file transfer. There has to be at least one remote node to send the installer files!]Refer to '/u01/app/oraInventory/logs/installActions2020-05-04_11-56-08PM.log' for details. You may fix the errors on the required remote nodes. Refer to the install guide for error recovery. Click 'Yes' if you want to proceed. Click 'No' to exit the install. Do you want to continue?
查询MOS
Linux: GI installation fails as bindv6only is set to 1: "PRCF-2010 : All connections to the remote nodes got refused. Cannot proceed with the file transfer" (Doc ID 1999296.1) The firewall is disabled and hence not the cause of the connections being refused虽然版本不太匹配,MOS是12.1 但是其中有关于ip6tables!!!root@node1:~$ /etc/init.d/iptables statusiptables: Firewall is not running.root@node1:~$ /etc/init.d/ip6tables statusip6tables: Firewall is not running.root@node2:~$ /etc/init.d/iptables statusiptables: Firewall is not running.root@node2:~$ /etc/init.d/ip6tables statusip6tables: Firewall is not running. SOLUTIONThe issue is caused by the kernel parameter net.ipv6.bindv6only being set to 1 as seen belowgrid@node1:~> sysctl net.ipv6.bindv6onlynet.ipv6.bindv6only = 1grid@node1:~>The solution is to set net.ipv6.bindv6only to 0 and install the Grid Infrastructure softwarenode1:~ # sysctl net.ipv6.bindv6only=0net.ipv6.bindv6only = 0node1:~ #
实际环境检测
系统安装redhat6.9 防火墙已关闭,但是对于ipv6的服务并未关闭!!! 因此是这个问题导致的,关闭ipv6服务后,ok 两个节点都要操作 [root@wsgw1 CVU_11.2.0.4.0_grid]# /etc/init.d/iptables statusiptables: Firewall is not running.[root@wsgw1 CVU_11.2.0.4.0_grid]# sysctl net.ipv6.bindv6only net.ipv6.bindv6only = 0[root@wsgw1 CVU_11.2.0.4.0_grid]# [root@wsgw1 CVU_11.2.0.4.0_grid]# [root@wsgw1 CVU_11.2.0.4.0_grid]# sysctl -a|grep -i 'ipv6'|grep 'disable'net.ipv6.conf.all.disable_ipv6 = 0net.ipv6.conf.default.disable_ipv6 = 0net.ipv6.conf.eth0.disable_ipv6 = 0net.ipv6.conf.eth1.disable_ipv6 = 0net.ipv6.conf.lo.disable_ipv6 = 0[root@wsgw1 CVU_11.2.0.4.0_grid]# /etc/init.d/ip6tables statusTable: filterChain INPUT (policy ACCEPT)num target prot opt source destination 1 ACCEPT all ::/0 ::/0 state RELATED,ESTABLISHED 2 ACCEPT icmpv6 ::/0 ::/0 3 ACCEPT all ::/0 ::/0 4 ACCEPT udp ::/0 fe80::/64 state NEW udp dpt:546 5 ACCEPT tcp ::/0 ::/0 state NEW tcp dpt:22 6 REJECT all ::/0 ::/0 reject-with icmp6-adm-prohibited Chain FORWARD (policy ACCEPT)num target prot opt source destination 1 REJECT all ::/0 ::/0 reject-with icmp6-adm-prohibited Chain OUTPUT (policy ACCEPT)num target prot opt source destination [root@wsgw1 CVU_11.2.0.4.0_grid]# /etc/init.d/ip6tables stopip6tables: Setting chains to policy ACCEPT: filter [ OK ]ip6tables: Flushing firewall rules: [ OK ]ip6tables: Unloading modules: [ OK ][root@wsgw1 CVU_11.2.0.4.0_grid]# chkconfig --level 35 iptables off [root@wsgw2 CVU_11.2.0.4.0_grid]# /etc/init.d/ip6tables statusip6tables: Firewall is not running.
转载地址:http://dtlyz.baihongyu.com/