My Oracle Support Banner

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

Last updated on FEBRUARY 13, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.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.
***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

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.