【Oracle】OPatch升級,oracleopatch
在進行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_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.
Windows server 2008 安裝oracle 10g升級補丁8350262失敗
建議在百度裡裡找找人家裝Windows server 2008 安裝oracle 10g成功的文章,有可能是你的電腦系統問題,試試全新安一個乾淨的系統看看.
oracle打補丁問題
更換一個目錄試一下
把patch 安裝檔案放在/tmp 檔案下,在嘗試一下安裝
參考資料:blog.csdn.net/...799096