[root@rac1 ~]# /opt/app/grid/bin/crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.
---------------------------------------------------------------[root@rac1 crsd]# vi /opt/app/grid/log/rac1/crsd/crsd.log[  OCRASM][695837408]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=15077, loc=kgfokge
ORA-15077: 找不到提供所需磁盘组的 ASM 实例2012-03-20 17:57:53.086: [  OCRASM][695837408]proprasmo: kgfoCheckMount returned [7]
2012-03-20 17:57:53.086: [  OCRASM][695837408]proprasmo: The ASM instance is down
2012-03-20 17:57:53.087: [  OCRRAW][695837408]proprioo: Failed to open [+CRS]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
2012-03-20 17:57:53.087: [  OCRRAW][695837408]proprioo: No OCR/OLR devices are usable
2012-03-20 17:57:53.087: [  OCRASM][695837408]proprasmcl: asmhandle is NULL
2012-03-20 17:57:53.087: [  OCRRAW][695837408]proprinit: Could not open raw device
2012-03-20 17:57:53.087: [  OCRASM][695837408]proprasmcl: asmhandle is NULL
2012-03-20 17:57:53.087: [  OCRAPI][695837408]a_init:16!: Backend init unsuccessful : [26]
2012-03-20 17:57:53.087: [  CRSOCR][695837408] OCR context init failure.  Error: PROC-26: 访问物理存储时出错 ASM 错误 [SLOS: cat=7, opn=kgfoAl06, dep=15077, loc=kgfokge
ORA-15077: 找不到提供所需磁盘组的 ASM 实例
] [7]
2012-03-20 17:57:53.087: [    CRSD][695837408][PANIC] CRSD exiting: Could not init OCR, code: 26
2012-03-20 17:57:53.087: [    CRSD][695837408] Done.---------------------------------------------------------------[root@rac1 rac1]# vi /opt/app/grid/log/rac1/alertrac1.log[ohasd(6482)]CRS-2765:资源 'ora.crsd' 已失败 (在服务器 'rac1' 上)。
2012-03-20 17:57:51.072
[crsd(7003)]CRS-1013:ASM 磁盘组中的 OCR 位置不可访问。详细资料见 /opt/app/grid/log/rac1/crsd/crsd.log。
2012-03-20 17:57:52.008---------------------------------------------------------------vi /opt/app/grid/log/rac1/crsd/crsd.log[  OCRASM][695837408]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=15077, loc=kgfokge
ORA-15077: 找不到提供所需磁盘组的 ASM 实例2012-03-20 17:57:53.086: [  OCRASM][695837408]proprasmo: kgfoCheckMount returned [7]
2012-03-20 17:57:53.086: [  OCRASM][695837408]proprasmo: The ASM instance is down
2012-03-20 17:57:53.087: [  OCRRAW][695837408]proprioo: Failed to open [+CRS]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
2012-03-20 17:57:53.087: [  OCRRAW][695837408]proprioo: No OCR/OLR devices are usable
2012-03-20 17:57:53.087: [  OCRASM][695837408]proprasmcl: asmhandle is NULL
2012-03-20 17:57:53.087: [  OCRRAW][695837408]proprinit: Could not open raw device
2012-03-20 17:57:53.087: [  OCRASM][695837408]proprasmcl: asmhandle is NULL
2012-03-20 17:57:53.087: [  OCRAPI][695837408]a_init:16!: Backend init unsuccessful : [26]
2012-03-20 17:57:53.087: [  CRSOCR][695837408] OCR context init failure.  Error: PROC-26: 访问物理存储时出错 ASM 错误 [SLOS: cat=7, opn=kgfoAl06, dep=15077, loc=kgfokge
ORA-15077: 找不到提供所需磁盘组的 ASM 实例---------------------------------------------------------------
vi /opt/app/oracle/diag/asm/+asm/+ASM1/trace/alert_+ASM1.log
......
kfdp_dismount(): 2
kfdp_dismountBg(): 2
ERROR: diskgroup CRS was not mounted
NOTE: cache deleting context for group CRS 1/-374186942
WARNING: Disk Group CRS containing configured OCR is not mounted
ORA-15032: not all alterations performed
ORA-15017: diskgroup "CRS" cannot be mounted
在出问题这个节点中。 查询ORACLEASM LISTDISKS 是可以看到的:[root@rac1 /]# oracleasm listdisks
CRS1
CRS2
CRS3
DATA1
DATA2
DATA3
DATA4
RECOVERY1
RECOVERY2--------------------- 另 ----------------------------
[grid@rac1 bin]$ ./crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
[grid@rac1 bin]$
也有说是重启CRS的:
/etc/init.d/init.crs start
但我就没找到 init.crs 这个文件。也试过删除 /var/tmp/.oracle 目录下文件再重启的,都没成功。下面是RAC的一些检测情况:[grid@rac1 bin]$ ./crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
1. ONLINE   2f2ffb7ad6774f21bf2f2378defd8c0b (/dev/oracleasm/disks/CRS1) [CRS]
2. ONLINE   5545bbb9f7b64f86bf3150826ca0c671 (/dev/oracleasm/disks/CRS2) [CRS]
3. ONLINE   068352bd7e9f4f23bf5327ee93fd3709 (/dev/oracleasm/disks/CRS3) [CRS]
Located 3 voting disk(s).
[grid@rac1 bin]$ ./crsctl query
Usage:
  crsctl query crs administrator
     Display admin list  crsctl query crs activeversion
     Lists the Oracle Clusterware operating version  crsctl query crs releaseversion  crsctl query crs softwareversion [<nodename>]
     Lists the version of Oracle Clusterware software installed
where
     Default         List software version of the local node
     nodename        List software version of named node  crsctl query css ipmidevice
     Checks if the IPMI driver is present.  crsctl query css votedisk
     Lists the voting files used by Cluster Synchronization Services  crsctl query wallet -type <wallet_type> [-name <name>] [-user <user_name>]
     Check if the designated wallet or user exists
where
     wallet_type     Type of wallet i.e. APPQOSADMIN, APPQOSUSER or APPQOSDB.
     name            Name is required for APPQOSDB wallets.
     user_name       User to be queried from wallet.
[grid@rac1 bin]$ ./ocrcheck
PROT-602: Failed to retrieve data from the cluster registry
PROC-26: Error while accessing the physical storage ASM error [SLOS: cat=8, opn=kgfolclcpi1, dep=301, loc=kgfokge
AMDU-00301: Unable to open file tmp-CRS.ocr
] [8]
[grid@rac1 bin]$ ./crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.

解决方案 »

  1.   

    怎样启动ASM 实例?以下是启动CLUSTER 提示:[root@rac1 ~]# /opt/app/grid/bin/crsctl start cluster
    CRS-2679: 尝试清除 'ora.drivers.acfs' (在 'rac1' 上)
    CRS-5013: 代理 "/opt/app/grid/bin/orarootagent.bin" 无法启动进程 "/opt/app/grid/bin/acfsload" 以执行操作 "clean": 详细资见 "(:CLSN00008:)" (位于 "/opt/app/grid/log/rac1/agentasd/orarootagent_root/orarootagent_root.log")
    CRS-5013: 代理 "/opt/app/grid/bin/orarootagent.bin" 无法启动进程 "/opt/app/grid/bin/acfsload" 以执行操作 "check": 详细资见 "(:CLSN00008:)" (位于 "/opt/app/grid/log/rac1/agentasd/orarootagent_root/orarootagent_root.log")
    CRS-2680: 未能清除 'ora.drivers.acfs' (在 'rac1' 上)
    CRS-2672: 尝试启动 'ora.asm' (在 'rac1' 上)
    ORA-12545: 因目标主机或对象不存在, 连接失败
    CRS-5011: 检查资源 "+ASM" 失败: 详细资料见 "(:CLSN00006:)" (位于 "/opt/app/grid/log/rac1/agentasd/oraagent_grid/oraagent_grid.log")
    ORA-12545: 因目标主机或对象不存在, 连接失败
    ORA-12545: 因目标主机或对象不存在, 连接失败
    这里说到的 “目标主机或对象” 是指 +ASM?
    CRS-5011: 检查资源 "+ASM" 失败: 详细资料见 "(:CLSN00006:)" (位于 "/opt/app/grid/log/rac1/agentasd/oraagent_grid/oraagent_grid.log")
    CRS-2674: 未能启动 'ora.asm' (在 'rac1' 上)
    CRS-2679: 尝试清除 'ora.asm' (在 'rac1' 上)
    CRS-5011: 检查资源 "+ASM" 失败: 详细资料见 "(:CLSN00006:)" (位于 "/opt/app/grid/log/rac1/agentasd/oraagent_grid/oraagent_grid.log")
    ORA-12545: 因目标主机或对象不存在, 连接失败
    ORA-12545: 因目标主机或对象不存在, 连接失败
    ORA-12545: 因目标主机或对象不存在, 连接失败
    CRS-5011: 检查资源 "+ASM" 失败: 详细资料见 "(:CLSN00006:)" (位于 "/opt/app/grid/log/rac1/agentasd/oraagent_grid/oraagent_grid.log")
    CRS-2681: 成功清除 'ora.asm' (在 'rac1' 上)
      

  2.   

    指定环境变量为ASM磁盘组名后启动数据库
      

  3.   

    ORACLE 11G ,集群用户为:GRID,数据库用户为;ORACLE;
    现在启动集群时提示:ASM [root@rac1 rac1]# vi /opt/app/grid/log/rac1/alertrac1.log [ohasd(6482)]CRS-2765:资源 'ora.crsd' 已失败 (在服务器 'rac1' 上)。
    2012-03-20 17:57:51.072
    [crsd(7003)]CRS-1013:ASM 磁盘组中的 OCR 位置不可访问。详细资料见 /opt/app/grid/log/rac1/crsd/crsd.log。
    2012-03-20 17:57:52.008这时群集启动不了,其它的更没启动。
    指定环境变量为ASM磁盘组名后启动数据库
    是指在GRID 还是 ORACLE 下呢?试过ORACLE用户下,无法启动;GRID用户下,没找到 ora 文件。
      

  4.   

    [oracle@rac1 ~]$ export ORACLE_SID=+ASM1
    [oracle@rac1 ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Mon Mar 26 11:07:56 2012Copyright (c) 1982, 2009, Oracle.  All rights reserved.Connected to an idle instance.SQL> startup
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/opt/app/oracle/product/11.2.0/dbs/init+ASM1.ora'
    SQL>