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

Last updated on JUNE 27, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms