My Oracle Support Banner

datapatch fails with Error PLS-00201: identifier 'ORA_DATABASE_NAME' must be declared or PLS-00302: component 'IS_NEW_INSTANCE_ALLOWED' must be declared (Doc ID 2479981.1)

Last updated on MARCH 15, 2024

Applies to:

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

Symptoms

 datapatch Execution fails with below errors

1) 

Patch 27547374 apply: WITH ERRORS
logfile: /u01/oracle/cfgtoollogs/sqlpatch/27547374/22327650/27547374_apply_ORCL_2018Nov21_16_51_46.log (errors)
Error at line 27538: Warning: Package Body created with compilation errors.
Error at line 29299: Warning: Package Body created with compilation errors.
Error at line 29306: 56/7 PL/SQL: Statement ignored
Error at line 29307: 59/42 PLS-00201: identifier 'ORA_DATABASE_NAME' must be declared

 

or

2)

Patch 35643107 apply: WITH ERRORS
logfile: /app/oracle/cfgtoollogs/sqlpatch/35643107/25405995/35643107_apply_ORCL_2024Feb15_05_17_38.log (errors)
Error at line 10013: script rdbms/admin/prvtbcap.plb
- Warning: Package Body created with compilation errors.
Error at line 10019: script rdbms/admin/prvtbcap.plb
- 172/5 PL/SQL: Statement ignored
Error at line 10020: script rdbms/admin/prvtbcap.plb
- 172/39 PLS-00302: component 'IS_NEW_INSTANCE_ALLOWED' must be declared
Error at line 10021: script rdbms/admin/prvtbcap.plb
- 500/5 PL/SQL: Statement ignored
Error at line 10022: script rdbms/admin/prvtbcap.plb
- 500/39 PLS-00302: component 'IS_NEW_INSTANCE_ALLOWED' must be declared

 

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.