Solved

ORA-01925: maximum of 20 enabled roles exceeded

Posted on 2000-02-24
4
498 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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.
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 shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to recover a database from a user managed backup

810 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