Hi Roland,

following the answers:

A) Drop the roles that are not needed or merge some of the roles to reduce
their total number.
I have 730 roles and 8802 users, I don't know what all are the enabled
roles.

B) Make sure that user has less than MAX_ENABLED_ROLES default roles(i.e.
alter the user and specify a list of default roles)
I have many users with the same problem.

C) Try to create all the custom roles while being connected with an user
created for this purpose rather than creating them as SYS.
Interesting!!! I don't have any problem with the user SYS or SYSTEM.

Att,


--
*Wanderson Barrence | Analista de Banco de Dados*
*DBA Oracle 10g/11g - Microsoft SQL-Server 2008*
*MBA - Administração de Banco de Dados*
*CBTS - Certificação Brasileira de Teste de Software*
------------------------------------------------------------------
*Skype*: wbarrence
*Facebook*:http://www.facebook.com/wbarrence
*Linkedin*: http://br.linkedin.com/in/wbarrence


Em 11 de junho de 2013 18:58, Roland Martins <[email protected]>escreveu:

> **
>
>
> Analyze this:
>
> Solution
> If there are indeed too many default roles being granted to that user then
> do the following:
> A) Drop the roles that are not needed or merge some of the roles to reduce
> their total number.
> B) Make sure that user has less than MAX_ENABLED_ROLES default roles(i.e.
> alter the user and specify a list of default roles)
> C) Try to create all the custom roles while being connected with an user
> created for this purpose rather than creating them as SYS
>
> ________________________________
> De: Wanderson Barrence <[email protected]>
> Para: [email protected]
> Enviadas: Terça-feira, 11 de Junho de 2013 18:36
> Assunto: [oracle_br] ORA-28031: maximum of 148 enabled roles exceeded
>
>
>
>
> Olá Pessoal,
>
> Eu importei via datapump um banco de dados de Produção, juntamente com toda
> estrutura de usuários, grant e roles.
>
> Agora quando logamos com alguns usuários no banco de dados, e mostrado o
> erro: "ORA-28031: maximum of 148 enabled roles exceeded".
>
> Já tentei aumentar a quantidade de roles, todavia, pelo menos no caso do
> Oracle 11g, dá um erro "ORA-00068: valor 200 inválido para o parâmetro
> max_enabled_roles; deve estar
> entre 1 e 148".
>
> Alguém conhece alguma maneira para contornar essa situação?
>
> Ambiente:
> SO: RHEL 6.2
> BD: Oracle 11g (11.2.0.3)
>
> Att,
>
> --
> *Wanderson Barrence | Analista de Banco de Dados*
> *DBA Oracle 10g/11g - Microsoft SQL-Server 2008*
> *MBA - Administração de Banco de Dados*
> *CBTS - Certificação Brasileira de Teste de Software*
> ----------------------------------------------------------
> *Skype*: wbarrence
> *Facebook*:http://www.facebook.com/wbarrence
> *Linkedin*: http://br.linkedin.com/in/wbarrence
>
> [As partes desta mensagem que não continham texto foram removidas]
>
> [As partes desta mensagem que não continham texto foram removidas]
>
>  
>


[As partes desta mensagem que não continham texto foram removidas]



------------------------------------

--------------------------------------------------------------------------------------------------------------------------
>Atenção! As mensagens do grupo ORACLE_BR são de acesso público e de inteira 
>responsabilidade de seus remetentes.
Acesse: http://www.mail-archive.com/[email protected]/ 
--------------------------------------------------------------------------------------------------------------------------
>Apostilas » Dicas e Exemplos » Função » Mundo Oracle » Package » Procedure » 
>Scripts » Tutoriais - O GRUPO ORACLE_BR TEM SEU PROPRIO ESPAÇO! VISITE: 
>http://www.oraclebr.com.br/  
------------------------------------------------------------------------------------------------------------------------
 Links do Yahoo! Grupos

<*> Para visitar o site do seu grupo na web, acesse:
    http://br.groups.yahoo.com/group/oracle_br/

<*> Para sair deste grupo, envie um e-mail para:
    [email protected]

<*> O uso que você faz do Yahoo! Grupos está sujeito aos:
    http://br.yahoo.com/info/utos.html


Responder a