Error 0(Native: listNetInterfaces:[3])

在第二个节点执行 root.sh时报下面的错误的解决方法:

Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
Error 0(Native: listNetInterfaces:[3])
  [Error 0(Native: listNetInterfaces:[3])]

[root@node2 bin]# ./oifcfg iflist
eth1 10.10.17.0
virbr0 192.168.122.0
eth0 192.168.100.0
[root@node2 bin]# ./oifcfg setif -global eth0/192.168.100.0:public
[root@node2 bin]# ./oifcfg setif -global eth1/10.10.10.0:cluster_interconnect
[root@node2 bin]# ./oifcfg getif
eth0 192.168.100.0 global public
eth1 10.10.10.0 global cluster_interconnect

这时候没有必要再返回重新执行root.sh 了,需要我们手工执行vipca命令来为两个节点添加一些必要的进程,至于在哪个节点上运行,这个就无所谓了,这里我是在RAC1上执行vipca命令。

同时这个也是解决在node2节点执行root.sh时可以遇到的错误:The given interface(s), "eth0" is not public. Public interfaces should be used to configure virtual IPs.的解决方式

1、以root用户执行vipca

     # cd /oracle/crs_1/bin

     # ./vipca

2、点击“Next”

3、选中“eth0”,点击“Next”

4、在空白处填写各节点对应的vip名称以及IP地址(其实只要填写RAC1的vip名称,再点其他空白处,就自动获取出来了)

5、点击“Next”,下面显示摘要信息

6、点击“Finish”开始安装

7、在这个地方安装完之后就可以点击“ok”退出。

   这个步骤执行完了之后,如果成功,那么相当于我们在节点2上执行root.sh也顺利完成,下一步需要做的就是返回到节点1,执行剩下的步骤。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值