My Oracle Support Banner

datapatch Fails with Error :'KUP-04095: preprocessor command qopiprep.bat encountered error $ORACLE_HOME/bin/orabasehome: Permission denied' (Doc ID 3036168.1)

Last updated on JULY 19, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Generic UNIX

Symptoms

datapatch fails with below error:

Connecting to database...OK
Gathering database info...done

Bootstrapping registry and package to current versions...done
Error: prereq checks failed!
verify_queryable_inventory returned ORA-20001: Latest xml inventory is not loaded into table
Prereq check failed, exiting without installing any patches.


qopatch_log.log shows:

XML_INVENTORY                   CHAR (100000000)
Terminated by "UIJSVTBOEIZBEFFQBL"
Trim whitespace same as SQL Loader
KUP-04095: preprocessor command $ORACLE_HOME/QOpatch/qopiprep.bat encountered error "$ORACLE_HOME/QOpatch/qopiprep.bat: line 66: $ORACLE_HOME/bin/orabasehome: Permission denied $ORACLE_HOME/QOpatch"

 

SQL> select * from OPATCH_XML_INV ;
ERROR:
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/QOpatch/qopiprep.bat: line 66:
$ORACLE_HOME/bin/orabasehome: Permission denied
$ORACLE_HOME/QOpatch"

 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


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