【Oracle】OPatch升级

在进行PSU升级过程中,opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir ./12419378

检测报错:

Invoking prereq "checkconflictagainstohwithdetail" 

The location "./9352164/README.html" is not a directory or a valid patch zip file.  

Prereq "checkConflictAgainstOHWithDetail" not executed 

PrereqSession failed: Invalid patch location. 

 

OPatch failed with error code 73

这个是由于OPatch版本太低导致的,升级OPatch版本即可。

过程如下:

首先进入MOS下载需要的OPatch版本:

 【Oracle】OPatch升级_第1张图片

 【Oracle】OPatch升级_第2张图片

 【Oracle】OPatch升级_第3张图片

下载下来以后传入服务器中:

放到$ORACLE_HOME下删除原有的OPatch,解压新下载的OPatch

[oracle@ITAA dbhome_1]$ rm -rf OPatch/

[oracle@ITAA dbhome_1]$ unzip p6880880_112000_LINUX.zip 

Archive:  p6880880_112000_LINUX.zip

   creating: OPatch/

   creating: OPatch/jlib/

  inflating: OPatch/jlib/oracle.opatch.classpath.jar  

  inflating: OPatch/jlib/oracle.opatch.classpath.windows.jar  

  inflating: OPatch/jlib/opatch.jar  

   creating: OPatch/jlib/fa/

  inflating: OPatch/jlib/fa/oracle.opatch.fa.classpath.windows.jar  

  inflating: OPatch/jlib/fa/oracle.opatch.fa.classpath.unix.jar  

  inflating: OPatch/jlib/fa/oracle.opatch.fa.classpath.jar  

  inflating: OPatch/jlib/opatchsdk.jar  

  inflating: OPatch/jlib/oracle.opatch.classpath.unix.jar  

   creating: OPatch/oplan/

  inflating: OPatch/oplan/oplan.bat  

   creating: OPatch/oplan/jlib/

  inflating: OPatch/oplan/jlib/oplan.jar  

  inflating: OPatch/oplan/jlib/osysmodel-utils.jar  

  inflating: OPatch/oplan/jlib/patchsdk.jar  

  inflating: OPatch/oplan/jlib/JMXDrivers.jar  

  inflating: OPatch/oplan/jlib/Validation.jar  

  inflating: OPatch/oplan/jlib/bundle.jar  

  inflating: OPatch/oplan/jlib/oracle.oplan.classpath.jar  

  inflating: OPatch/oplan/jlib/OuiDriver.jar  

  inflating: OPatch/oplan/jlib/automation.jar  

   creating: OPatch/oplan/jlib/jaxb/

  inflating: OPatch/oplan/jlib/jaxb/jaxb-impl.jar  

  inflating: OPatch/oplan/jlib/jaxb/activation.jar  

  inflating: OPatch/oplan/jlib/jaxb/jaxb-api.jar  

  inflating: OPatch/oplan/jlib/jaxb/jsr173_1.0_api.jar  

  inflating: OPatch/oplan/jlib/EMrepoDrivers.jar  

  inflating: OPatch/oplan/jlib/CRSProductDriver.jar  

  inflating: OPatch/oplan/jlib/ValidationRules.jar  

   creating: OPatch/oplan/jlib/apache-commons/

  inflating: OPatch/oplan/jlib/apache-commons/commons-cli-1.0.jar  

  inflating: OPatch/oplan/jlib/OsysModel.jar  

  inflating: OPatch/oplan/oplan      

  inflating: OPatch/oplan/README.txt  

  inflating: OPatch/oplan/README.html  

   creating: OPatch/opatchprereqs/

  inflating: OPatch/opatchprereqs/prerequisite.properties  

   creating: OPatch/opatchprereqs/opatch/

  inflating: OPatch/opatchprereqs/opatch/opatch_prereq.xml  

  inflating: OPatch/opatchprereqs/opatch/runtime_prereq.xml  

  inflating: OPatch/opatchprereqs/opatch/rulemap.xml  

   creating: OPatch/opatchprereqs/oui/

  inflating: OPatch/opatchprereqs/oui/knowledgesrc.xml  

  inflating: OPatch/emdpatch.pl      

  inflating: OPatch/opatch.pl        

  inflating: OPatch/opatch           

  inflating: OPatch/opatch.bat       

  inflating: OPatch/README.txt       

   creating: OPatch/docs/

  inflating: OPatch/docs/Prereq_Users_Guide.txt  

  inflating: OPatch/docs/Users_Guide.txt  

  inflating: OPatch/docs/FAQ         

   creating: OPatch/crs/

  inflating: OPatch/crs/patch11203.pl  

   creating: OPatch/crs/log/

  inflating: OPatch/crs/patch11202.pl  

  inflating: OPatch/crs/auto_patch.pl  

  inflating: OPatch/crs/patch112.pl  

  inflating: OPatch/crs/installPatch.excl  

  inflating: OPatch/opatchdiag.bat   

   creating: OPatch/ocm/

  inflating: OPatch/ocm/ocm_platforms.txt  

 extracting: OPatch/ocm/ocm.zip      

   creating: OPatch/ocm/lib/

  inflating: OPatch/ocm/lib/emocmclnt.jar  

  inflating: OPatch/ocm/lib/emocmclnt-14.jar  

  inflating: OPatch/ocm/lib/http_client.jar  

  inflating: OPatch/ocm/lib/osdt_jce.jar  

  inflating: OPatch/ocm/lib/jnet.jar  

  inflating: OPatch/ocm/lib/emocmcommon.jar  

  inflating: OPatch/ocm/lib/xmlparserv2.jar  

  inflating: OPatch/ocm/lib/log4j-core.jar  

  inflating: OPatch/ocm/lib/jcert.jar  

  inflating: OPatch/ocm/lib/jsse.jar  

  inflating: OPatch/ocm/lib/osdt_core3.jar  

  inflating: OPatch/ocm/lib/regexp.jar  

   creating: OPatch/ocm/bin/

  inflating: OPatch/ocm/bin/emocmrsp  

 extracting: OPatch/version.txt      

  inflating: OPatch/opatch.ini       

  inflating: OPatch/opatchdiag       

重新执行opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir ./12419378

检测通过。

[oracle@ITAA dbhome_1]$ cd /soft

[oracle@ITAA soft]$ ls

12419378                       p6880880_111000_LINUX.zip

1.sql                          p6880880_112000_LINUX.zip

database                       package_0301.tar.gz

linux_11gR2_database_1of2.zip  pack_body_reorg_301.plb

linux_11gR2_database_2of2.zip  pack_reorg_301.plb

p12419378_112010_LINUX .zip

[oracle@ITAA soft]$ opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir ./12419378

Oracle Interim Patch Installer version 11.2.0.3.6

Copyright (c) 2013, Oracle Corporation.  All rights reserved.

 

PREREQ session

 

Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1

Central Inventory : /u01/app/oraInventory

   from           : /u01/app/oracle/product/11.2.0/dbhome_1/oraInst.loc

OPatch version    : 11.2.0.3.6

OUI version       : 11.2.0.1.0

Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2014-09-24_11-44-56AM_1.log

 

Invoking prereq "checkconflictagainstohwithdetail"

 

Prereq "checkConflictAgainstOHWithDetail" passed.

 

OPatch succeeded.

 

 

你可能感兴趣的:(code,error,opatch,73)