###sample 1

"node 1 (10.198.127.5):

ps -ef|grep ora.crsd

root 45613166 47185944 0 10:24:35 pts/2 0:00 grep ora.crsd

node 2 (10.198.127.6):

[cradmin@pdbdb02:/home/cradmin]# ps -ef|grep crsd

root 14811216 1 0 Nov 08 - 1111:05 /db/db/oracleapp/11.2.0/grid/bin/crsd.bin reboot

root 39059458 23462112 0 10:25:08 pts/3 0:00 grep crsd

node 1 (10.198.127.5)
root 用户下手工启动CRS DAMON:
#

/db/db/oracleapp/11.2.0/grid/bin/crsctl start res ora.crsd -init

检查CRD DAMON 是否启动

ps -ef|grep crsd

如果node1 CRS 启动成功,节点1(10.198.127.5) /节点2(10.198.127.6),
分别运行如下命令,成功的话,说明修复成功,

##sample 2

ASM 11gR2 instance Can Not Mount OCR/Voting Diskgroup On RAC. (文档 ID 1095214.1)
In this Document
Symptoms
Cause
Solution

APPLIES TO:
Oracle Database - Enterprise Edition - Version 11.2.0.1.0 and later
Information in this document applies to any platform.
Relevance checked on 17-Jan-2015
SYMPTOMS
1) ASM instance could not mount the OCR/Voting (+OCRVDG) diskgroup on a RAC environment due to the next errors as seen in the CRSD log ( <GridHome>/log/<nodename>/crsd/crsd.log ):

2010-04-30 12:58:53.259: [ OCRASM][2566444800]proprasmo: Error in open/create file in dg [OCRVDG]
[ OCRASM][2566444800]SLOS : SLOS: cat=8, opn=kgfoOpenFile01, dep=15056, loc=kgfokge
ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +OCRVDG.255.4294967295
ORA-17503: ksfdopn:2 Failed to open file +OCRVDG.255.4294967295
ORA-15001: diskgroup

2010-04-30 12:58:53.287: [ OCRASM][2566444800]proprasmo: kgfoCheckMount returned [6]
2010-04-30 12:58:53.287: [ OCRASM][2566444800]proprasmo: The ASM disk group OCRVDG is not found or not mounted
2010-04-30 12:58:53.288: [ OCRRAW][2566444800]proprioo: Failed to open [+OCRVDG]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
2010-04-30 12:58:53.288: [ OCRRAW][2566444800]proprioo: No OCR/OLR devices are usable
2010-04-30 12:58:53.288: [ OCRASM][2566444800]proprasmcl: asmhandle is NULL
2010-04-30 12:58:53.288: [ OCRRAW][2566444800]proprinit: Could not open raw device
2010-04-30 12:58:53.288: [ OCRASM][2566444800]proprasmcl: asmhandle is NULL
2010-04-30 12:58:53.288: [ OCRAPI][2566444800]a_init:16!: Backend init unsuccessful : [26]
2010-04-30 12:58:53.288: [ CRSOCR][2566444800] OCR context init failure. Error: PROC-26: Error while accessing the physical storage ASM error [SLOS: cat=8, opn=kgfoOpenFile01, dep=15056, loc=kgfokge
ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +OCRVDG.255.4294967295
ORA-17503: ksfdopn:2 Failed to open file +OCRVDG.255.4294967295
ORA-15001: diskgroup
] [8]
2010-04-30 12:58:53.288: [ CRSD][2566444800][PANIC] CRSD exiting: Could not init OCR, code: 26
2010-04-30 12:58:53.288: [ CRSD][2566444800] Done.

2) OCRVDG diskgroup was created using only one disk ('/asmocrvote1') as seen in the ASM alert.log:

SUCCESS: diskgroup OCRVDG was mounted
SUCCESS: CREATE DISKGROUP OCRVDG EXTERNAL REDUNDANCY DISK '/asmocrvote1' ATTRIBUTE 'compatible.asm'='11.2.0.0.0' /* ASMCA */

3) So you validated the '/asmocrvote1' device has a valid ASM header and is accessible through kfed from all the nodes:

