Opatch 報錯 Prerequisite check CheckMinimumOPatchVersion failed

dbhelper發表於2015-01-17

Prerequisite check CheckMinimumOPatchVersion failed



問題現象:

  1. [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日誌:
  1. [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最小版本要求不滿足導致。參考


問題解決辦法
:

這個時候我們需要上,下載一個最新的OPatch工具,並透過該工具進行補丁的apply即可。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8494287/viewspace-1405552/,如需轉載,請註明出處,否則將追究法律責任。

相關文章