Oracle 11g RAC CRS-4535/ORA-15077_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2402 | 回复: 0   主题:  Oracle 11g RAC CRS-4535/ORA-15077        下一篇 
刘习托
注册用户
等级:中士
经验:208
发帖:66
精华:0
注册:2011-11-23
状态:离线
发送短消息息给刘习托 加好友    发送短消息息给刘习托 发消息
发表于: IP:您无权察看 2015-7-8 14:22:45 | [全部帖] [楼主帖] 楼主

    1、环境  

     [root@linux2 ~]# cat /etc/issue

    Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)

    Kernel \r on an \m

    [root@linux2 bin]# ./crsctl query crs activeversion

    Oracle Clusterware active version on the cluster is [11.2.0.1.0]

    #注意下文中描述中使用了grid与root用户操作不同的对象。

    2、错误症状  

     [root@linux2 bin]# ./crsctl check crs

    CRS-4638: Oracle High Availability Services is online

    CRS-4535: Cannot communicate with Cluster Ready Services   #CRS-4535

    CRS-4529: Cluster Synchronization Services is online

    CRS-4533: Event Manager is online

    [root@linux2 bin]# ps -ef   grep d.bin   #下面的查询中没有crsd.bin

    root      38861109:50 ?        00:00:11 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

    grid      39381009:51 ?        00:00:04 /u01/app/11.2.0/grid/bin/oraagent.bin

    grid      40091009:51 ?        00:00:00 /u01/app/11.2.0/grid/bin/gipcd.bin

    grid      40141009:51 ?        00:00:00 /u01/app/11.2.0/grid/bin/mdnsd.bin

    grid      40281009:51 ?        00:00:02 /u01/app/11.2.0/grid/bin/gpnpd.bin

    root      40401009:51 ?        00:00:03 /u01/app/11.2.0/grid/bin/cssdmonitor

    root      40581009:51 ?        00:00:04 /u01/app/11.2.0/grid/bin/cssdagent

    root      40601009:51 ?        00:00:00 /u01/app/11.2.0/grid/bin/orarootagent.bin

    grid      40901209:51 ?        00:00:15 /u01/app/11.2.0/grid/bin/ocssd.bin

    grid      40941009:51 ?        00:00:02 /u01/app/11.2.0/grid/bin/diskmon.bin -d -f

    root      49281009:51 ?        00:00:00 /u01/app/11.2.0/grid/bin/octssd.bin reboot

    grid      49451009:51 ?        00:00:02 /u01/app/11.2.0/grid/bin/evmd.bin

    root      65145886010:00 pts/100:00:00 grep d.bin

    [root@linux2 bin]# ./crsctl stat res -t -init

    --------------------------------------------------------------------------------

    NAME           TARGET  STATE        SERVER                   STATE_DETAILS

    --------------------------------------------------------------------------------

    Cluster Resources

    --------------------------------------------------------------------------------

    ora.asm

    1        ONLINE  ONLINE       linux2                   Cluster Reconfigura

    tion

    ora.crsd

    1        ONLINE  OFFLINE       #crsd处于offline状态                                              

    ora.cssd

    1        ONLINE  ONLINE       linux2

    ora.cssdmonitor

    1        ONLINE  ONLINE       linux2

    ora.ctssd

    1        ONLINE  ONLINE       linux2                   OBSERVER

    ora.diskmon

    1        ONLINE  ONLINE       linux2

    ora.drivers.acfs

    1        ONLINE  OFFLINE      #acfs处于offline状态                                             

    ora.evmd

    1        ONLINE  ONLINE       linux2

    ora.gipcd

    1        ONLINE  ONLINE       linux2

    ora.gpnpd

    1        ONLINE  ONLINE       linux2

    ora.mdnsd

    1        ONLINE  ONLINE       linux2

    #下面查看crsd对应的日志文件

    [grid@linux2 ~]$ view $ORACLE_HOME/log/linux2/crsd/crsd.log

    2013-01-0510:28:27.107: [GIPCXCPT][1768145488] gipcShutdownF: skipping shutdown, count 1, from [ clsgpnp0.c : 1021],

    ret gipcretSuccess (0)

    2013-01-0510:28:27.107: [  OCRASM][1768145488]proprasmo: Error in open/create file in dg [OCR_VOTE] #打开磁盘组错误

    [  OCRASM][1768145488]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=15077, loc=kgfokge

    ORA-15077: could not locate ASM instance serving a required diskgroup  #出现了ORA错误

    2013-01-0510:28:27.107: [  OCRASM][1768145488]proprasmo: kgfoCheckMount returned [7]

    2013-01-0510:28:27.107: [  OCRASM][1768145488]proprasmo: The ASM instance is down    #实例处于关闭状态

    2013-01-0510:28:27.107: [  OCRRAW][1768145488]proprioo: Failed to open [+OCR_VOTE]. Returned proprasmo() with [26].

    Marking location as UNAVAILABLE.

    2013-01-0510:28:27.107: [  OCRRAW][1768145488]proprioo: No OCR/OLR devices are usable  #OCR/OLR设备不可用

    2013-01-0510:28:27.107: [  OCRASM][1768145488]proprasmcl: asmhandle is NULL

    2013-01-0510:28:27.107: [  OCRRAW][1768145488]proprinit: Could not open raw device

    2013-01-0510:28:27.107: [  OCRASM][1768145488]proprasmcl: asmhandle is NULL

    2013-01-0510:28:27.107: [  OCRAPI][1768145488]a_init:16!: Backend init unsuccessful : [26]

    2013-01-0510:28:27.107: [  CRSOCR][1768145488] OCR context init failure.  Error: PROC-26: Error while accessing the

    physical storage ASM error [SLOS: cat=7, opn=kgfoAl06, dep=15077, loc=kgfokge

    ORA-15077: could not locate ASM instance serving a required diskgroup

    ] [7]

    2013-01-0510:28:27.107: [    CRSD][1768145488][PANIC] CRSD exiting: Could not init OCR, code: 26

    2013-01-0510:28:27.107: [    CRSD][1768145488] Done.

    [root@linux2 bin]# ps -ef   grep pmon   #查看pmon进程,此处也表明ASM实例没有启动

    root      74477184010:48 pts/200:00:00 grep pmon

    #从上面的分析可知,应该是ASM实例没有启动的原因导致了crsd进程无法启动

    3、解决    

     [grid@linux2 ~]$ asmcmd

    Connected to an idle instance.

    ASMCMD> startup                  #启动asm实例

    ASM instance started

    Total System Global Area  283930624 bytes

    Fixed Size                  2212656 bytes

    Variable Size             256552144 bytes

    ASM Cache                  25165824 bytes

    ASM diskgroups mounted

    ASMCMD> exit

    #再次查看集群资源的状态

    [root@linux2 bin]# ./crsctl stat res -t -init

    --------------------------------------------------------------------------------

    NAME           TARGET  STATE        SERVER                   STATE_DETAILS

    --------------------------------------------------------------------------------

    Cluster Resources

    --------------------------------------------------------------------------------

    ora.asm

    1        ONLINE  ONLINE       linux2                   Started

    ora.crsd

    1        ONLINE  INTERMEDIATE linux2

    ora.cssd

    1        ONLINE  ONLINE       linux2

    ora.cssdmonitor

    1        ONLINE  ONLINE       linux2

    ora.ctssd

    1        ONLINE  ONLINE       linux2                   OBSERVER

    ora.diskmon

    1        ONLINE  ONLINE       linux2

    ora.drivers.acfs

    1        ONLINE  OFFLINE

    ora.evmd

    1        ONLINE  ONLINE       linux2

    ora.gipcd

    1        ONLINE  ONLINE       linux2

    ora.gpnpd

    1        ONLINE  ONLINE       linux2

    ora.mdnsd

    1        ONLINE  ONLINE       linux2

    #启动acfs

    [root@linux2 bin]# ./crsctl start res ora.drivers.acfs -init

    CRS-2672: Attempting to start 'ora.drivers.acfs' on 'linux2'

    CRS-2676: Start of 'ora.drivers.acfs' on 'linux2' succeeded

    #之后所有的状态都处于online状态             

    [root@linux2 bin]# ./crsctl stat res -t -init

    --------------------------------------------------------------------------------

    NAME           TARGET  STATE        SERVER                   STATE_DETAILS

    --------------------------------------------------------------------------------

    Cluster Resources

    --------------------------------------------------------------------------------

    ora.asm

    1        ONLINE  ONLINE       linux2                   Started

    ora.crsd

    1        ONLINE  ONLINE       linux2

    ora.cssd

    1        ONLINE  ONLINE       linux2

    ora.cssdmonitor

    1        ONLINE  ONLINE       linux2

    ora.ctssd

    1        ONLINE  ONLINE       linux2                   OBSERVER

    ora.diskmon

    1        ONLINE  ONLINE       linux2

    ora.drivers.acfs

    1        ONLINE  ONLINE       linux2

    ora.evmd

    1        ONLINE  ONLINE       linux2

    ora.gipcd

    1        ONLINE  ONLINE       linux2

    ora.gpnpd

    1        ONLINE  ONLINE       linux2

    ora.mdnsd

    1        ONLINE  ONLINE       linux2

    --转自 北京联动北方科技有限公司




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论