ORACLE集群管理-补丁升级CRS fails to start (gpnp start error)

CRS fails to start after applying 11.2.0.4 Oct 2018 GI PSU or 11.2.0.4 Oct 2018 BP (Doc ID 2477177.1

  

问题概述:

1 采用手动的方式对11.2.0.4版本集群进行补丁升级,

执行#GI_HOME/crs/install/rootcrs.pl  -unlock 

报错 : envem报错,解决方式为 安装perl-ENv rpm包即可。

2 本次只升级了GI PSU 未升级ocw补丁,在执行root脚本

#GI_HOME/crs/install/rootcrs.pl  -patch 过程中gpnp进程无法启动直接挂起。

以下文档为gpnp进程挂起bug。

APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

SYMPTOMS

After applying 11.2.0.4 Oct 2018 GI PSU or 11.2.0.4 Oct 2018 BP, CRS fails to start with the following error:

Oracle Grid Infrastructure stack start initiated but failed to complete

CHANGES

 Applied 11.2.0.4 Oct 2018 GI PSU or 11.2.0.4 Oct 2018 BP

CAUSE

There are two causes:

Cause 1:

Bug 28973509 - CRS FAILS TO START AFTER 11.2.0.4 OCW OCT 2018 PSU IS APPLIED BUT DB PSU IS NOT APPLIED TO GI HOME

If the 11.2.0.4 OCW Oct 2018 PSU (patch 27735020) is applied but if the 11.2.0.4 DB Oct 2018 PSU (patch 28204707) is not applied, then the gpnpd fails to start.

The gpnpdOUT.log shows repeated lines of
<GI HOME>/bin/gpnpd.bin: symbol lookup error: <$GRID_HOME>/lib/libhasgen11.so: undefined symbol: ztpk_SetKeyInfo

To confirm if this is the cause, issue "opatch lsinventory -og <$GRID_HOME>" to check if patch 27735020 is applied but patch 28204707 is not applied.
 

There are many reasons that the 11.2.0.4 OCW Oct 2018 PSU (patch 27735020) is applied but the 11.2.0.4 DB Oct 2018 PSU (patch 28204707) is not applied to GI HOME.
The following are two of the common reasons:
  1. manually applied the 11.2.0.4 OCW Oct 2018 PSU (patch 27735020) but did not apply the 11.2.0.4 DB Oct 2018 PSU (patch 28204707)
  2. "opatch auto" ran into an error while applying the 11.2.0.4 DB Oct 2018 PSU (patch 28204707), so the patch 28204707 was not applied

 

Cause 2:

If 11.2.0.4 DB Oct 2018 PSU (patch 28204707) applied but the 11.2.0.4 OCW Oct 2018 PSU (patch 27735020) is not applied to GI HOME

The gpnpd.trc shows repeated restart of gpnpd.  The terminating error is

2018-12-10 23:52:00.077: [ GPNP][938252064]clsgpnp_InitSetFreeCK: [at clsgpnp0.c:4359] Result: (10016) CLSGPNP_unknown. Cannot set primary certkey for id=1
2018-12-10 23:52:00.078: [ GPNP][938252064]clsgpnp_InitIdSetCtxCK: [at clsgpnp0.c:4401] Result: (10016) CLSGPNP_unknown. Cannot set certkey for id=1
2018-12-10 23:52:00.078: [ GPNP][938252064]clsgpnp_Init: [at clsgpnp0.c:925] Result: (10016) CLSGPNP_unknown. Error getting certkeys.
2018-12-10 23:52:00.078: [ GPNP][938252064]clsgpnp_Init init failed. Error: CLSGPNP_ERR (1) .
2018-12-10 23:52:00.078: [ default][938252064]Fatal error: cannot initialize GPnP, CLSGPNP_ERR (Generic GPnP error).
2018-12-10 23:52:00.282: [ default][938252064]clsgpnpd_main STOP init failed - terminating.
 

 To confirm if this is the cause, issue "opatch lsinventory -og <$GRID_HOME>" to check if patch 28204707 is applied but patch 27735020 is not applied.

 

SOLUTION

Case 1:

Manually apply the 11.2.0.4 DB Oct 2018 PSU (patch 28204707) to GI  HOME.

Refer to the Section 5 "Manual Steps for Apply/Rollback Patch" in the "Oracle Grid Infrastructure 11.2.0.4.x Patch Set Update SUPPLEMENTAL README Document 1641136.1"

 

Case 2:

Manually apply the 11.2.0.4 OCW Oct 2018 PSU (patch 27735020) to GI HOME.

Refer to the Section 5 "Manual Steps for Apply/Rollback Patch" in the "Oracle Grid Infrastructure 11.2.0.4.x Patch Set Update SUPPLEMENTAL README Document 1641136.1"

REFERENCES


NOTE:2490056.1 - After applying or rolling back 11.2.0.4 Oct 2018 PSU or later, either CRS or database fails to start
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值