`

CRS-215 Srvctl unable to start ASM, Listener, RDBMS Resources OR CRS-0223

阅读更多

Applies to:

Oracle Server Enterprise Edition - Version: 10.2.0.1 to 10.2.0.4
This problem can occur on any platform.
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.4

Symptoms

After patching CRS, RDBMS & ASM ORACLE_HOME, unable to start/stop ASM, Database & Listener resources via srvctl:

node68:/u01>srvctl start asm -n node68
PRKS-1009 : Failed to start ASM instance "+ASM4" on node "node68", [PRKS-1009
: Failed to start ASM instance "+ASM4" on node "node68", [CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.node68.ASM4.asm' has placement error.]]
[PRKS-1009 : Failed to start ASM instance "+ASM4" on node "node68", [CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.node68.ASM4.asm' has placement error.]]

node68:/u01>srvctl stop asm -n node68
Attempting to stop `ora.node68.ASM4.asm` on member `node68`
`ora.node68.ASM4.asm` on member `node68` has experienced an unrecoverable failure.
Human intervention required to resume its availability.
CRS-0216: Could not stop resource 'ora.node68.ASM4.asm'.

node68:/u01>crs_stat -t | grep 68

ora....TA4.srv application ONLINE UNKNOWN node68
ora....SM4.asm application ONLINE UNKNOWN node68
ora....68.lsnr application ONLINE UNKNOWN node68
ora....d68.gsd application ONLINE ONLINE node68
ora....d68.ons application ONLINE ONLINE node68
ora....d68.vip application ONLINE ONLINE node68


Starting ASM instance via sqlplus is fine. Starting listener via lsnrctl is fine too.

Changes

CRS, RDBMS & ASM is patched with the latest bundle patch.

Cause

While the resource is in an UNKNOWN state, one can not start resource via srvctl command. Need to force resource OFFLINE with command:
% $ORA_CRS_HOME/bin/crs_stop -f <resource name>

E.g.

$ ./crs_stop -f ora.node68ASM4.asm
Attempting to stop `ora.node68.ASM4.asm` on member `node68`
Stop of `ora.node68.ASM4.asm` on member `node68` succeeded


Please note the preferred method for management of a resource is through srvctl, any issues with the usage of crs_start & crs_stop should be done under the guidance of Oracle Support.

After this, the real error shows up:

node68:/u01>srvctl start asm -n node68
[PRKS-1009 : Failed to start ASM instance "ASM4" on node "node68",
[node68:ora.node68.ASM4.asm:/u01/oracle/product/10.2.0/asm/bin/racgwrap: %ORACLE_HOME%/bin/racgmain:
not found
CRS-0215: Could not start resource 'ora.node68.ASM4.asm'.]]


$ORACLE_HOME/bin/racgwrap does not have ORACLE_HOME variable correctly defined.

The above likely occured because of an issue with either patching or installation by which the contents of racgwrap took an incorrect value of ORACLE_HOME possible at the environment level.

Solution

1). Stop the resource with crs_stop -f <resource name>
Only do this to ensure the state of the resource change from UNKNOWN status to OFFLINE status.

% cd $ORA_CRS_HOME/bin
% ./crs_stop -f ora.node4.ASM4.asm


2). Locate the racgwrap script for the problem resource.

% ./crs_stat -p ora.node68.ASM4.asm

Identify the location of the racgwrap script defined in ACTION_SCRIPT value using the above
command.

3). Modify racgwrap script to ensure the ORACLE_HOME is correct.
For example:
Change from:

ORACLE_HOME=%ORACLE_HOME%
export ORACLE_HOME

ORACLE_BASE=%ORACLE_BASE%
# export ORACLE_BASE if it is set


Change To

ORACLE_HOME=/u01/oracle/product/10.2.0/asm
export ORACLE_HOME

ORACLE_BASE=/u01/oracle/product/10.2.0/asm
# export ORACLE_BASE if it is set


Please replace above value with your real setting.
Once the above is done, start the resource via srvctl is fine.

Keywords

START~INSTANCE ; ASM ; ORACLE_BASE ; SRVCTL ; START~LISTENER ; LSNRCTL ; START~INSTANCE ;

分享到:
评论

相关推荐

    Oracle Rac管理常用命令

    - `srvctl start listener -listener LISTENER`:启动监听器。 - `srvctl start listener -l LISTENER`:同样用于启动监听器。 - `srvctl config listener -a`:查看集群内所有监听器的配置。 4. **SCAN( SCAN ...

    昏迷CRS-R中文使用手册.pdf

    然而,我可以根据文件的标题和描述中给出的信息“昏迷CRS-R中文使用手册”来构建相关的知识点。 CRS-R是“Coma Recovery Scale-Revised”的缩写,即昏迷复原评定量表修订版,它是一种用于评估和监测昏迷患者状况的...

    思科高端路由器资料CRS-1,运营商专用

    思科的CRS-1(Carrier Routing System 1)是一款专为电信运营商设计的高端路由器,它是思科在路由技术领域的旗舰产品,以其强大的性能、高可用性和可扩展性著称。这款路由器的设计目标是为了满足运营商对核心网络的...

    Oracle RAC ASM磁盘组故障解决办法

    CRS-4530:Communications failure contacting Cluster Synchronization Services daemon CRS-4534: Cannot communicate with Event Manager 3. 解决步骤: 3.1 查看集群资源状态,发现资源未启动 3.2 检查 CRS...

    CRS-1 操作手册

    CRS-1 操作手册 ccie,cisco必备手册

    cisco CRS-1 Practical Introduction

    总的来说,Cisco CRS-1 Practical Introduction涵盖了从操作系统的历史、命令模式、节点地址到软件安装的全面内容,为用户提供了深入了解和操作CRS-1路由器的宝贵资料。这份文档不仅对网络管理员进行日常运维具有...

    crs-port.tar.gz

    【标题】"crs-port.tar.gz" 是一个压缩文件,通常在Linux或Unix环境中使用,用于存储和传输数据。.tar.gz 扩展名表明这是一个使用tar命令打包后再用gzip压缩的文件,目的是减小文件大小,便于快速传输和存储。 ...

    CRS-1培训教材.zip

    **CRS-1培训教材详解** CRS-1,全称为Cisco Routing System 1,是思科公司推出的一款高端路由器系统,主要用于数据中心、服务提供商和大型企业网络的核心路由。这款路由器以其高性能、高可用性和可扩展性而闻名,是...

    cisco思科CRS-1培训学习资料(详细配置).pptx

    Cisco思科CRS-1培训学习资料(详细配置) Cisco CRS-1是思科公司的一款高性能路由器,旨在提供高效、可靠、可扩展的核心网络架构解决方案。CRS-1采用了先进的硬件架构和IOS-XR操作系统,提供了强大的路由协议配置和...

    启动和停止CRS(oracle 11g R2)

    CRS-2673: Attempting to stop 'ora.crsd' on 'node1' ... ``` 这些消息详细记录了 CRS 停止过程中涉及的每个资源和服务的状态。当 CRS 成功停止时,所有相关的资源和服务都应被正确地停止。 #### 五、注意事项 -...

    Linux device-mapper-udev-CRS-ASM_v3.6.pdf

    Oracle的自动存储管理系统(Automatic Storage Management, ASM)是一种用于管理Oracle数据库数据文件的高性能文件系统。在配置`udev`与`device-mapper`时,需要确保ASM能够识别并正确挂载相应的存储资源。 ##### ...

    CRS-1 field installation guide and some

    ### CRS-1现场安装指南与实用技巧 #### 总体概述 本文档旨在提供CRS-1路由器现场安装的详细指南以及一些实用技巧。CRS-1是Cisco Systems推出的一款高性能路由器,适用于数据中心和电信运营商环境。其设计考虑到了高...

    cisco CRS-1 Operation Tools

    ### cisco CRS-1 Operation Tools #### 思科smartnet培训资料:CRS-1 Operation Tools 本资料主要介绍Cisco CRS-1路由器中使用的IOS-XR操作系统中的操作工具,包括调试工具及其使用方法,并提供了实践操作的机会。...

    基于GPU计算平台实现三维输出道方式的共反射面元(3D-CRS-OIS)叠加.pdf

    【3D-CRS-OIS(三维共反射面元)叠加技术】 共反射面元(CRS)叠加方法是一种用于地震成像的先进技术,尤其适用于零炮检距成像。3D-CRS-OIS(三维输出道方式的共反射面元)叠加是CRS方法的一种改进,它基于傍轴射线...

    【Unity-Demo】unitychan-crs-master.zip

    【Unity-Demo】unitychan-crs-master.zip是一个与Unity引擎相关的示例项目,主要展示了如何在Unity中实现动态骨骼技术,特别地是针对Unity-chan这一角色。Unity-chan是一位由Unity Technologies推出的虚拟偶像,常...

    cisco CRS-1 Troubleshooting

    ### Cisco CRS-1 故障排除关键知识点 #### 一、IOS-XR 故障排除 (IOSXR Troubleshooting) Cisco CRS-1 路由器采用 IOS-XR 操作系统,这是一种高度模块化的操作系统,专门设计用于提高系统的稳定性和可用性。在故障...

    思科基于下一代IP网络CRS-1运营商路由系统

    思科的下一代IP网络CRS-1运营商路由系统是电信行业的一个重大突破,它体现了思科在IP技术上的显著优势和对IPNGN(Next Generation Internet Protocol Network)理念的实践。该系统旨在帮助电信运营商提升业务盈利...

Global site tag (gtag.js) - Google Analytics