opatch error code 73 PrereqSession failed Invalid patch location 解決
Linux Oracle 10.2 RAC打補丁patch-8833280的時候,按照README.html檔案在執行補丁適用性檢查的時候,報告“PrereqSession failed: Invalid patch location”錯誤,詳細錯誤資訊如下:
[oracle@rac1 patch]$ unzip p8833280_10204_Linux-x86.zip [oracle@rac1 patch]$ opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir ./8833280 Invoking OPatch 10.2.0.4.2 Oracle Interim Patch Installer version 10.2.0.4.2 Copyright (c) 2007, Oracle Corporation. All rights reserved. PREREQ session Oracle Home : /u01/app/oracle/product/10.2.0/db_1 Central Inventory : /u01/app/oracle/oraInventory from : /etc/oraInst.loc OPatch version : 10.2.0.4.2 OUI version : 10.2.0.4.0 OUI location : /u01/app/oracle/product/10.2.0/db_1/oui Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2009-12-04_16-43-11PM.log Invoking prereq "checkconflictagainstohwithdetail" The location "./8833280/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命令引數,發現是readme檔案上的命令錯誤,應該將引數-phBaseDir修改為 -ph,修改後執行成功,過程如下:
[oracle@rac1 patch]$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./8833280 Invoking OPatch 10.2.0.4.2 Oracle Interim Patch Installer version 10.2.0.4.2 Copyright (c) 2007, Oracle Corporation. All rights reserved. PREREQ session Oracle Home : /u01/app/oracle/product/10.2.0/db_1 Central Inventory : /u01/app/oracle/oraInventory from : /etc/oraInst.loc OPatch version : 10.2.0.4.2 OUI version : 10.2.0.4.0 OUI location : /u01/app/oracle/product/10.2.0/db_1/oui Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2009-12-04_16-43-18PM.log Invoking prereq "checkconflictagainstohwithdetail" Prereq "checkConflictAgainstOHWithDetail" passed. OPatch succeeded. [oracle@rac1 patch]$ |
使用opatch命令的線上幫助,發現phBaseDir和ph引數的區別如下:
[oracle@oracle opatch]$ opatch prereq --help Invoking OPatch 10.2.0.4.2 Oracle Interim Patch Installer version 10.2.0.4.2 Copyright (c) 2009, Oracle Corporation. All rights reserved. DESCRIPTION This operation runs the prerequisite checks on an ORACLE_HOME. SYNTAX opatch prereq [-jdk [-oh [-property_file [-local_node [-remote_nodes
[-ph [-phBaseDir [-phBaseFile [-id ...... [oracle@oracle opatch]$ |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22049049/viewspace-1029400/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【ERROR】OPatch failed with error code 73ErrorAI
- OPatch failed with error code 73AIError
- weblogic報錯: OPatch failed with error code 73WebAIError
- OPatch failed with error code 73(OracleHomeInventory gets null oracleHomeInfo)AIErrorOracleNull
- "OPatch failed with error code 73"故障一例AIError
- OPatch failed with error code 73 (These not-installed components)AIError
- 記一次OPatch failed with error code 73錯誤AIError
- OPatch failed with error code 135, Given 'ocmrf' file does not existsAIError
- Ping:Transmit Failed, Error Code 65問題解決MITAIError
- check database patch with opatch toolsDatabase
- Navicat tnt版本提示“failed to save password error code”的解決辦法AIError
- 執行opatch lsinventory報錯73
- Cargo invocation has failed: Error: exit code: 101.解決辦法CargoAIError
- Java could not be located. OPatch cannot proceed!.OPatch failedJavaAI
- 解決 yum clean all Error rpmdb open failedErrorAI
- Job for mysqld.service failed because the control process exited with error code錯誤解決MySqlAIError
- android模擬器 一個錯誤:X Error of failed request: BadRequest (invalid request code or no such operation)...AndroidErrorAI
- 解決eclipse的 Invalid project description. overlaps the location of another project: 問題EclipseProject
- ios clang: error: linker command failed with exit code 1 (use -v to see invocation)解決方法iOSErrorAI
- 使用opatch 命令檢視oracle patch 狀況Oracle
- 解決錯誤:ASP.NET Error: Failed to access IIS metabaseASP.NETErrorAI
- RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED解決辦法ErrorDNNAI
- VS 2017 Git failed with a fatal error的解決辦法GitAIError
- oem12c opatchauto failed with error code 135AIError
- 【問題解決】remote: parse error: Invalid numeric literal at line 1, column 20,解決思路REMError
- ApplySession failed: Patch ID is null.APPSessionAINull
- mysql_slave :Error_code: 1593解決MySqlError
- 解決Xcode報錯:Command /usr/bin/codesign failed with exit code 1XCodeAI
- Opatch 報錯 Prerequisite check CheckMinimumOPatchVersion failedUIAI
- GitLab error: RPC failed; result=22, HTTP code = 413GitlabErrorRPCAIHTTP
- FreeBSD系統下zfs: failed with error 6錯誤的解決方法AIError
- mac執行git命令出現xcrun: error: invalid active developer path解決方法MacGitErrorDeveloper
- OPatch/Patch Questions/Issues for Oracle Clusterware/ RAC Environments_1339140.1Oracle
- Oracle Data Server Interim Patch Installation (OPatch) (Doc ID 189489.1)OracleServer
- zt_使用opatch給oracle打補丁patch_bugOracle
- 解決方案 | MiKTex SSL connect error code 35Error
- [ERROR] Failed to open logErrorAI
- git push出現unpack failed: error Missing tree錯誤的解決方法GitAIError