CRS-0184: Cannot communicate with the CRS daemon.之存储故障解决办法

$crs_stat-t

CRS-0184: Cannot communicate with the CRSdaemon.

$crsctlcheck crs

CRS-4638: Oracle High Availability Servicesis online

CRS-4535: Cannot communicate with ClusterReady Services

CRS-4529: Cluster Synchronization Servicesis online

CRS-4533: Event Manager is online

查看CRS日志

#find/ -name crsd.log

2014-12-09 12:02:56.530: [ CRSMAIN][1]Checking the OCR device

2014-12-09 12:02:56.531: [ CRSMAIN][1]Sync-up with OCR

2014-12-09 12:02:56.531: [ CRSMAIN][1]Connecting to the CSS Daemon

2014-12-09 12:02:56.531: [ CRSMAIN][1]Getting local node number

2014-12-09 12:02:56.533: [ CRSMAIN][1]Initializing OCR

[  CLWAL][1]clsw_Initialize: OLR initlevel [70000]

2014-12-09 12:02:56.993: [  OCRASM][1]proprasmo: Error in open/createfile in dg [OCR]

[ OCRASM][1]SLOS : SLOS: cat=8, opn=kgfoOpen01, dep=15056, loc=kgfokge

2014-12-09 12:02:56.993: [  OCRASM][1]ASM Error Stack :

2014-12-09 12:02:57.053: [  OCRASM][1]proprasmo: kgfoCheckMount returned[6]

2014-12-09 12:02:57.053: [  OCRASM][1]proprasmo: The ASM disk group OCRis not found or not mounted

2014-12-09 12:02:57.054: [  OCRRAW][1]proprioo: Failed to open [+OCR].Returned proprasmo() with [26]. Marking location as UNAVAILABLE.

2014-12-09 12:02:57.054: [  OCRRAW][1]proprioo: No OCR/OLR devices areusable

2014-12-09 12:02:57.054: [  OCRASM][1]proprasmcl: asmhandle is NULL

2014-12-09 12:02:57.056: [    GIPC][1] gipcCheckInitialization: possibleincompatible non-threaded init from [prom.c : 690], original from [clsss.c :5343]

2014-12-09 12:02:57.082: [default][1]clsvactversion:4: Retrieving Active Version from local storage.

2014-12-09 12:02:57.100: [CSSCLNT][1]clssgsgrppubdata: group (ocr_testvhf-cluster) not found

2014-12-09 12:02:57.100: [  OCRRAW][1]proprio_repairconf: Failed toretrieve the group public data. CSS ret code [20]

2014-12-09 12:02:57.102: [  OCRRAW][1]proprioo: Failed to auto repair theOCR configuration.

2014-12-09 12:02:57.102: [  OCRRAW][1]proprinit: Could not open rawdevice

2014-12-09 12:02:57.102: [  OCRASM][1]proprasmcl: asmhandle is NULL

2014-12-09 12:02:57.112: [  OCRAPI][1]a_init:16!: Backend initunsuccessful : [26]

2014-12-09 12:02:57.112: [  CRSOCR][1] OCR context init failure.  Error: PROC-26: Error while accessing thephysical storage

2014-12-09 12:02:57.112: [    CRSD][1] Created alert : (:CRSD00111:):  Could not init OCR, error: PROC-26:Error while accessing the physical storage

2014-12-09 12:02:57.112: [    CRSD][1][PANIC] CRSD exiting: Could notinit OCR, code: 26

2014-12-09 12:02:57.112: [    CRSD][1] Done.

查看磁盘

#lsdev -Cc disk

hdisk0 Available          Virtual SCSI Disk Drive

hdisk1 Available          Virtual SCSI Disk Drive

hdisk2 Defined            Virtual SCSI Disk Drive

hdisk3 Available 21-T1-01 MPIO DS4800 Disk

hdisk4 Available 21-T1-01 MPIO DS4800 Disk

hdisk5 Available 21-T1-01 MPIO DS4800 Disk

hdisk6 Available 22-T1-01 MPIO DS4800 Disk

hdisk7 Available 22-T1-01 MPIO DS4800 Disk

hdisk8 Available 22-T1-01 MPIO DS4800 Disk

 

查看asm_disk是否正常

# su– grid

$sqlplus/ as sysasm

SQL>col name format a15

SQL>col path format a17

SQL>select name,path,header_status,mount_status,state from v$asm_disk;

NAME            PATH              HEADER_STATU MOUNT_S STATE

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

/dev/rhdisk6      MEMBER       CLOSED NORMAL

/dev/rhdisk7      MEMBER       CLOSED NORMAL

/dev/rhdisk8      MEMBER       CLOSED NORMAL

