Solved

ORA-01925: maximum of 20 enabled roles exceeded

Posted on 2000-02-24
4
515 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 50 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Via a live example, show how to take different types of Oracle backups using RMAN.

691 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