oracle 11gR2 RAC for linux x86_64 grid运行root.sh 失败问题处理
oracle 11gR2 RAC for linux x86_64 grid运行root.sh 失败问题处理
在oracle 11gR2 RAC for linux x86_64安装过程中,grid用户运行root.sh在第一节点可以成功,但在第二节点不成功,报错如下:
[font=新宋体]CRS-2674: Start of 'ora.cssd' on 'racnode2' failed
CRS-2679: Attempting to clean 'ora.cssd' on 'racnode2'
CRS-2681: Clean of 'ora.cssd' on 'racnode2' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'racnode2'
CRS-2677: Stop of 'ora.diskmon' on 'racnode2' succeeded
CRS-4000: Command Start failed, or completed with errors.
CRS-2672: Attempting to start 'ora.cssd' on 'racnode2'
CRS-2672: Attempting to start 'ora.diskmon' on 'racnode2'
CRS-2674: Start of 'ora.diskmon' on 'racnode2' failed
CRS-2679: Attempting to clean 'ora.diskmon' on 'racnode2'
CRS-5016: Process "/opt/oracle/11.2.0/grid/bin/diskmon" spawned by agent "/opt/oracle/11.2.0/grid/bin/orarootagent.bin" for action "clean" failed: details at "(:CLSN00010:)" in "/opt/oracle/11.2.0/grid/log/racnode2/agent/ohasd/orarootagent_root/orarootagent_root.log"
CRS-2681: Clean of 'ora.diskmon' on 'racnode2' succeeded
CRS-2674: Start of 'ora.cssd' on 'racnode2' failed
CRS-2679: Attempting to clean 'ora.cssd' on 'racnode2'
CRS-2681: Clean of 'ora.cssd' on 'racnode2' succeeded
CRS-4000: Command Start failed, or completed with errors.
Command return code of 1 (256) from command: /opt/oracle/11.2.0/grid/bin/crsctl start resource ora.ctssd -init -env USR_ORA_ENV=CTSS_REBOOT=TRUE
Start of resource "ora.ctssd -init -env USR_ORA_ENV=CTSS_REBOOT=TRUE" failed
Failed to start CTSS
Failed to start Oracle Clusterware stack
检查GRID_HOME/log/
2010-05-18 11:20:23.418: [ CSSD][2511965952]clssnmvDHBValidateNCopy: node 1, , has a disk HB, but no network HB, DHB has rcfg 169642893, wrtcnt, 1013, LATS 4141244, lastSeqNo 1013, uniqueness 1274151780, timestamp 1274152822/4138854
主要是节点2与节点1不能建立网络连接,导致节点2 CSS daemon启动失败,找到问题原因,解决方法就很容易
1.ssh能成功,説明网络设置正确,最大的可能性是linux下的防火墙了
linux下停止防火墙
[font=新宋体]service iptables stop
service ip6tables stop
[font=新宋体]禁用防火墙
[font=新宋体]chkconfig iptables off
chkconfig ip6tables off
[font=新宋体]重新运行root.sh,问题解决。