# kfed read /asmocrvote1
kfbh.endian: 1 ; 0x000: 0x01
kfbh.hard: 130 ; 0x001: 0x82
kfbh.type: 1 ; 0x002: KFBTYP_DISKHEAD
kfbh.datfmt: 1 ; 0x003: 0x01
kfbh.block.blk: 0 ; 0x004: T=0 NUMB=0x0
kfbh.block.obj: 2147483648 ; 0x008: TYPE=0x8 NUMB=0x0
kfbh.check: 2396607692 ; 0x00c: 0x8ed954cc
kfbh.fcn.base: 0 ; 0x010: 0x00000000
kfbh.fcn.wrap: 0 ; 0x014: 0x00000000
kfbh.spare1: 0 ; 0x018: 0x00000000
kfbh.spare2: 0 ; 0x01c: 0x00000000
kfdhdb.driver.provstr: ORCLDISK ; 0x000: length=8
kfdhdb.driver.reserved[0]: 0 ; 0x008: 0x00000000
kfdhdb.driver.reserved[1]: 0 ; 0x00c: 0x00000000
kfdhdb.driver.reserved[2]: 0 ; 0x010: 0x00000000
kfdhdb.driver.reserved[3]: 0 ; 0x014: 0x00000000
kfdhdb.driver.reserved[4]: 0 ; 0x018: 0x00000000
kfdhdb.driver.reserved[5]: 0 ; 0x01c: 0x00000000
kfdhdb.compat: 186646528 ; 0x020: 0x0b200000
kfdhdb.dsknum: 0 ; 0x024: 0x0000
kfdhdb.grptyp: 1 ; 0x026: KFDGTP_EXTERNAL
kfdhdb.hdrsts: 3 ; 0x027: KFDHDR_MEMBER
kfdhdb.dskname: OCRVDG_0000 ; 0x028: length=11
kfdhdb.grpname: OCRVDG ; 0x048: length=6
kfdhdb.fgname: OCRVDG_0000 ; 0x068: length=11

4) But the problem persists.

CAUSE
ASM spfile was corrupt.

Using a transient ASM pfile the OCR/Voting (+OCRVDG) diskgroup was mounted.

SOLUTION

1) Please create a temporary pfile (on node #1 (+ASM1), with the next values on the <Grid Infrastructure Oracle Home>/dbs/init+ASM1.ora:

asm_diskgroups='OCRVDG'
asm_diskstring='ORCL:*'
asm_power_limit=1
instance_type='asm'
large_pool_size=12M
remote_login_passwordfile='EXCLUSIVE'

2) Then startup the +ASM1 instance:

$> cd < Grid Infrastructure Oracle Home>/dbs/

$> export ORACLE_SID=+ASM1

$> sqlplus “/as sysasm”

SQL> STARTUP pfile=init+ASM1.ora

3) Recreate the spfile

SQL> create spfile='+OCRVDG' from pfile='/opt/grid/product/11.2.0/grid_1/dbs/init+ASM1.ora';

File created.

4) Restarted the OHAS/CRS stack on both nodes:

4.1) Please shutdown all the services on both nodes as follow:

Node #1:

Connect as root user:

# /opt/grid/product/11.2.0/grid_1/bin/crsctl stop crs

Node #2:

Connect as root user:

# /opt/grid/product/11.2.0/grid_1/bin/crsctl stop crs

4.2) Verify that the Grid Infrastructure stack has shutdown successfully on both nodes. The following command should show no output if the GI stack has shutdown:

# ps -ef | grep diskmo[n]

4.3) Start the Grid Infrastructure stack on the first node:

# /opt/grid/product/11.2.0/grid_1/bin/crsctl start crs

4.4) Wait until the Grid Infrastructure stack has started successfully on the first node. To check the status of the Grid Infrastructure stack, run the following command and verify that the "ora.asm" instance is started. Note that the command below will continue to report that it is unable to communicate with the Grid Infrastructure software for several minutes after issuing the "crsctl start crs" command above:

# /opt/grid/product/11.2.0/grid_1/bin/crsctl status resource -t

4.5) Start the Grid Infrastructure stack on the remaining node:

# /opt/grid/product/11.2.0/grid_1/bin/crsctl start crs

4.6) Monitor the startup progress (this could take several minutes):

# /opt/grid/product/11.2.0/grid_1/bin/crsctl status resource -t

4.7) Verify OHAS, CRS & CSS are running on each node:

$> crsctl check has

$> crsctl check crs

$> crsctl check css

/db/db/oracleapp/11.2.0/grid//bin/crsctl stat res -t -init

/db/db/oracleapp/11.2.0/grid/bin/ocrcheck

/db/db/oracleapp/grid/diag/asm/+asm/+ASM1/trace/alert*.log
/db/db/oracleapp/11.2.0/grid/bin/oraagent.bin(6947032)]CRS-5019:All OCR locations are on ASM disk groups [OCRVD_DG], and
none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/db/db/oracleapp/11.2.0/grid/log/sdbdb01/agent/ohasd/oraagent_grid/oraagent_grid.log".

