Blog / People and Culture Blog
EM 13.2: opatch lsinventory Command Fails With Error “RawInventory gets a null Vector of one-off entries
1. Error Message:-
I faced with that error message while I was trying to apply 13.2.0.0.0 patch
[oracle@TESTOEM]$export ORACLE_HOME=/u01/app/oracle/product/agent13c/agent_13.2.0.0.0
[oracle@TESTOEM]$export PATH=$PATH:/u01/app/oracle/product/agent13c/agent_13.2.0.0.0/OPatch/
[oracle@TESTOEM]$ opatch lsinventory
Oracle Interim Patch Installer version 13.8.0.0.0
Copyright (c) 2018, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0
Central Inventory : /etc/oraInventory
from : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/oraInst.loc
OPatch version : 13.8.0.0.0
OUI version : 13.8.0.0.0
Logfilelocation : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-08-20_21-56-48PM_1.log
OPatch detects the Middleware Home as “/u01/app/oracle/product/agent13c”
LsInventorySession failed: RawInventory gets a null Vector of one-off entries
OPatch failed with error code 73
Lets check log file:-
[oracle@TESTOEM]$cat /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-08-20_21-56-48PM_1.log
[Aug20,20189:56:50PM]OPatchinvokedasfollows:’lsinventory-invPtrLoc /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/oraInst.loc ‘
[Aug 20, 2018 9:56:50 PM] OUI-67077:
Oracle Home : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0
Central Inventory : /etc/oraInventory
from : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/oraInst.loc
OPatch version : 13.8.0.0.0
OUI version : 13.8.0.0.0
OUI location : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/oui
Logfilelocation: /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-08-20_21-56-48PM_1.log
[Aug20,20189:56:50PM]Patchhistoryfile: /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch_history.txt
[Aug20,20189:56:50PM]OPatchdetectstheMiddlewareHomeas “/u01/app/oracle/product/agent13c”
[Aug 20, 2018 9:56:50 PM] Starting LsInventorySession at Mon Aug 20 21:56:50 BRT 2018
[Aug 20, 2018 9:56:51 PM] [OPSR-MEMORY-1] : after installInventory.getAllCompsVect() call : 121 (MB)
[Aug 20, 2018 9:56:51 PM] OUI-67073:LsInventorySession failed: RawInventory gets a null Vector of one-off entries
[Aug 20, 2018 9:56:51 PM] Finishing LsInventorySession at Mon Aug 20 21:56:51 BRT 2018
[Aug 20, 2018 9:56:51 PM] Stack Description: java.lang.RuntimeException: RawInventory gets a null Vector of one-off entries
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.ipm.RawInventory.loadRawInventory(RawInventory.java:234)
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.ipm.RawInventory.init(RawInventory.java:171)
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.ipm.RawInventory.getInstance(RawInventory.java:87)
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.ipm.IPMReadServices.getRawInventory(IPMReadServices.java:149)
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.ipm.IPMReadServices.loadInventory(IPMReadServices.java:1031)
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.LsInventorySession.process(LsInventorySession.java:317)
[Aug20,20189:56:51PM]StackTrace:oracle.opatch.OPatchSession.main(OPatchSession.java:2115)
[Aug 20, 2018 9:56:51 PM] StackTrace: oracle.opatch.OPatch.main(OPatch.java:640)
2. Error Message:-
[oracle@TESTOEM]$cd 28070111
[oracle@TESTOEM]
[oracle@TESTOEM]$opatch napply
Oracle Interim Patch Installer version 13.8.0.0.0
Copyright (c) 2018, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0
Central Inventory : /etc/oraInventory
from : /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/oraInst.loc
OPatch version : 13.8.0.0.0
OUI version : 13.8.0.0.0
Logfilelocation: /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-08-20_22-08-19PM_1.log
OPatch detects the Middleware Home as “/u01/app/oracle/product/agent13c”
UtilSession failed: RawInventory gets a null Vector of one-off entries
Logfilelocation: /u01/app/oracle/product/agent13c/agent_13.2.0.0.0/cfgtoollogs/opatch/opatch2018-08-20_22-08-19PM_1.log
OPatch failed with error code 73
SOLUTION:- So solution avaliable at note (Doc ID 2247800.1)
Download oracle.eons.client.zip from this Document attachment.
On the agent host Extract it <AGENT_BASE_DIR>/agent_13.2.0.0.0/inventory/Components/
Ensure you have drwxr—– permissions for oracle.eons.client directory.
Restart the agent
Retry the plugin deploy or opatch operations, which should now work fine
