Setting Event 31150 or 31156 Using Alter System Command Fails With ORA-02065 (Doc ID 1357998.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 27-Mar-2013***

Symptoms

You are trying to set XDB events 31150 or 31156 using one of the below syntax in 11.2.0.2 -

SQL> alter system set events '31156 trace name context forever, level 0x400' scope=spfile;

or

SQL> alter system set events '31150 trace name context forever, level 0x400' scope=spfile;

or

SQL> alter system set events='31156 trace name context forever, level 0x400' scope=spfile;

or

SQL> alter system set events='31150 trace name context forever, level 0x400' scope=spfile;

It fails with below error -

ERROR at line 1:
ORA-02065: illegal option for ALTER SYSTEM

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