PROC-44 Error in network address and interface operations Network address and interface operations error
现象
root.sh执行到如下位置卡住:
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
执行root.sh卡在启动ora.crsd进程过程(crsctl stat res -t -init),查询日志“/u01/app/11.2.0.4/grid/log/rac1/crsd/crsd.log”,报错:
2022-08-04 23:47:25.005: [ OCRAPI][1969076032]clsu_get_private_ip_addresses: no ip addresses found.
[ OCRAPI][1969076032]a_init_clsss: failed to call clsu_get_private_ip_addr (7)
2022-08-04 23:47:25.208: [ OCRAPI][1969076032]a_init:13!: Clusterware init unsuccessful : [44]
2022-08-04 23:47:25.208: [ CRSOCR][1969076032] OCR context init failure. Error: PROC-44: Error in network address and interface operations Network address and interface operations error [7]
2022-08-04 23:47:25.208: [ CRSD][1969076032] Created alert : (:CRSD00111:) : Could not init OCR, error: PROC-44: Error in network address and interface operations Network address and interface operations error [7]
2022-08-04 23:47:25.208: [ CRSD][1969076032][PANIC] CRSD exiting: Could not init OCR, code: 44
2022-08-04 23:47:25.208: [ CRSD][1969076032] Done.
预检查报错:
ERROR:
Unable to obtain network interface list from Oracle Clusterware PRCT-1011 : Failed to run "oifcfg". Detailed error: null
Verification cannot proceed
Interfaces found on subnet "172.20.7.0" that are likely candidates for VIP are:
rac2 eth0:172.20.7.36
rac1 eth0:172.20.7.35
Interfaces found on subnet "1.1.0.0" that are likely candidates for VIP are:
rac2 eth1:1.1.2.2
rac1 eth1:1.1.2.1
WARNING:
Could not find a suitable set of interfaces for the private interconnect
Checking subnet mask consistency...
Subnet mask consistency check passed for subnet "172.20.7.0".
Subnet mask consistency check passed for subnet "1.1.0.0".
Subnet mask consistency check passed.
Result: Node connectivity check passed
Checking multicast communication...
Checking subnet "172.20.7.0" for multicast communication with multicast group "230.0.1.0"...
PRVG-11134 : Interface "172.20.7.36" on node "rac2" is not able to communicate with interface "172.20.7.35" on node "rac1"
PRVG-11134 : Interface "172.20.7.35" on node "rac1" is not able to communicate with interface "172.20.7.36" on node "rac2"
Checking subnet "172.20.7.0" for multicast communication with multicast group "224.0.0.251"...
Check of subnet "172.20.7.0" for multicast communication with multicast group "224.0.0.251" passed.
Checking subnet "1.1.0.0" for multicast communication with multicast group "230.0.1.0"...
Check of subnet "1.1.0.0" for multicast communication with multicast group "230.0.1.0" passed.
Check of multicast communication passed.
解决
子网掩码为“255.255.0.0”,所以安装的时候私网的子网写错了。
1 2 3 4 5 6 7 8 9 | [root@cwrac2 ~]# ifconfig eth1 eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 1.1.3.2 netmask 255.255.0.0 broadcast 1.1.255.255 inet6 fe80::f816:3eff:fefd:fe prefixlen 64 scopeid 0x20<link> ether fa:16:3e:fd:00:fe txqueuelen 1000 (Ethernet) RX packets 1756 bytes 359786 (351.3 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 8 bytes 1088 (1.0 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
解决办法:修改文件“/u01/app/11.2.0.4/grid/crs/install/crsconfig_params”,将
1 | NETWORKS="eth0"/172.20.7.0:public,"eth1"/1.1.2.0:cluster_interconnect |
修改为:
1 | NETWORKS="eth0"/172.20.7.0:public,"eth1"/1.1.0.0:cluster_interconnect |
然后重新执行root.sh即可。执行root.sh可以参考:https://www.xmmup.com/oracle-raczhongxinzhixingroot-shjiaoben.html
若重新执行还是不行,则只能删除集群,然后重新安装了,删除集群请参考:https://www.xmmup.com/ruheshougongxiezaioracle-racjiqun.html