My Oracle Support Banner

ORA-00604 ORA-06502 Executing CREATE USER When _system_trig_enabled=TRUE and using AFTER LOGON Trigger (Doc ID 2278541.1)

Last updated on MARCH 26, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

- Env: RDBMS migrated from 11g to 12c

- Issue: CREATE USER fails when _system_trig_enabled=true and using AFTER LOGON trigger:

ORA-00604 error occurred at recursive SQL level 2
ORA-06502 PL / SQL numeric or value error
ORA-06512 at line 21

To solve this error it is recommended to leave the parameter in _system_trig_enabled = FALSE but I need to leave it activated for triggers to work.

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.