案例分析-Ojvm PSU补丁集报补丁冲突

微信公众号:云库管    www.yunDBA.com

北京云库管科技有限公司 (内部培训资料) 返回上级

 

yundba:

OJVM补丁(11.2.0.4.180810-WINDOWS ORACLE JAVAVM COMPONENT BUNDLE PATCH (Patch))报错,信息如下:

OUI-67073:UtilSession 
失败: Interim patch 28416098  requires prerequisite patch(es) [27695940] which are not present in the Oracle Home.

 

 

 

 

 

 

 

说明: C:\Users\wyq\Documents\Tencent Files\123614791\Image\C2C\Z89L8O[}$WI~P5$0)H_6W8V.png

 

答:

1.     补丁冲突分析:

在打ojvm PUS 时(11.2.0.4.180810p28416098),ojvm PUS压缩包里有个readme.html说明文件,它阐述了打此补丁集所需要的前提条件。

 

Oracle® Database Oracle JavaVM Component 11.2.0.4.180810 on Windows 64bi

his document includes the following sections:

·         Section 1, "Patch Information"

·         Section 2, "Prerequisites"

2 Prerequisites

Before you install or deinstall the patch, ensure that you meet the following requirements. For an Oracle RAC environment, meet these prerequisites on each of the nodes.

  1. Ensure that the Oracle Database on which you are installing the patch or from which you are rolling back the patch is Oracle Database 11g Release 2 (11.2.0.4.0).
  2. Ensure that the following patch is already installed prior to installing this patch:

 

可以看出,打ojvm补丁需要依赖11.2.0.4.180717 db PSU, 而本例中,用户没有打11.2.0.4.180717 db PSU,而打的11.2.0.4.181016-Patch 28265827 WINDOWS DB BUNDLE PATCH, 导致报补丁冲突。

解决方法: 既然已打上了11.2.0.4.181016-Patch 28265827 DB PSU, 那就打11.2.0.4.181016- ojvm PSU即可避免补丁冲突。

同时在11.2.0.4.181016- ojvm PSUreadme.html里,也看出它需要依赖11.2.0.4.181016-db PSU

 

2总结:

补丁集是有依赖的条件的,在补丁集里的readme.html里说的很清楚,所以打同一季度发布的版本(db PSU ojvm PUS)能避免这类问题。