rac 11g 安装错误“Timed outwaiting for the CRS stack to start”的解决

来源:互联网 发布:古琴调音软件 编辑:程序博客网 时间:2024/05/21 15:43

    最近在安装oracle 11gR2的时候,在第一个节点执行root.sh成功,而在第二个节点执行root.sh的时候发生错误:

    CRS-2672: Attempting to start 'ora.mdnsd' on 'rhel2'    CRS-2676: Start of 'ora.mdnsd' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.gipcd' on 'rhel2'    CRS-2676: Start of 'ora.gipcd' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.gpnpd' on 'rhel2'    CRS-2676: Start of 'ora.gpnpd' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rhel2'    CRS-2676: Start of 'ora.cssdmonitor' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.cssd' on 'rhel2'    CRS-2672: Attempting to start 'ora.diskmon' on 'rhel2'    CRS-2676: Start of 'ora.diskmon' on 'rhel2' succeeded    CRS-2676: Start of 'ora.cssd' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.ctssd' on 'rhel2'    CRS-2676: Start of 'ora.ctssd' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.asm' on 'rhel2'    CRS-2676: Start of 'ora.asm' on 'rhel2' succeeded                    CRS-2672: Attempting to start 'ora.crsd' on 'rhel2'    CRS-2676: Start of 'ora.crsd' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.evmd' on 'rhel2'    CRS-2676: Start of 'ora.evmd' on 'rhel2' succeeded    Timed out waiting for the CRS stack to start.

     之前曾经有人遇到过这个问题:
    参考1说的是网卡名称不一样,而我的都一样。
    参考2说的是防火墙没关,而我的也关了。
    参考3说需要重启一下机子再重新执行root.sh,我这样做了,结果还是有问题。

    而且每次都是第一次执行root.sh的时候报:

    Timed outwaiting for the CRS stack to start

    如果清除了注册信息,即执行:

    /u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -verbose -force

    之后,再执行root.sh,则报的错跟第一次就不一样了: 

    CRS-2672: Attempting to start 'ora.mdnsd' on 'rhel2'    CRS-2676: Start of 'ora.mdnsd' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.gipcd' on 'rhel2'    CRS-2676: Start of 'ora.gipcd' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.gpnpd' on 'rhel2'    CRS-2676: Start of 'ora.gpnpd' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rhel2'    CRS-2676: Start of 'ora.cssdmonitor' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.cssd' on 'rhel2'    CRS-2672: Attempting to start 'ora.diskmon' on 'rhel2'    CRS-2676: Start of 'ora.diskmon' on 'rhel2' succeeded    CRS-2676: Start of 'ora.cssd' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.ctssd' on 'rhel2'    CRS-2676: Start of 'ora.ctssd' on 'rhel2' succeeded    CRS-2672: Attempting to start 'ora.asm' on 'rhel2'    CRS-5011: Check of resource "+ASM" failed: details at "(:CLSN00006:)" in "/u01/app/11.2.0/grid/log/rhel2/agent/ohasd/oraagent_grid/oraagent_grid.log"    CRS-2674: Start of 'ora.asm' on 'rhel2' failed    CRS-2679: Attempting to clean 'ora.asm' on 'rhel2'    CRS-5011: Check of resource "+ASM" failed: details at "(:CLSN00006:)" in "/u01/app/11.2.0/grid/log/rhel2/agent/ohasd/oraagent_grid/oraagent_grid.log"    CRS-2681: Clean of 'ora.asm' on 'rhel2' succeeded    CRS-4000: Command Start failed, or completed with errors.    Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl start resource ora.asm -init    Start of resource "ora.asm -init" failed    Failed to start ASM    Failed to start Oracle Clusterware stack
    安装环境如下:

    数据库服务器:Red Hat 5.4,Red Hat 6.4,64位    存储服务器:openfiler 2.99,64位    rac:oracle 11gR2 11.2.0.1,64位
    存储使用openfiler,在数据库服务器端没有使用ASMlib(之前使用过,报同样的错),后来使用udev直接做了磁盘的固定路径。数据库服务器,存储服务器均使用的惠普pc机(一共3台)。数据库服务器RedHat 5和RedHat 6都尝试过。多说一句,在PC机上安装RedHat 5的时候费了好大周折,应该是PC预配置针对windows做了某些优化。虽然我们早已被微软绑架,但可悲的不是我们染上了大烟瘾,而是娱乐场所已经免费供应了。

    试了好多方式解决不了,最后竟然发现,是交换机的问题抓狂

    之前的交换机,我使用TP-LINK的TL-WDR4310型号750M双频千兆路由器,充当交换机使用:

    

    真的没想到会有问题。后来去别的部门借了一部个头大一点专业一点的8口交换机:

    

    再试了一下,竟然通过了!

    看来如果在实体机上安装oracle rac还是尽量使用专业设备。

1 0