OPatch報錯 Prerequisite check CheckMinimumOPatchVersion failed,opatch

來源:互聯網
上載者:User

OPatch報錯 Prerequisite check CheckMinimumOPatchVersion failed,opatch

Prerequisite check CheckMinimumOPatchVersion failed



問題現象:

[oracle@db01 18522509]$ /DBSoft/Product/11.2.4/db_1/OPatch/opatch applyOracle Interim Patch Installer version 11.2.0.3.4Copyright (c) 2012, Oracle Corporation.  All rights reserved. Oracle Home       : /DBSoft/Product/11.2.4/db_1Central Inventory : /DBSoft/oraInventoryfrom           : /DBSoft/Product/11.2.4/db_1/oraInst.locOPatch version    : 11.2.0.3.4OUI version       : 11.2.0.4.0Log 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即可。



相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.