OPatch报错 Prerequisite check CheckMinimumOPatchVersion failed

Prerequisite check CheckMinimumOPatchVersion failed



问题现象:

[oracle@db01 18522509]$ /DBSoft/Product/11.2.4/db_1/OPatch/opatch apply
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation.  All rights reserved.
 
Oracle Home       : /DBSoft/Product/11.2.4/db_1
Central Inventory : /DBSoft/oraInventory
from           : /DBSoft/Product/11.2.4/db_1/oraInst.loc
OPatch version    : 11.2.0.3.4
OUI version       : 11.2.0.4.0
Log file location : /DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-09_04-27-48AM_1.log
 
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckMinimumOPatchVersion" failed.
The details are:
 
The OPatch being used has version 11.2.0.3.4 while the following patch(es) require higher versions:
Patch 17478514 requires OPatch version 11.2.0.3.5.
Patch 18031668 requires OPatch version 11.2.0.3.5.
Patch 18522509 requires OPatch version 11.2.0.3.5.
Please download latest OPatch from My Oracle Support.
 
UtilSession failed: Prerequisite check "CheckMinimumOPatchVersion" failed.
Log file location: /DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-09_04-27-48AM_1.log
 
OPatch failed with error code 73

查看Opatch日志:

[oracle@db01 OPatch]$ cat /DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-09_04-27-48AM_1.log
[Oct 9, 2014 4:27:49 AM]     OPatch invoked as follows: 'apply -invPtrLoc /DBSoft/Product/11.2.4/db_1/oraInst.loc '
[Oct 9, 2014 4:27:49 AM]     OUI-67077:
                             Oracle Home       : /DBSoft/Product/11.2.4/db_1
                             Central Inventory : /DBSoft/oraInventory
                                from           : /DBSoft/Product/11.2.4/db_1/oraInst.loc
                             OPatch version    : 11.2.0.3.4
                             OUI version       : 11.2.0.4.0
                             OUI location      : /DBSoft/Product/11.2.4/db_1/oui
                             Log file location : /DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-09_04-27-48AM_1.log
[Oct 9, 2014 4:27:49 AM]     Patch history file: /DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch_history.txt
[Oct 9, 2014 4:27:53 AM]     Verifying environment and performing prerequisite checks...
[Oct 9, 2014 4:27:53 AM]     Ignoring file "/home/oracle/18522509/README.html" in the patch directory.
[Oct 9, 2014 4:27:53 AM]     Ignoring file "/home/oracle/18522509/README.txt" in the patch directory.
[Oct 9, 2014 4:27:53 AM]     Ignoring file "/home/oracle/18522509/patchmd.xml" in the patch directory.
[Oct 9, 2014 4:27:54 AM]     Checking conflict among patches...
[Oct 9, 2014 4:27:54 AM]     Patch ID  18522509
[Oct 9, 2014 4:27:54 AM]     Patches that conflict: [  ]
[Oct 9, 2014 4:27:54 AM]     Checking conflicts for patch : 18522509
[Oct 9, 2014 4:27:55 AM]     Checking if Oracle Home has components required by patches...
[Oct 9, 2014 4:27:55 AM]     Check if patch "17478514"  is a no-op patch.
[Oct 9, 2014 4:27:55 AM]     Check if patch "18031668"  is a no-op patch.
[Oct 9, 2014 4:27:55 AM]     Check if patch "18522509"  is a no-op patch.
[Oct 9, 2014 4:27:55 AM]     Running prerequisite checks...
[Oct 9, 2014 4:27:55 AM]     Prerequisite check "CheckMinimumOPatchVersion" failed.
                             The details are:
                            
                            
                             The OPatch being used has version 11.2.0.3.4 while the following patch(es) require higher versions:
                             Patch 17478514 requires OPatch version 11.2.0.3.5.
                             Patch 18031668 requires OPatch version 11.2.0.3.5.
                             Patch 18522509 requires OPatch version 11.2.0.3.5.
                             Please download latest OPatch from My Oracle Support.
[Oct 9, 2014 4:27:55 AM]     OUI-67073:UtilSession failed: Prerequisite check "CheckMinimumOPatchVersion" failed.
[Oct 9, 2014 4:27:55 AM]     Finishing UtilSession at Thu Oct 09 04:27:55 CST 2014
[Oct 9, 2014 4:27:55 AM]     Log file location: /DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-09_04-27-48AM_1.log
[Oct 9, 2014 4:27:55 AM]     Stack Description: java.lang.RuntimeException: Prerequisite check "CheckMinimumOPatchVersion" failed.
[Oct 9, 2014 4:27:55 AM]     StackTrace: oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java:5786)
[Oct 9, 2014 4:27:55 AM]     StackTrace: oracle.opatch.opatchutil.NApply.process(NApply.java:1587)
[Oct 9, 2014 4:27:55 AM]     StackTrace: oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1136)
[Oct 9, 2014 4:27:55 AM]     StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Oct 9, 2014 4:27:55 AM]     StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[Oct 9, 2014 4:27:55 AM]     StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[Oct 9, 2014 4:27:55 AM]     StackTrace: java.lang.reflect.Method.invoke(Method.java:592)
[Oct 9, 2014 4:27:55 AM]     StackTrace: oracle.opatch.UtilSession.process(UtilSession.java:322)
[Oct 9, 2014 4:27:55 AM]     StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2346)
[Oct 9, 2014 4:27:55 AM]     StackTrace: oracle.opatch.OPatch.main(OPatch.java:613)

问题分析:

我们通过上面的日志信息可以明确的看到,是因为Opatch最小版本要求不满足导致。参考Metalink 1638380.1


问题解决办法
:

这个时候我们需要上http://updates.oracle.com/download/6880880.html,下载一个最新的OPatch工具,并通过该工具进行补丁的apply即可。



你可能感兴趣的:(OPatch报错 Prerequisite check CheckMinimumOPatchVersion failed)