My Oracle Support Banner

datapatch Fails on AIX with "KUP-04017: OS message",'ORA-20001' (Doc ID 2120739.1)

Last updated on FEBRUARY 14, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
IBM AIX on POWER Systems (64-bit)

Symptoms

datapatch fails with error:

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'

 

SQL> select dbms_sqlpatch.verify_queryable_inventory from dual;

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

 

SQL> select * from OPATCH_XML_INV ;
ERROR:
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-29400: data cartridge error
KUP-04004: error while reading file
$ORACLE_HOME/QOpatch/qopiprep.bat

 

1)  KUP-04017: OS message: JVMJ9VM015W Initialization error for library j9gc24(2): Failed to instantiate heap; 1M requested

qopatch_log.log shows:

KUP-04004: error while reading file $ORACLE_HOME/QOpatch/qopiprep.bat
KUP-04017: OS message: Error 0
KUP-04017: OS message: JVMJ9VM015W Initialization error for library j9gc24(2): Failed to instantiate heap; 1M requested
Could not create the Java virtual machine.
JVMJ9VM015W Initiali
KUP-04118: operation “pipe read”, location “skudmir”

 

2) KUP-04017: OS message: Exception in thread "Attach API initializer" java.lang.ExceptionInInitializerError

 qopatch_log.log shows:

KUP-04004: error while reading file $ORACLE_HOME/QOpatch/qopiprep.bat
KUP-04017: OS message: Error 0
KUP-04017: OS message: Exception in thread "Attach API initializer" java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.ensureError(J9VMInternals.java:145)
at java.lang
KUP-04118: operation "pipe read", location "skudmir:2"

 

 

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
 1)  KUP-04017: OS message: JVMJ9VM015W Initialization error for library j9gc24(2): Failed to instantiate heap; 1M requested
 2) KUP-04017: OS message: Exception in thread "Attach API initializer" java.lang.ExceptionInInitializerError
Cause
 1) APAR IZ55237 was missing.
 2) Permission Issue:
Solution
 1)
 2)
References


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