zoukankan      html  css  js  c++  java
  • RAC安装gird,第一个节点执行root.sh报"The ora.asm resource is not ONLINE"错误

    RAC版本:11.2.0.4

    OS版本:linux 6.4

    RAC安装gird,第一个节点执行root.sh运行失败,报"The ora.asm resource is not ONLINE"错误。详细日志如下:

    # /u01/app/11.2.0/grid/root.sh 
    Performing root user operation for Oracle 11g 
    
    The following environment variables are set as:
        ORACLE_OWNER= grid
        ORACLE_HOME=  /u01/app/11.2.0/grid
    
    Enter the full pathname of the local bin directory: [/usr/local/bin]: 
    The contents of "dbhome" have not changed. No need to overwrite.
    The contents of "oraenv" have not changed. No need to overwrite.
    The contents of "coraenv" have not changed. No need to overwrite.
    
    
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root script.
    Now product-specific root actions will be performed.
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    Installing Trace File Analyzer
    OLR initialization - successful
      root wallet
      root wallet cert
      root cert export
      peer wallet
      profile reader wallet
      pa wallet
      peer wallet keys
      pa wallet keys
      peer cert request
      pa cert request
      peer cert
      pa cert
      peer root cert TP
      profile reader root cert TP
      pa root cert TP
      peer pa cert TP
      pa peer cert TP
      profile reader pa cert TP
      profile reader peer cert TP
      peer user cert
      pa user cert
    Adding Clusterware entries to upstart
    CRS-2672: Attempting to start 'ora.mdnsd' on 'ysdb2'
    CRS-2676: Start of 'ora.mdnsd' on 'ysdb2' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'ysdb2'
    CRS-2676: Start of 'ora.gpnpd' on 'ysdb2' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'ysdb2'
    CRS-2672: Attempting to start 'ora.gipcd' on 'ysdb2'
    CRS-2676: Start of 'ora.cssdmonitor' on 'ysdb2' succeeded
    CRS-2676: Start of 'ora.gipcd' on 'ysdb2' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'ysdb2'
    CRS-2672: Attempting to start 'ora.diskmon' on 'ysdb2'
    CRS-2676: Start of 'ora.diskmon' on 'ysdb2' succeeded
    CRS-2676: Start of 'ora.cssd' on 'ysdb2' succeeded
    
    ASM created and started successfully.
    
    Disk Group CRS created successfully.
    
    The ora.asm resource is not ONLINE
    Did not succssfully configure and start ASM at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6912.
    /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
    

    解决过程:
    1.搜索MOS
    在MOS中发现这篇文章:root.sh Fails as the ora.asm resource is not ONLINE or PROTL-16 Reports [ID 1259874.1]
    但是版本不对,在11.2.0.4中不应该有这个bug问题。
    不过还是按照文中说明检查了以下日志信息,但是没有发现有用信息:

    $GRID_HOME/cfgtoollogs/crsconfig/rootcrs_$HOSTNAME.log
    $GRID_HOME/log/$HOSTNAME/agent/ohasd/oraagent_$GRID_USER/oraagent_$GRID_USER.log
    

    2.尝试重新安装,问题继续重现。

    3.google出一篇文章,文中说如果网卡设置了NOARP的话,会出现这个错误。
     本环境并没有配置NOARP。不过这篇文章却将我的思路转移到了网络配置上。

    4.感觉public网络问题不大,就重点往心跳网络上想。尝试将两个节点心跳线直接互联进行安装,居然安装成功了,脚本顺利运行结束。

    和网络沟通,原来网络工程师将两个心跳线和其中一个节点的public网络接在同一个交换机上。最终的解决方案是心跳线使用专用的交换机。

    鉴于工程师的"执着",期间还尝试了其它连接方式,至于过程吗,有撕逼经历的都懂。

  • 相关阅读:
    一款炫酷Loading动画--载入失败
    ITK Configuring and Building in VisualStudio及hello world程序编译
    InnoDB: Error: log file .ib_logfile0 is of different size 0 10485760 bytes
    vim学习笔记(1)——vim操作
    Android数据格式解析对象JSON用法
    JSONObject与JSONArray的使用
    AsyncHttpClient来完成网页源代码的显示功能,json数据在服务器端的读取还有安卓上的读取
    android开源框架android-async-http使用
    开源框架AsyncHttpClient使用
    Android:Layout_weight的深刻理解
  • 原文地址:https://www.cnblogs.com/abclife/p/5069316.html
Copyright © 2011-2022 走看看