PatchObject constructor:Input file does not exist
APPLIES TO:
Oracle Universal Installer - Version 10.2.0.3 to 11.1.0.7 [Release 10.2 to 11.1]Information in this document applies to any platform.
Reviewed for currency Aug-27-2012
SYMPTOMS
Following error is reported while checking for conflict among patches which are to be applied (where one of the patches is a napply patch)
For example, which checking for conflict between two patches Patch 608154 and Patch 5892355
Patch 6081547 and Patch 5892355 are taken here as an example only, to explain the issue and they should not be applied to the Oracle Home unless it was advised by Oracle.
Invoking OPatch 10.2.0.4.6
Oracle Interim Patch Installer version 10.2.0.4.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.
PREREQ session
Oracle Home : /opt/oracle/product/10.2.0.3
Central Inventory : /opt/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.6
OUI version : 10.2.0.3.0
OUI location : /opt/oracle/product/10.2.0.3/oui
Log file location : /opt/oracle/product/10.2.0.3/cfgtoollogs/opatch/opatch2009-03-30_17-22-35PM.log
Patch history file: /opt/oracle/product/10.2.0.3/cfgtoollogs/opatch/opatch_history.txt
Invoking prereq "checkconflictamongpatcheswithdetail"
Prereq "checkConflictAmongPatchesWithDetail" not executed
Unable to create Patch Object.
Exception occured : PatchObject constructor: Input file
"/opt/oracle/product/10.2.0.3/patches/6081547/etc/config/actions" or
"/opt/oracle/product/10.2.0.3/patches/6081547/etc/config/inventory" does not exist.
OPatch succeeded.
CHANGES
Would like to know whether there is any potential conflict between patches before they are applied.
For example, while checking for conflict between two patches 6081547 (napply patch) and 5892355
When Patch 6081547 was unzipped, four other patch directories are created and 6081547 is not present, even though the fix for concerned bug is included in the napply patch.
$ cd $ORACLE_HOME/patches/6081547
$ ls -l
drwxr-xr-x 4 oracle oracle 4096 Jun 22 2007 5209867
drwxr-xr-x 4 oracle oracle 4096 Mar 5 16:56 5844945
drwxr-xr-x 4 oracle oracle 4096 Mar 5 16:17 5998544
drwxr-xr-x 4 oracle oracle 4096 Jun 22 2007 6010833
CAUSE
The OPatch option of -phBaseDir option is used to specify the path to base dir where all the patches to be applied are kept.
The command enterred was
$ opatch prereq CheckConflictAmongPatchesWithDetail -phBaseDir $ORACLE_HOME/patches
OPatch will look in $ORACLE_HOME/patches for the following directory structure:
$ORACLE_HOME/patches/6081547/etc/config
Since unzipping the patch creates multiple directories, that directory structure does not exist and -phBaseDir must be the directory that is created when the patch is unzipped.
-phBaseDir $ORACLE_HOME/patches/6081547
SOLUTION
Execute OPatch pointing -phBaseDir to the directory created when patch is unzipped
$ opatch prereq CheckConflictAmongPatchesWithDetail -phBaseDir $ORACLE_HOME/patches/6081547
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15747463/viewspace-769385/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- asmcmd does not exist in directoryASM
- oracle for linux安裝報錯 file /home/oracle/.Xauthority does not existOracleLinux
- The file '/MasterPage.master' does not exist. 類錯誤解決方法AST
- Default copy constructor does not call correct base(轉) constructorStruct
- javax.media does not existJava
- Android解決The APK file app-debug.apk does not exist on disk.AndroidAPKAPP
- 解決Spark讀取Hive分割槽表出現Input path does not exist的問題SparkHive
- Property [title] does not exist on this collection instance
- Waring: /dev/centos/swap does not existdevCentOS
- streamlit run執行報錯,Invalid value: File does not exist: XXX.py
- PSQLexception: ERROR : type "signed" does not existSQLExceptionError
- Laravel Class env does not exist 問題排查Laravel
- SNMP TABLE ERROR : Requested table is empty or does not existError
- ORA-00942: table or view does not existView
- FAQ:Field DATABASE does not exist; see long textDatabase
- relation with OID 637165 does not exist
- No input file specified.
- input type="file"使用
- 清空file input框
- ORA-04043: object DBA_DATA_FILES does not existObject
- ORA-04042 procedure, function, package, or package body does not existFunctionPackage
- ORA-24756: transaction does not exist問題解決
- 【Oracle】-【許可權-ORA-04043】- object does not existOracleObject
- PL/SQL: ORA-00942: table or view does not existSQLView
- ORA-12545 TNS: Host or Object Does not ExistObject
- mac scrcpy 報錯 does not exist or is not a regular file,ERROR: Server connection failed(scrcpy mac與極空間衝突)MacErrorServerAI
- Property 'context' does not exist on type 'NodeRequire'.ts(2339)ContextUI
- The user specified as a definer ('wx_root'@'%') does not exist 解決方案
- file does not start with RIFF id(python)Python
- MySQL 5.7啟動資料庫報錯'does not exist or is not executable'MySql資料庫
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法MySql
- org.apache.maven.plugins:maven-archetype-plugin does not existApacheMavenPlugin
- 模擬ORA-04043並解決(dba_* does not exist)
- The subkey 'HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesAVP' does not exist on the 'localhost'Maclocalhost
- HTML input file檔案域HTML
- HTML input file 檔案域HTML
- No input file specified 解決方法
- input file圖片上傳