My Oracle Support Banner

datapatch Fails with "Undefined subroutine &catcon::catconDfltAppModule" or "Undefined subroutine &catcon::dirname" (Doc ID 2585654.1)

Last updated on DECEMBER 20, 2019

Applies to:

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

Symptoms

Symptom 1 (a):
Datapatch fails with the following error :

datapatch -verbose

Log file for this invocation: $ORACLE_BASE\cfgtoollogs\sqlpatch\sqlpatch_<timestamp>\sqlpatch_invocation.log

Connecting to database...OK
Gathering database info...Error: prereq checks failed!
Undefined subroutine &catcon::catconDfltAppModule called at $ORACLE_HOME\\sqlpatch/sqlpatch.pm line 1997.

 

datapatch -debug -verbose shows :

[2019-09-05 09:27:52] user_oh:
[2019-09-05 09:27:52] verbose: 1
[2019-09-05 09:27:52] debug:
[2019-09-05 09:27:52] database name: SID
[2019-09-05 09:27:52] Error: prereq checks failed!
[2019-09-05 09:27:52] Undefined subroutine &catcon::catconDfltAppModule called at $ORACLE_HOME\\sqlpatch/sqlpatch.pm line 1997.

 

 Symptom 1 (b):

Connecting to database...OK
catcon: ALL catcon-related output will be written to ORACLE_HOME\cfgtoollogs\sqlpatch\sqlpatch_timestamp/sqlpatch_catcon__catcon_1864.lst
catcon: See ORACLE_HOME\cfgtoollogs\sqlpatch\sqlpatch_timestamp/sqlpatch_catcon_*.log files for output generated by scripts
catcon: See ORACLE_HOME\cfgtoollogs\sqlpatch\sqlpatch_timestamp/sqlpatch_catcon__*.lst files for spool files, if any
Use of uninitialized value $ENV{"ORACLE_HOME"} in concatenation (.) or string at ORACLE_HOME\\rdbms\admin/catcon.pm line 4260.
Undefined subroutine &catcon::dirname called at ORACLE_HOME\\rdbms\admin/catcon.pm line 4266.

 

 

Symptom 2:

Connecting to database...OK
catcon: ALL catcon-related output will be written to ORACLE_HOME\cfgtoollogs\sqlpatch\sqlpatch_2708_2019_12_16_09_13_47/sqlpatch_catcon__catcon_4704.lst
catcon: See ORACLE_HOME\cfgtoollogs\sqlpatch\sqlpatch_2708_2019_12_16_09_13_47/sqlpatch_catcon_*.log files for output generated by scripts
catcon: See ORACLE_HOME\cfgtoollogs\sqlpatch\sqlpatch_2708_2019_12_16_09_13_47/sqlpatch_catcon__*.lst files for spool files, if any
Use of uninitialized value $ENV{"ORACLE_HOME"} in concatenation (.) or string at ORACLE_HOME\\rdbms\admin/catcon.pm line 4276.
Undefined subroutine &catcon::dirname called at ORACLE_HOME\rdbms\admin/catcon.pm line 4282

 

 

 

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
Cause
Solution
References


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