网上一个朋友的11gr2 安装出现问题,crs无法启动
查看crsd的log如下
2010-06-08 22:56:33.127: [ GPnP][3085908288]clsgpnp_getCK: [at clsgpnp0.c:1965] Result: (0) CLSGPNP_OK. Get gpnp wallet - provider 1 of 2 (LSKP-FSW(1))
2010-06-08 22:56:33.127: [ GPnP][3085908288]clsgpnp_getCK: [at clsgpnp0.c:1982] Got gpnp security keys (wallet).>
2010-06-08 22:56:33.127: [ GPnP][3085908288]clsgpnp_Init: [at clsgpnp0.c:837] GPnP client pid=10307, tl=3, f=0
2010-06-08 22:56:33.144: [ OCRAPI][3085908288]clsu_get_private_ip_addresses: no ip addresses found.
2010-06-08 22:56:33.144: [GIPCXCPT][3085908288] gipcShutdownF: skipping shutdown, count 2, from [ clsinet.c : 1732], ret gipcretSuccess (0)
2010-06-08 22:56:33.148: [GIPCXCPT][3085908288] gipcShutdownF: skipping shutdown, count 1, from [ clsgpnp0.c : 1021], ret gipcretSuccess (0)
[ OCRAPI][3085908288]a_init_clsss: failed to call clsu_get_private_ip_addr (7)
2010-06-08 22:56:33.151: [ OCRAPI][3085908288]a_init:13!: Clusterware init unsuccessful : [44]
2010-06-08 22:56:33.151: [ CRSOCR][3085908288] OCR context init failure. Error: PROC-44: Error in network address and interface operations Network address and interface operations error [7]
2010-06-08 22:56:33.151: [ CRSD][3085908288][PANIC] CRSD exiting: Could not init OCR, code: 44
2010-06-08 22:56:33.152: [ CRSD][3085908288] Done.
这里关键的错误时
OCR context init failure. Error: PROC-44: Error in network address and
interface operations Network address and interface operations error [7]
可以看到是网络问题导致的。
查看/etc/hosts
并对其中的ip进行ping,没有异常,都可以ping通
用oifcfg查看发现端倪
[grid@rac1 ~]$ oifcfg iflist
eth0 192.168.137.0
eth1 172.16.0.0
inter_connect的网段应该是172.16.10.0,而不是这里的172.16.0.0
route查看结果,
确实网段是172.16.0.0而不是应该的172.16.10.0
应该是网络配置的问题了。
仔细检查了eth1的配置/etc/sysconfig/network-scripts/ifcfg-eth1
发现错误的地方时其中配置文件中的
NETMASK=255.255.255.0
拼成了
NETMARK=255.255.255.0
导致错误
修改过了,在启动crs成功。
Oracle技术论坛
http://www.oraforum.net