ITPub博客

首页 > 数据库 > Oracle > crs_stat -t CRS-0184: Cannot communicate with the CRS daemon

crs_stat -t CRS-0184: Cannot communicate with the CRS daemon

Oracle 作者:urgel_babay 时间:2016-02-29 17:10:12 0 删除 编辑
2015.06.09

这次搭建RAC遇见各种问题,好不容易把oracle软件安装好了,安装实例的时候,找不到asm磁盘。

在rac2上面看到asm服务是起来的,但是在rac1上面就查看不到。
[root@rac1 bin]# ./crs_stat -t      
CRS-0184: Cannot communicate with the CRS daemon.
[root@rac1 bin]# ./crsctl start cluster -all
CRS-4690: Oracle Clusterware is already running on 'rac1'
CRS-4690: Oracle Clusterware is already running on 'rac2'
CRS-4000: Command Start failed, or completed with errors.
[root@rac1 bin]# ./crs_stat -t      
CRS-0184: Cannot communicate with the CRS daemon.

[root@rac1 bin]# /etc/init.d/oracleasm scandisks   -----  重新扫描asm磁盘,还是不行
Scanning the system for Oracle ASMLib disks:               [  OK  ]
[root@rac1 bin]# ./crs_stat -t                  
CRS-0184: Cannot communicate with the CRS daemon.
[root@rac1 bin]# /etc/init.d/oracleasm listdisks  ----显示asm磁盘是存在的。
CRS1
CRS2
CRS3
DATA
FLASH
[root@rac1 bin]# ./crsctl  start crs
CRS-4640: Oracle High Availability Services is already active
CRS-4000: Command Start failed, or completed with errors.
[root@rac1 bin]# ./crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.

取消安装实例,重启系统

[root@rac1 bin]# ./crs_stat -t   -----  还是不行
CRS-0184: Cannot communicate with the CRS daemon.
[root@rac1 bin]# ./crs_stop -all
CRS-0184: Cannot communicate with the CRS daemon.
[root@rac1 bin]# /etc/init.d/oracleasm 
Usage: /etc/init.d/oracleasm {start|stop|restart|enable|disable|configure|createdisk|deletedisk|querydisk|listdisks|scandisks|status}
[root@rac1 bin]# /etc/init.d/oracleasm scandisks   ---再次扫描asm磁盘
Scanning the system for Oracle ASMLib disks:               [  OK  ]
[root@rac1 bin]# /etc/init.d/oracleasm listdisks         
CRS1
CRS2
CRS3
DATA
FLASH
[root@rac1 bin]# /etc/init.d/oracleasm restart    -----  感觉不行,所以直接重启asm
Dropping Oracle ASMLib disks:                              [  OK  ]
Shutting down the Oracle ASMLib driver:                    [FAILED]
[root@rac1 bin]# /etc/init.d/oracleasm start  
Initializing the Oracle ASMLib driver:                     [  OK  ]
Scanning the system for Oracle ASMLib disks:               [  OK  ]
[root@rac1 bin]# /etc/init.d/oracleasm listdisks
CRS1
CRS2
CRS3
DATA
FLASH
[root@rac1 bin]# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks:               [  OK  ]
[root@rac1 bin]# ./crs_stat -t        ----- 这才可以了
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.CRS.dg     ora....up.type ONLINE    ONLINE    rac1        
ora.DATA.dg    ora....up.type ONLINE    ONLINE    rac1        
ora.FLASH.dg   ora....up.type ONLINE    ONLINE    rac1        
ora....ER.lsnr ora....er.type ONLINE    ONLINE    rac1        
ora....N1.lsnr ora....er.type ONLINE    ONLINE    rac1        
ora.asm        ora.asm.type   ONLINE    ONLINE    rac1        
ora.cvu        ora.cvu.type   ONLINE    ONLINE    rac1        
ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               
ora....network ora....rk.type ONLINE    ONLINE    rac1        
ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    rac1        
ora.ons        ora.ons.type   ONLINE    ONLINE    rac1        
ora....SM1.asm application    ONLINE    ONLINE    rac1        
ora....C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    OFFLINE   OFFLINE               
ora.rac1.ons   application    ONLINE    ONLINE    rac1        
ora.rac1.vip   ora....t1.type ONLINE    ONLINE    rac1        
ora....SM2.asm application    ONLINE    ONLINE    rac2        
ora....C2.lsnr application    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    OFFLINE   OFFLINE               
ora.rac2.ons   application    ONLINE    ONLINE    rac2        
ora.rac2.vip   ora....t1.type ONLINE    ONLINE    rac2        
ora.scan1.vip  ora....ip.type ONLINE    ONLINE    rac1     

问题分析。应该是获取不到asm信息,

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30936525/viewspace-2016587/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2016-02-29

  • 博文量
    203
  • 访问量
    226245