Vous êtes sur la page 1sur 4

SEVERE:OUI-67028:Inventory load failed...

OPatch cannot load inventory for the g


iven Oracle Home. [ID 1226483.1]
--------------------------------------------------------------------------------
Modified 10-DEC-2010 Type PROBLEM Status PUBLISHED
In this Document
Symptoms
Cause
Solution
References

--------------------------------------------------------------------------------

Applies to:
Oracle Universal Installer - Version: 10.1.0.2 to 11.2.0.2 - Release: 10.1 to 11
.2
Information in this document applies to any platform.
Symptoms
The error OUI-67073 occurs when execute the command "opatch lsinventory" to veri
fy the Inventory:
INFO:
Oracle Home : /usr/oracle/app/oracle/product/11.1.0
Central Inventory : /usr/oracle/app/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 11.1.0.6.3
OUI version : 11.1.0.7.0
OUI location : /usr/oracle/app/oracle/product/11.1.0/oui
Log file location : /usr/oracle/app/oracle/product/11.1.0/cfgtoollogs/opatch/opa
tch2010-05-04_12-43-17PM.log
FINEST:OUISessionManager::instantiate()
FINEST:lockCentralInventory(): OUISessionManager::lockCentralInventory() will re
try 0 times with 120-second interval to get an Inventory lock.
FINEST:OUISessionManager::lockCentralInventory() try round # 1
FINEST:OUISessionManager::setupSession()
FINEST:OUISessionManager::setupSession() instantiates a OUIInventorySession obj.
FINEST:OUISessionManager::setupSession() init. the session
FINEST:OUISessionManager::setupSession() sets up READ-ONLY session
FINEST:OUISessionManager::setupSession() done
FINEST:OUISessionManager::lockCentralInventory() set up session OK
INFO:Starting LsInventorySession at Tue May 04 12:43:18 GMT+08:00 2010
FINEST: reqVer = 10.2
FINEST: curVer = 11.1.0.7.0
FINEST: Current Ver later than required? :true
FINEST: Current Ver equals required? :false
FINEST:OracleHomeInventory::createInventoryObj()
FINEST:OracleHomeInventory::createInventoryObj() gets OUIInventorySession object
FINEST:Locker::lock()
FINEST: calling lockCentralInventory()
FINEST:OUISessionManager::getInventorySession()
FINEST:Caller Details:
Caller Name : OPatch Caller Version : 11.1.0.6.3 Requested Read-only access : tr
ue Oracle Home : /usr/oracle/app/oracle/product/11.1.0
FINEST:OUISessionManager::register()
FINEST:Registering the caller : OPatch
FINEST:OracleHomeInventory::createInventoryObj() gets OUIInstallAreaControl obje
ct
FINEST:OracleHomeInventory::createInventoryObj() gets OUIInstallInventory object
FINEST:OracleHomeInventory::createInventoryObj() gets OUIOracleHomeInfo object
FINEST:OracleHomeInventory::createInventoryObj() construction done
FINEST:LsInventory::loadAndPrintInventory()
FINEST:Retrieving inventory from Oracle Home...
FINEST:OracleHomeInventory::load()
FINEST:OracleHomeInventory::load() gets a Vector of all product entries
FINEST:OracleHomeInventory::load() gets a Vector of all one-off entries
FINEST:OracleHomeInventory::load() begins to process raw data from OUI to build
up OPatch primitive classes
FINEST:PatchObject(oracleHomePath,patchID)
FINEST:PatchObject::PatchObject looks for the actions file /usr/oracle/app/oracl
e/product/11.1.0/inventory/oneoffs/9209238/etc/config/actions.xml
FINEST:PatchObject::PatchObject looks for the inventory file /usr/oracle/app/ora
cle/product/11.1.0/inventory/oneoffs/9209238/etc/config/inventory.xml
FINEST:parserXMLFile : start
INFO:
SEVERE:OUI-67028:Inventory load failed... OPatch cannot load inventory for the g
iven Oracle Home.
FINEST:Locker::release()
FINEST:OUISessionManager::unRegister()
FINEST:Un-Registering the caller : OPatch
FINEST:LsInventory::getInstance() returns
SEVERE:OUI-67073:LsInventorySession failed: Unable to create patchObject
INFO:Finishing LsInventorySession at Tue May 04 12:43:19 GMT+08:00 2010
INFO:Stack Description: java.lang.RuntimeException: Unable to create patchObject
INFO:StackTrace: oracle.opatch.HomeInventoryHelper.getOneOffEntry(HomeInventoryH
elper.java:308)
INFO:StackTrace: oracle.opatch.OracleHomeInventory.load(OracleHomeInventory.java
:2155)
INFO:StackTrace: oracle.opatch.LsInventorySession.loadAndPrintInventory(LsInvent
orySession.java:371)
INFO:StackTrace: oracle.opatch.LsInventorySession.process(LsInventorySession.jav
a:324)
INFO:StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:1548)
INFO:StackTrace: oracle.opatch.OPatch.main(OPatch.java:619)
FINEST:Cleaning up the directory : "/usr/oracle/app/oracle/product/11.1.0/.patch
_storage/patch_unzip"...
Cause
1. From the above error log file can find the error occurs when try to look for
the actions.xml and inventory.xml of Patch 9209238.
"
FINEST:PatchObject::PatchObject looks for the actions file /usr/oracle/app/oracl
e/product/11.1.0/inventory/oneoffs/9209238/etc/config/actions.xml
FINEST:PatchObject::PatchObject looks for the inventory file /usr/oracle/app/ora
cle/product/11.1.0/inventory/oneoffs/9209238/etc/config/inventory.xml
FINEST:parserXMLFile : start
"
2. Then find and check the opatch log file when applying the Patch 9209238 befor
e.
INFO:
Oracle Home : /usr/oracle/app/oracle/product/11.1.0
Central Inventory : /usr/oracle/app/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 11.1.0.6.8
OUI version : 11.1.0.7.0
OUI location : /usr/oracle/app/oracle/product/11.1.0/oui
Log file location : /usr/oracle/app/oracle/product/11.1.0/cfgtoollogs/opatch/opa
tch2010-03-12_18-38-16PM.log
INFO:Patch history file: /usr/oracle/app/oracle/product/11.1.0/cfgtoollogs/opatc
h/opatch_history.txt
INFO:Starting ApplySession at Fri Mar 12 18:38:17 GMT+08:00 2010
INFO:Starting Apply Session at Fri Mar 12 18:38:17 GMT+08:00 2010
INFO:PatchObject::PatchObject() Patch location is /ORCL/DB01/oradata/patch/92092
38
INFO:PatchObject::createPatchObject() Patch location is /ORCL/DB01/oradata/patch
/9209238
INFO:PatchObject::createPatchObject() patch location is /ORCL/DB01/oradata/patch
/9209238
INFO:ApplySession applying interim patch '9209238' to OH '/usr/oracle/app/oracle
/product/11.1.0'
INFO:Starting to apply patch to local system at Fri Mar 12 18:38:17 GMT+08:00 20
10
INFO:Patch 9209238 has no conflicts/superset wiht any other patch processed till
now
INFO:Checking conflicts for patch: 9209238
INFO:Checking conflicts/supersets for patch: 9209238 with patch:9209238
INFO:Start the Apply initScript at Fri Mar 12 18:38:21 GMT+08:00 2010
INFO:Finish the Apply initScript at Fri Mar 12 18:38:21 GMT+08:00 2010
INFO:
Running prerequisite checks...
INFO:Space Needed : 525762264
INFO:Prereq checkPatchApplicableOnCurrentPlatform Passed for patch : 9209238

3. So can find that at that time when applying Patch 9209238, the opatch version
is 11.1.0.6.8, but now when using opatch lsinventory, the opatch version is 11.
1.0.6.3.
So the cause is that the current opatch version is lower than the version which
was used to apply the Patch 9209238 before.

Solution
Please use the latest version of opatch.
The latest version of opatch can be downloaded and installed from patch 6880880.
To help you to obtain the correct download for your platform and RDBMS release
version, please watch this short video:
https://support.oracle.com/CSP/main/article?cmd=show&type=VIDEO&id=1194734.1:OPa
tchTool

References
NOTE:1194734.1 - Where do I find that on My Oracle Support (MOS) [Video]
Related

Vous aimerez peut-être aussi