在第二个节点运行root.sh时,报以下错误,节点一正常
Adding Clusterware entries to inittab
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node db1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
/grid/orahome/11gr2/bin/srvctl start nodeapps -n db2 ... failed
Failed to start Nodeapps at /grid/orahome/11gr2/crs/install/crsconfig_lib.pm line 9217.
/grid/orahome/11gr2/perl/bin/perl -I/grid/orahome/11gr2/perl/lib -I/grid/orahome/11gr2/crs/install /grid/orahome/11gr2/crs/install/rootcrs.pl execution failed
查看ons状态是CHECK TIMED OUT
ora.ons
ONLINE UNKNOWN db11 CHECK TIMED OUT
然后关闭crs和crsctl stop crs -f 强制关闭也不行
后来试了很多方法,最终对比2个节点/etc/hosts配置,发现节点2/etc/hosts多了一行不用的Ip地址
去掉后正常
看来 ons与/etc/hosts配置有关系,大家要注意。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7199859/viewspace-1785465/
,如需转载,请注明出处,否则将追究法律责任。