ORA-28031: maximum of string enabled roles exceeded
Answers were Sorted based on User's Feedback
Answer / guest
Cause: The user attempted to enable too many roles.
Action: Enable fewer roles.
Please add more information about this Error
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / cvbb
At first time you can think about max_enabled_roles
parameter but max_enabled_roles parameter has nothing to do
if you enable 148 user-defined roles.
In fact this parameter is deprecated. It is retained for
backward compatibility only. You can see this parameter
settings by,
SQL> show parameter max_enable
NAME TYPE VALUE
———————————— ——————————— ——————————
max_enabled_roles integer 150
Though this parameter is set to 150 and you have enabled 148
user defined roles but additional user-defined roles can’t
be enabled because of the actual number of roles that users
can enable is 148. So max_enabled_roles is 2 plus 148,
because each user has two additional roles, PUBLIC and the
user’s own role.
As there is limit to 148 so you have to disable fewer roles
or drop some roles and reorganize your database role policy.
You can enable or disable roles by using the SET ROLE
statement for your current session.
If you want to enable all roles except manager and clerk
role then use,
SET ROLE ALL EXCEPT manager, clerk;
Remember roles listed in the EXCEPT clause must be roles
granted directly to you. They cannot be roles granted to you
through other roles.
| Is This Answer Correct ? | 0 Yes | 0 No |
ORA-24128: partition name specified for a non-partitioned object
DRG-52105: no delete function found
ORA-31099: XDB Security Internal Error
LSX-00018: invalid schema context
ORA-23293: Cannot rename a column which is part of a join index
LSX-00134: attribute "~1S" has invalid qualification "~2S"
KUP-03002: end position (number) <= start position (number) for field: string
PLS-00483: exception 'string' may appear in at most one exception handler in this block
PLS-00511: a record may not contain a PL/SQL table of records
RMAN-06186: PL/SQL package string.string version string in string database is too old
ORA-19686: SPFILE not restored due to string
ORA-31038: Invalid string value: "string"