DATA_0000       /dev/rhdisk3      MEMBER       CACHED NORMAL

DATA_0001       /dev/rhdisk4      MEMBER       CACHED NORMAL

DATA_0002       /dev/rhdisk5      MEMBER       CACHED NORMAL

#su –grid

$asmcmd

ASMCMD>lsdg

State   Type    Rebal  Sector Block       AU  Total_MB Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks Voting_files  Name

MOUNTED EXTERN  N         512  4096  1048576   3145728 2058582                0         2058582              0             N  DATA/

mount未正常加载的asm DG

ASMCMD>mount -a

ORA-15032: not all alterations performed

ORA-15017: diskgroup "DATA"cannot be mounted

ORA-15013: diskgroup "DATA" isalready mounted (DBD ERROR: OCIStmtExecute)

ASMCMD>lsdg

State   Type    Rebal  Sector Block       AU  Total_MB Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks Voting_files  Name

MOUNTED EXTERN  N         512  4096  1048576   3145728 2058582                0         2058582              0             N DATA/

MOUNTED  NORMAL N         512   4096 1048576      3072     2146             1024             561              0             Y OCR/

# su– grid

$sqlplus/ as sysasm

SQL>col name format a15

SQL>col path format a17

SQL>  selectname,path,header_status,mount_status,state from v$asm_disk;

NAME            PATH              HEADER_STATU MOUNT_S STATE

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

DATA_0000       /dev/rhdisk3      MEMBER       CACHED NORMAL

DATA_0001       /dev/rhdisk4      MEMBER       CACHED NORMAL

DATA_0002       /dev/rhdisk5      MEMBER       CACHED NORMAL

OCR_0000        /dev/rhdisk6      MEMBER       CACHED NORMAL

OCR_0001        /dev/rhdisk7      MEMBER       CACHED NORMAL

OCR_0002        /dev/rhdisk8      MEMBER       CACHED NORMAL

 

查看crs状态

#su- grid

$crs_stat-t -v

Name           Type           R/RA   F/FT  Target    State     Host

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

ora.DATA.dg    ora....up.type 0/5    0/    ONLINE    ONLINE    testvhfs1

ora....ER.lsnr ora....er.type 0/5    0/    ONLINE    ONLINE    testvhfs1

ora....N1.lsnr ora....er.type 0/5    0/0   ONLINE    ONLINE    testvhfs2

ora....N2.lsnr ora....er.type 0/5    0/0   ONLINE    ONLINE    testvhfs1

ora....N3.lsnr ora....er.type 0/5    0/0   ONLINE    ONLINE    testvhfs1

ora.OCR.dg     ora....up.type 0/5    0/    ONLINE    ONLINE    testvhfs1

ora.asm        ora.asm.type   0/5   0/     ONLINE    ONLINE   testvhfs1

ora.cvu        ora.cvu.type   0/5   0/0    ONLINE    ONLINE   testvhfs1

ora.gsd        ora.gsd.type   0/5   0/     OFFLINE   OFFLINE

ora....network ora....rk.type 0/5    0/    ONLINE    ONLINE    testvhfs1

ora.oc4j       ora.oc4j.type  0/1   0/2    ONLINE    ONLINE   testvhfs1

ora.ons        ora.ons.type   0/3   0/     ONLINE    ONLINE   testvhfs1

ora....ry.acfs ora....fs.type 0/5    0/    ONLINE    ONLINE    testvhfs1

ora.scan1.vip  ora....ip.type 0/0    0/0   ONLINE    ONLINE    testvhfs2

ora.scan2.vip  ora....ip.type 0/0    0/0   ONLINE    ONLINE    testvhfs1

ora.scan3.vip  ora....ip.type 0/0    0/0   ONLINE    ONLINE    testvhfs1

ora....vhfs.db ora....se.type 0/2    0/1   ONLINE    ONLINE    testvhfs2

ora....SM1.asm application    0/5   0/0    ONLINE    ONLINE   testvhfs1

ora....S1.lsnr application    0/5   0/0    ONLINE    ONLINE   testvhfs1

ora....fs1.gsd application    0/5   0/0    OFFLINE   OFFLINE

ora....fs1.ons application    0/3   0/0    ONLINE    ONLINE   testvhfs1

ora....fs1.vip ora....t1.type 0/0    0/0   ONLINE    ONLINE    testvhfs1

ora....SM2.asm application    0/5   0/0    ONLINE    ONLINE   testvhfs2

ora....S2.lsnr application    0/5   0/0    ONLINE    ONLINE   testvhfs2

ora....fs2.gsd application    0/5   0/0    OFFLINE   OFFLINE

ora....fs2.ons application    0/3   0/0    ONLINE    ONLINE   testvhfs2

