重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3698|回复: 0
打印 上一主题 下一主题

[Oracle] 集群日志中出现CRS-2316 / CRS-2317错误

[复制链接]
跳转到指定楼层
楼主
发表于 2021-1-21 15:45:19 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在查看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/<host>/alert<host>.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_<node>.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/<host>/alert<host>.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
<IP ADDRESS>

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在运行

<GI_HOME>/bin/crsctl stat res ora.gpnpd -t -init
---------------------------------------------
Name Target State Server
---------------------------------------------
Cluster Resources
---------------------------------------------
ora.gpnpd
1 ONLINE ONLINE <HOSTNAME1>
---------------------------------------------

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

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-26 17:31 , Processed in 0.081866 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表