/db/db/oracleapp/11.2.0/grid/log/sdbdb01/agent/ohasd/oraagent_grid/oraagent_grid.log
2019-04-18 09:14:25.603: [ COMMCRS][5729]clsc_connect: (111438950) no listener at (ADDRESS=(PROTOCOL=IPC)(KEY=CRSD_UI_SOCKET))
clsnUtils::error Exception type=2 string=
Oracle Clusterware(CRS or Grid Infrastructure) network socket files are located in /tmp/.oracle, /usr/tmp/.oracle or /var/tmp/.oracle, it's important not to touch them manually unless instructed by Oracle Support to keep clusterware healthy.
checkCrsStat 2 CLSCRS_STAT ret: 184

alert_crsd.log
2018-01-19 20:16:28.336:
[client(9961752)]CRS-10051:CVU found following errors with Clusterware setup : PRVF-4354 : Proper hard limit for resource "maxi
mum user processes" not found on node "sdbdb01" [Expected = "16384" ; Found = "8192"]
PRVF-7543 : OS Kernel parameter "maxuproc" does not have proper value on node "sdbdb01" [Expected = "16384" ; Found = "8192"]
.
PRVF-7543 : OS Kernel parameter "tcp_ephemeral_low" does not have proper value on node "sdbdb01" [Expected = "9000" ; Found =
"32768"].
PRVF-4132 : Multiple users "root,cradmin" with UID "0" exist on "sdbdb01".
PRVG-1101 : SCAN name "sdbdb-scan" failed to resolve
PRVF-4657 : Name resolution setup check for "sdbdb-scan" (IP address: 58.2.101.5) failed
PRVF-4664 : Found inconsistent name resolution entries for SCAN name "sdbdb-scan"

[client(5242908)]CRS-10051:CVU found following errors with Clusterware setup : PRVF-7543 : OS Kernel parameter "tcp_ephemeral_low" does not have proper value on node "sdbdb01"
[Expected = "9000" ; Found = "32768"].
PRVF-7543 : OS Kernel parameter "tcp_ephemeral_high" does not have proper value on node "sdbdb01" [Expected = "65500" ; Found = "65535"].
PRVF-7543 : OS Kernel parameter "udp_ephemeral_low" does not have proper value on node "sdbdb01" [Expected = "9000" ; Found = "32768"].
PRVF-7543 : OS Kernel parameter "udp_ephemeral_high" does not have proper value on node "sdbdb01" [Expected = "65500" ; Found = "65535"].
PRVF-4132 : Multiple users "root,cradmin" with UID "0" exist on "sdbdb01".

PRVG-1101 : SCAN name "sdbdb-scan" failed to resolve

2018-01-11 19:30:11.672:
[client(3604514)]CRS-10051:CVU found following errors with Clusterware setup : PRVF-4657 : Name resolution setup check for "sdbdb-scan" (IP address: 58.2.101.5) failedPRVF-4664
: Found inconsistent name resolution entries for SCAN name "sdbdb-scan"

/db/db/oracleapp/11.2.0/grid/log/sdbdb01/crsd/crsd.log

2018-01-24 02:31:27.566: [ CRSMAIN][515] Policy Engine is not initialized yet!
[ CLWAL][1]clsw_Initialize: OLR initlevel [70000]
2018-01-24 02:31:27.886: [ OCRASM][1]proprasmo: Error in open/create file in dg [OCRVD_DG]
[ OCRASM][1]SLOS : SLOS: cat=8, opn=kgfoOpen01, dep=15056, loc=kgfokge

2018-01-24 02:31:27.886: [ OCRASM][1]ASM Error Stack :
2018-01-24 02:31:27.932: [ OCRASM][1]proprasmo: kgfoCheckMount returned [6]
2018-01-24 02:31:27.932: [ OCRASM][1]proprasmo: The ASM disk group OCRVD_DG is not found or not mounted
2018-01-24 02:31:27.933: [ OCRRAW][1]proprioo: Failed to open [+OCRVD_DG]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
2018-01-24 02:31:27.933: [ OCRRAW][1]proprioo: No OCR/OLR devices are usable
2018-01-24 02:31:27.933: [ OCRASM][1]proprasmcl: asmhandle is NULL
2018-01-24 02:31:27.933: [ GIPC][1] gipcCheckInitialization: possible incompatible non-threaded init from [prom.c : 690], original from [clsss.c : 5343]
2018-01-24 02:31:27.936: [ default][1]clsvactversion:4: Retrieving Active Version from local storage.
2018-01-24 02:31:27.939: [ OCRRAW][1]proprrepauto: The local OCR configuration matches with the configuration published by OCR Cache Writer. No repair required.
2018-01-24 02:31:27.940: [ OCRRAW][1]proprinit: Could not open raw device
2018-01-24 02:31:27.940: [ OCRASM][1]proprasmcl: asmhandle is NULL
2018-01-24 02:31:27.941: [ OCRAPI][1]a_init:16!: Backend init unsuccessful : [26]
2018-01-24 02:31:27.941: [ CRSOCR][1] OCR context init failure. Error: PROC-26: Error while accessing the physical storage

