?
Solved

ORA-01925: maximum of 20 enabled roles exceeded

Posted on 2000-02-24
4
Medium Priority
?
517 Views
Last Modified: 2008-03-03
I'm new to Oracle (<48hrs) and need to figure out how to set the max number of roles. This is 8i on NT and I recieve the error while trying to login as SYS via SQL Plus. Thanks for the help
0
Comment
Question by:patrickwmclean
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 4

Accepted Solution

by:
sudhi022299 earned 200 total points
ID: 2555275
increase the initialization parameter MAX_ENABLED_ROLES to a higher value and then retstart your instance.

Regards,
Sudhi.
0
 
LVL 4

Expert Comment

by:sudhi022299
ID: 2555279
if you need the steps to do it post a comment.
0
 
LVL 4

Expert Comment

by:sudhi022299
ID: 2555291
8i on nt platform ?

hmmmm...
let me get the directory structure correct.

c:\orant\database\initorcl.ora --- this is the file for Oracle8 but for 8i they changed it to just init.ora and it'll be aviable in a directory called as "orcl". Just do a search for this dir and you'll get the file.

Open the file and specify
MAX_ENABLED_ROLES = 50

or any higher value than that is already present in the file.

Save the file.

go to a command prompt.
c:\> svrmgrl.exe

svrmgr> connect internal/oracle
connected.
svrmgr> shutdown
.....
....
svrmgr> startup

After you get the message "databse opened" , try connecting to the db.

Regards,
Sudhi.
0
 

Author Comment

by:patrickwmclean
ID: 2555581
Thanks that did the trick...
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question