大家好,又见面了,我是全栈君。
Oracle 11g RAC 下错误集锦之—网卡配置故障
系统环境:
操作系统:RedHat EL5.5
集群软件: GI 11G
数据库软件:Oracle 11.2.0.1
故障现象:
Private net NIC 子网掩码不一致,crs 启动失败
查看日志:
[root@fengye1 ~]# tail -f /u01/11.2.0/grid/log/fengye1/crsd/crsd.log
2013-10-27 20:05:03.219: [ GPnP][3046217424]clsgpnp_Init: [at clsgpnp0.c:837] GPnP client pid=26249, tl=3, f=0
2013-10-27 20:05:03.230: [ OCRAPI][3046217424]clsu_get_private_ip_addresses: no ip addresses found.
2013-10-27 20:05:03.230: [GIPCXCPT][3046217424] gipcShutdownF: skipping shutdown, count 2, from [ clsinet.c : 1732], ret gipcretSuccess (0)
2013-10-27 20:05:03.232: [GIPCXCPT][3046217424] gipcShutdownF: skipping shutdown, count 1, from [ clsgpnp0.c : 1021], ret gipcretSuccess (0)
[ OCRAPI][3046217424]a_init_clsss: failed to call clsu_get_private_ip_addr (7)
2013-10-27 20:05:03.233: [ OCRAPI][3046217424]a_init:13!: Clusterware init unsuccessful : [44]
2013-10-27 20:05:03.233: [ CRSOCR][3046217424] OCR context init failure. Error: PROC-44: Error in network address and interface operations Network address and interface operations error [7]
2013-10-27 20:05:03.233: [ CRSD][3046217424][PANIC] CRSD exiting: Could not init OCR, code: 44
2013-10-27 20:05:03.233: [ CRSD][3046217424] Done.
查看网卡配置信息:
[root@fengye1 ~]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 08:00:27:EE:FD:51
inet addr:10.10.10.81 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::a00:27ff:feee:fd51/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:599462 errors:0 dropped:0 overruns:0 frame:0
TX packets:522723 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:326999055 (311.8 MiB) TX bytes:217803442 (207.7 MiB)
[root@fengye3 ~]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 08:00:27:EE:FD:51
inet addr:10.10.10.81 Bcast:10.10.10.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feee:fd51/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:615534 errors:0 dropped:0 overruns:0 frame:0
TX packets:536182 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:334059136 (318.5 MiB) TX bytes:222932877 (212.6 MiB)
解决方法:
修改Private NIC子网掩码(尽量保证RAC下NIC的ip netmask 一致)后,重新启动CRS服务!
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/108013.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...