2018-01-24 02:31:27.942: [ CRSD][1] Created alert : (:CRSD00111:) : Could not init OCR, error: PROC-26: Error while accessing the physical storage

alter diskgroup OCRVD_DG mount;

转 crs damon can't start 2个例子的更多相关文章

  1. Oracle 11g RAC 卸载CRS步骤

    Oracle 11g之后提供了卸载grid和database的脚本,可以卸载的比较干净,不需要手动删除crs ##########如果要卸载RAC,需要先使用dbca删除数据库,在执行下面的操作### ...

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

    1. 描述: 使用crs_stat –t 命令查看rac服務,直接報CRS-0184: Cannot communicate with the CRS daemon.錯誤 但是奇怪的是我們的DB是沒有 ...

  3. AIX下禁止crs随ha启动而启动

    /etc/init.crs enable /etc/init.crs disable 查看目前crs是enable还是disable状态 状态记录在一个文本文件里  /etc/oracle/scls_ ...

  4. Oracle Rac crs无法启动

    OS:ORACLE LINUX 5.7 DB:11.2.0.3 RAC:YES 故障:1.两节点RAC,节点分别为linuxdb1.linuxdb2,其中节点linuxdb2服务器出现故障,无法启动2 ...

  5. ModSecurity CRS笔记[转]

    转自:http://danqingdani.blog.163.com/blog/static/186094195201472304841643/ ModSecurity的规则因为奇怪的正则(可读性差? ...

  6. 如何诊断crs 安装时 root.sh 脚本执行错误

    troubleshooting root.sh problem ------*for 10g and 11.1 1.查证公网,私网的节点名是可以互相ping通的 2.---查证OCR/Voting 文 ...

  7. ORACLE RAC中一个实例不能随crs自动启动的解决

    现象:在两个节点上做CRS的重启,这个实例都不能随CRS的启动而启动.CRS启动后做crs_start -all可以把没启动的资源起来,而且无报错. 分析:去crsd.log中找原因,发现CRS根本就 ...

  8. 管理集群中的 crs 管理员

     管理集群中的 crs 管理员 oracle Managing CRS Administrators in the Cluster Use the following commands to ma ...

  9. AIX下RAC搭建 Oracle10G(四)安装CRS

    AIX下RAC搭建系列 AIX下RAC搭建Oracle10G(四)安装CRS 环境 节点 节点1 节点2 小机型号 IBM P-series 630 IBM P-series 630 主机名 AIX2 ...

随机推荐

  1. ubuntu-server部署php+mysql运行环境

    1.apt-get install git php5 mysql-server apache2 phpmyadmin 2.sudo ln -s /usr/share/phpmyadmin /var/w ...

  2. 前端福利之改变placeholder颜色的方法(转)

    之前拿到一个设计图,Placeholder是白色的,所以就查看了一下改变placeholder的方法: input::-webkit-input-placeholder { /* WebKit bro ...

  3. 编写高质量代码改善C#程序的157个建议——建议77: 正确停止线程

    建议77: 正确停止线程 开发者总尝试对自己的代码有更多的控制.例如,“让那个还在工作的线程马上停止下来”.然而,并非我们想怎样就可以怎样的,这至少涉及两个问题. 第一个问题 正如线程不能立即启动一样 ...

  4. HDU2553 N皇后问题——DFS

    N皇后问题 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submi ...

  5. SpringCloud教程 | 第六篇: 分布式配置中心(Spring Cloud Config)(Finchley版本)

    在上一篇文章讲述zuul的时候,已经提到过,使用配置服务来保存各个服务的配置文件.它就是Spring Cloud Config. 一.简介 在分布式系统中,由于服务数量巨多,为了方便服务配置文件统一管 ...

  6. 18、Semantic-UI之进度条

      在使用进度条的时候也是必须要结合项目中ajax和后台数据结合使用的. 示例:定义基础进度条 <div class="ui progress"> <div cl ...

  7. Java == 和 equals 比较

    在初学Java时,可能会经常碰到下面的代码: 1 String str1 = new String("hello"); 2 String str2 = new String(&qu ...

  8. PowerDesigner Comment与Name相互替换

    从name替换comment Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl ' the curren ...

  9. Go语言最佳实践—— 字符串

    1.串联字符串 Go语言虽然支持+=操作符来追加字符串,但更好的方式是使用bytes.Buffer,这种方式在节省内存和效率方面有更好的表现. 如: var buffer bytes.Buffer b ...

  10. C# 读Autofac源码笔记(2)

    刚看了下Autofac属性注入的源码 首先看看WithProperty方法   image.png Autofac将我们的属性值,存在了一个list集合中   image.png 然后将这个集合传递到 ...