解决10201 RAC在root时的Native: listNetInterfaces:[3]

来源:互联网 发布:黑暗之光元神升阶数据 编辑:程序博客网 时间:2024/06/18 05:29
解决10201 RAC在root时的Native: listNetInterfaces:[3]

一。问题

10201 RAC 在OEL5上安装时,root第2个节点时报如下错误 :
[root@o10n2 install]# /oracle/product/10.2.0/crs/root.sh
WARNING: directory '/oracle/product/10.2.0' is not owned by root
WARNING: directory '/oracle/product' is not owned by root
WARNING: directory '/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured


Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/oracle/product/10.2.0' is not owned by root
WARNING: directory '/oracle/product' is not owned by root
WARNING: directory '/oracle' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: o10n1 o10n1-priv o10n1
node 2: o10n2 o10n2-priv o10n2
clscfg: Arguments check out successfully.


NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 90 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
        o10n1
        o10n2
CSS is active on all nodes.
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])]
  
  
  
 运行图形化vipca也会报:
 
 rfaces(VipCA.java:614)
oracle.ops.vipca.VipCA.processGUIArgs(VipCA.java:452)
oracle.ops.vipca.VipCA.runApplication(VipCA.java:2841)
oracle.ops.vipca.VipCA.main(VipCA.java:3147)
Error 0(Native: listNetInterfaces:[3])
  [Error 0(Native: listNetInterfaces:[3])]




二。解决方法 

[root@o10n2 bin]# ./oifcfg iflist
eth0  192.168.150.0
eth1  172.168.146.0
[root@o10n2 bin]# ./oifcfg setif -global eth0/192.168.150.0:public
[root@o10n2 bin]# ./oifcfg setif -global eth1/172.168.146.0:cluster_interconnect
[root@o10n2 bin]# ./oifcfg iflist
eth0  192.168.150.0
eth1  172.168.146.0
[root@o10n2 bin]# ./oifcfg getif
eth0  192.168.150.0  global  public
eth1  172.168.146.0  global  cluster_interconnect


图形化vipca可以打开了,运行rootdelete.sh后再运行root.sh,以上报错不见了