oracle crs错误日志,集群日志中出现CRS-2316 / CRS-2317错误

本文档详细介绍了在11G数据库中遇到CRS-2316和CRS-2317错误的可能原因及解决步骤,包括检查ORA_CRS_HOME环境变量设置、根脚本执行情况、集群软件损坏的处理以及GPnP服务的状态验证。建议用户按照提供的文档和指南进行故障排除,确保集群服务正常运行。
摘要由CSDN通过智能技术生成

在查看11G数据库的集群日志时,发现了CRS-2316 / CRS-2317的错误:

CRS-2317:Fatal error: cannot get local GPnP security keys (wallet).

CRS-2316:Fatal error: cannot initialize GPnP, CLSGPNP_ERR (Generic GPnP error).

查阅官方文档(ID:1332725.1),得知出现这种报错信息的原因可能有:

1. ORA_CRS_HOME environment variable is set  设置了环境变量ORA_CRS_HOME

It's highly recommended to unset ORA_CRS_HOME completely from user profile(root user, grid user and RAC database user) and shell environment, otherwise various errors will be encountered including the error above.

A wrongly set ORA_CRS_HOME to non active GI home will have worse impact.

2. Error in $GI_HOME/log//alert.log while running root script (root.sh or rootupgrade.sh):  当执行脚本时出现了这个报错

1A. If root script finishes successfully, the error can be ignored. 若脚本执行成功,则可以忽略这个报错

1B. If root script fails, and $GRID_HOME/cfgtoollogs/rootcrs_.log has the following:

CRS-4124: Oracle High Availability Services startup failed.

CRS-4000: Command Start failed, or completed with errors.

Refer to note 1069182.1 and note 1050908.1 Section "Case 1: OHASD.BIN does not start" to debug.    若脚本执行失败,参照文档解除错误

3. Persists error in $GI_HOME/log//alert.log while GI or node is restarting and GI fails to come up

The likely cause is GI software is damaged. The solution is to remove and add the node back to the cluster. Refer to the following documentation details:

当重启GI或者节点重启时GI无法找到,日志中错误持续存在,GI软件可能已经损坏,解决方法是移除后再重新将节点加入集群

可参考:

Oracle® Clusterware

Administration and Deployment Guide

11g Release 2 (11.2)

Chapter 4: Adding and Deleting Cluster Nodes

Oracle® Real Application Clusters

Administration and Deployment Guide

11g Release 2 (11.2)

Chapter 10: Adding and Deleting Oracle RAC from Nodes on Linux and UNIX Systems

Chapter 11: Adding and Deleting Oracle RAC from Nodes on Windows Systems

4. Error in RAC DB/ASM alert.log

Starting ORACLE instance (normal)    在启动oracle实例时告警日志中出现错误

....

[USER(9816)]CRS-2317:Fatal error: cannot get local GPnP security keys (wallet).

....

[USER(9816)]CRS-2316:Fatal error: cannot initialize GPnP, CLSGPNP_ERR (Generic GPnP error).

kggpnpInit: failed to init gpnp

WARNING: No cluster interconnect has been specified. Depending on

the communication driver configured Oracle cluster traffic

may be directed to the public interface of this machine.

Oracle recommends that RAC clustered databases be configured

with a private interconnect for enhanced security and

performance.

.....

Cluster communication is configured to use the following interface(s) for this instance

The following error is reported from sqlplus SQL statement or in trace file:

ORA-29780: unable to connect to GPnP daemon [CLSGPNP_ERR] <<<<<

First thing is to ensure that  gpnpd.bin is running:    首先确认gpnpd.bin在运行

/bin/crsctl stat res ora.gpnpd -t -init

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

Name Target State Server

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

Cluster Resources

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

ora.gpnpd

1 ONLINE ONLINE

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

Second, ensure ORA_CRS_HOME environment variable is unset  然后清除环境变量ORA_CRS_HOME的设置

5. Command "oifcfg" returns the error   在执行oifcfg命令时出现这个错误,参照文档1050472.1

Refer to:

note 1050472.1 - Failed to initialize GPnP Reported While Executing oifcfg

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值