My Oracle Support Banner

datapatch fails with Error:"ORA-20001","KUP-04095:opatch: line 839: [: too many arguments" (Doc ID 2714487.1)

Last updated on NOVEMBER 27, 2021

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


datapatch fails with error:

Bootstrapping registry and package to current versions...done
verify_queryable_inventory returned ORA-20001: Latest xml inventory is not loaded into table

Queryable inventory could not determine the current opatch status.
Execute 'select dbms_sqlpatch.verify_queryable_inventory from dual'


And following errors returned when executed following query:

SQL> select dbms_sqlpatch.verify_queryable_inventory from dual;

ORA-20001: Latest xml inventory is not loaded into table


SQL>select * from OPATCH_XML_INV ;
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-29400: data cartridge error
KUP-04095: preprocessor command
$ORACLE_HOME/QOpatch/qopiprep.bat encountered
error "$ORACLE_HOME/OPatch/opatch: line 839: [:
too many arguments
$ORACLE_HOME/OPatch/opatch: line 839: [: t"


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.