Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

ORA-28031: maximum of string enabled roles exceeded

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

IMP-00060: Warning: Skipping table "string"."string" because object type "string"."string" does not exist or has different identifier

3104


ORA-26032: index string.string loading aborted after string keys

2057


if the lengths of two wires are same and the area of cross sections is 4:7 then what will be the ratio of current passing through these wires

2645


[ERROR] [main 11:01:20] (JCLLoggerAdapter.java:error:454) Unsuccessful: alter table user.CEN_USER_MASTER add constraint FKF4EDEDC3D0BAAE75 foreign key (ROLE_ID) references user.CEN_ROLE_MASTER [ERROR] [main 11:01:20] (JCLLoggerAdapter.java:error:454) ORA-02275: such a referential constraint already exists in the table

2680


NZE-28868: Peer certificate chain check failed.

2744


ORA-26079: file "string" is not part of table string.string

1896


IMP-00063: Warning: Skipping table "string"."string" because object type "string"."string" cannot be created or has different identifier

2687


NZE-28890: Entrust Login Failed

1812


In my project I am using star schema and only diimension tables are loaded and not fact tables any one can help me why it is happening? Plase guide me.

2801


IMP-00064: Definition of LOB was truncated by export

6350


ORA-26030: index string.string had string partitions made unusable due to:

1893


invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity

3322


ORA-26084: direct path context already finished

1879


ORA-26028: index string.string initially in unusable state

3802


How to resolve QSM-01108 error. I have no OR conditions in my query, but do have 9 IN conditions. The error says the max limit is 2 while I have 257 number of disjuncts. However, if I remove even a single IN condition, the query is rewritten. I cannot change my query. How can I resolve this issue?

2670