Solved

ORA-01925: maximum of 20 enabled roles exceeded

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

Suggested Solutions

Title # Comments Views Activity
Repeat query 13 61
migration MS SQL database to Oracle 30 68
run sql script from putty 4 67
Migration from sql server to oracle 5 26
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows how to recover a database from a user managed backup
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

837 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