Datapatch failed “LsInventorySession failed: Unable to create patchObject”
(Doc ID 2404955.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
While executing datapatch the following message is displayed :
Connecting to database…OK
Bootstrapping registry and package to current versions…done
Queryable inventory could not determine the current opatch status.
Execute ‘select dbms_sqlpatch.verify_queryable_inventory from dual’
and/or check the invocation log
for the complete error.
Prereq check failed, exiting without installing any patches.
$ORACLE_HOME/QOpatch/qopatch_log.log has following messages
KUP-05007: Warning: Intra source concurrency disabled because the preprocessor option is being
Field Definitions for table OPATCH_XML_INV
Record format DELIMITED BY NEWLINE
Data in file has same endianness as the platform
Reject rows with all null fields
Fields in Data Source:
XML_INVENTORY CHAR (100000000)
Terminated by “UIJSVTBOEIZBEFFQBL”
Trim whitespace same as SQL Loader
KUP-04095: preprocessor command /oracle/v12201/QOpatch/qopiprep.bat encountered error “Inventory
load failed… OPatch cannot load inventory for the given Oracle Home.
LsInventorySession failed: Unable to create patchObject
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document