ora....fs2.vip ora....t1.type 0/0    0/0   ONLINE    ONLINE    testvhfs2

至此,CRS-0814错误解决。

时间: 2024-10-01 11:27:55

CRS-0184: Cannot communicate with the CRS daemon.之存储故障解决办法的相关文章

oralce11g RAC 启动后 CRS-0184: Cannot communicate with the CRS daemon.

很奇怪的一个问题! ORACLE数据库服务器,系统启动之后,查看集群状态,发现CRS实例不可用,然后网上查找资料: 隔了几分钟之后,再次查询相关集群服务状态,发现正常了!!! 暂时得出的结论:操作系统启动之后,默认相关集群服务是自动启动的,但是,开机后,需要加载或者集群服务启动需要一段时间,等几分钟之后,集群服务才能准备 就绪!!! 文末,有一篇其他情况的解决方式. [[email protected] ~]# /u01/app/11.2.0.4/grid/bin/crsctl start cr

記錄一次CRS-0184: Cannot communicate with the CRS daemon的解決

1. 描述: 使用crs_stat –t 命令查看rac服務,直接報CRS-0184: Cannot communicate with the CRS daemon.錯誤 但是奇怪的是我們的DB是沒有問題的.sqlplus  / as sysdba可以繼續登陸,并使用. 2. 錯誤分析: 首先查看警告日誌:錯誤從2016/07/13號開始 /grid/11.2.0/log/phars1/alertphars1.log 2016-07-13 16:04:49.616: [crsd(21419)]C

CRS-0184: Cannot communicate with the CRS daemon.之节点脱离集群问题解决

1.系统环境: OEL6.5企业版 Oracle11.2.0.2 RAC + ASM 2.报错信息: $ crs_stat -t CRS-0184: Cannot communicate with the CRS daemon. $ crsctl check has CRS-4639: Could not contact Oracle High Availability Services 3.报错原因查找: 在节点1节点查看IP地址,VIP已经不存在 $ ifconfig -a en0: fla

CRS-0184: Cannot communicate with the CRS daemon

对于unknown的进程要crs_stop -f 加进程名杀掉,后在star 1 删除机器上的/etc/oracle/scls_scr/rac1/oracle/cssfatal 文件  如果不删这个文件,运行root.sh 脚本时会报错.  然后重新运行下$ORA_CRS_HOME/root.sh脚本 2 有时候开机启不起来 可以先杀了这个进程试下 /etc/init.d/init.ohasd 使用root用户权限执行crsctl 或者  /etc/init.d/init.crs 或者 /u01

Jenkins: Can't connect to Docker daemon解决办法

Jenkins安装后首次使用报错: Jenkins: Can't connect to Docker daemon 解决办法: 参照StackOverflow 添加jenkins用户到dockergroup sudo gpasswd -a jenkins docker 重启jenkins服务: sudo service jenkins restart Jenkins: Can't connect to Docker daemon解决办法 原文地址:https://www.cnblogs.com/

Linux下重新安装MySql后出现'MySQL Daemon failed to start‘解决方法

Linux下重新安装MySql后出现'MySQL Daemon failed to start‘解决方法 近日在搭建lepus环境时,发现安装了xampp后,mysql启动不了. 运行service mysqld start或者/etc/init.d/mysqld start,出现: 运行mysql -uroot -p123456,出现: 后面在网上找到一种方法解决了此问题 rm -fr /var/lib/mysql/* rm /var/lock/subsys/mysqld killall my

使用adb命令报错:error: cannot connect to daemon解决办法

具体报错如下: C:\Users\xxxx>adb devices * daemon not running. starting it now on port 5037 * CreateProcess failure, error 2 * failed to start daemon * error: cannot connect to daemon 解决办法如下: 打开cmd命令窗口,输入adb nodaemon server 打开另一个cmd窗口,输入adb devices即可 原文地址:h

error: cannot connect to daemon解决办法

本文链接:https://blog.csdn.net/ipinki1218/article/details/80704806运行adb shell时出现error: cannot connect to daemon如下报错,试了很多方法都没有解决,包括查看端口号杀死进程等. 最终找到了一个解决办法. 先打开一个命令行窗口 adb nodaemon server 回车后 再打开另外一个命令行窗口adb shell就成功了. 感谢whshuo2010 来源:https://blog.csdn.net

crs自动清除日志的时候没有释放文件,bug17034444 的解决办法

在巡检数据库的时候,发现grid的安装目录非常大,于是进行了进一步的排查,发现有很多*.l10的日志已经删除了,但是并没有释放,使用lsof命令可以看到 lsof|grep delete [[email protected] oraagent_grid]$ sudo lsof |grep delete|grep -E "oraagent|audit"oracle    18375      grid   33w      REG             253,18    105498