之前安装Oracle10g时曾遇到类似错误,此版本为Oracle11g下执行root.sh报Timeout错误的解决过程一例
。
【情况描述】
在Oracle Linux 6.1 上安装11.2.0.1的RAC,在第二个节点执行root.sh时,报time out,如下:
[root@rac2 ~]# /u01/app/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...
The following environment variables are setas:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/grid
>>此处省略部分输出<<
CRS-2676: Start of 'ora.crsd' on 'rac2'succeeded
CRS-2672: Attempting to start 'ora.evmd' on'rac2'
CRS-2676: Start of 'ora.evmd' on 'rac2'succeeded
Timed outwaiting for the CRS stack to start.
查看两节点Cluster状态均为正常:
[oracle@rac1 bin]$ ./crsctl check cluster-all
**************************************************************
rac1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Servicesis online
CRS-4533: EventManager is online
[oracle@rac2 bin]$ ./crsctl check cluster -all
**************************************************************
rac2:
CRS-4535: Cannot communicate with ClusterReady Services
CRS-4529: Cluster Synchronization Servicesis online
CRS-4533: EventManager is online
在第二个节点上执行crs_stat –t –v时,出现CRS-0184错误,如下:
[oracle@rac2 bin]$ ./crs_stat -t -v
CRS-0184: Cannot communicate with the CRSdaemon.
【可能原因】
此异常通常是由于两节点间的防火墙、时间设置、SELinux、网卡类型、两节点间网卡名称不一致等引起节点间crsd.bin通讯出现异常,进而导致Timeout。
【处理步骤】
STEP1: 先deconfig掉出错节点(节点2)的配置:
[root@rac2 ~]#/u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -verbose –force
>>此处省略部分输出<<
CRS-4133: Oracle High Availability Serviceshas been stopped.
error: package cvuqdisk is not installed
Successfully deconfigured Oracleclusterware stack on this node
STEP2: 修正错误
STEP3: 重新执行root.sh脚本:
[root@rac2 ~]# /u01/app/11.2.0/grid/root.sh
STEP4: 检查是否成功:
[oracle@rac2 bin]$ ./crsctl check cluster-all
[oracle@rac2 bin]$ ./crs_stat -t –v
此时可以看到两节点间的进程都已经起来了。
参考资料: http://blog.csdn.net/tianlesoftware/article/details/7697349
。
【情况描述】
在Oracle Linux 6.1 上安装11.2.0.1的RAC,在第二个节点执行root.sh时,报time out,如下:
[root@rac2 ~]# /u01/app/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...
The following environment variables are setas:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/grid
>>此处省略部分输出<<
CRS-2676: Start of 'ora.crsd' on 'rac2'succeeded
CRS-2672: Attempting to start 'ora.evmd' on'rac2'
CRS-2676: Start of 'ora.evmd' on 'rac2'succeeded
Timed outwaiting for the CRS stack to start.
查看两节点Cluster状态均为正常:
[oracle@rac1 bin]$ ./crsctl check cluster-all
**************************************************************
rac1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Servicesis online
CRS-4533: EventManager is online
[oracle@rac2 bin]$ ./crsctl check cluster -all
**************************************************************
rac2:
CRS-4535: Cannot communicate with ClusterReady Services
CRS-4529: Cluster Synchronization Servicesis online
CRS-4533: EventManager is online
在第二个节点上执行crs_stat –t –v时,出现CRS-0184错误,如下:
[oracle@rac2 bin]$ ./crs_stat -t -v
CRS-0184: Cannot communicate with the CRSdaemon.
【可能原因】
此异常通常是由于两节点间的防火墙、时间设置、SELinux、网卡类型、两节点间网卡名称不一致等引起节点间crsd.bin通讯出现异常,进而导致Timeout。
【处理步骤】
STEP1: 先deconfig掉出错节点(节点2)的配置:
[root@rac2 ~]#/u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -verbose –force
>>此处省略部分输出<<
CRS-4133: Oracle High Availability Serviceshas been stopped.
error: package cvuqdisk is not installed
Successfully deconfigured Oracleclusterware stack on this node
STEP2: 修正错误
STEP3: 重新执行root.sh脚本:
[root@rac2 ~]# /u01/app/11.2.0/grid/root.sh
STEP4: 检查是否成功:
[oracle@rac2 bin]$ ./crsctl check cluster-all
[oracle@rac2 bin]$ ./crs_stat -t –v
此时可以看到两节点间的进程都已经起来了。
参考资料: http://blog.csdn.net/tianlesoftware/article/details/7697349