Maximum enabled 148 roles exceeded
Dear Experts
Hi
please help me out from the error "Maximum enabled 148 roles exceeded"
i am using Oracle 9i Database
regards
pakistan
Hi,
unix>oerr ora 28031
28031, 00000, "maximum of %s enabled roles exceeded"
// *Cause: The user attempted to enable too many roles.
// *Action: Enable fewer roles.This is not the total roles in the databases but the roles enabled for a particular user.
Regards
Anurag Tibrewal.
Similar Messages
-
ORA-28031 Maximum of 148 roles enabled roles exeeded
Hi Experts,
I got the above error for a application schema..
How to resolve it..
SQL> show parameter max_enable
NAME TYPE VALUE
max_enabled_roles integer 150
Is it possible to have more than 150..we can increase..?
Thanks
Mano-DBA
Edited by: M.M.R on Sep 13, 2010 11:50 PM
Edited by: M.M.R on Sep 13, 2010 11:58 PMHi,
it is not a dynamic one. So do:
alter system set max_enabled_roles=200 scope=spfile;Restart the database.
Or if you use the pfile, put the new value in the pfile and restart.
Herald ten Dam
http://htendam.wordpress.com -
ORA-01925: maximum of 148 enabled roles exceeded
Hi
i m running oracle 9i db R2. i m receiveing this error plz help me how can i resolve this issue.My max_enabled_roles parameter has value 148.
ORA-01925: maximum of 148 enabled roles exceeded
ThanksHi,
what is the result of the below query you are getting .. ??
SQL> SELECT grantee, count(*)
2 FROM (SELECT grantee, granted_role
3 FROM dba_role_privs
4 CONNECT BY PRIOR grantee = granted_role)
5 GROUP BY grantee
6 HAVING count(*) = (SELECT max(count(*))
FROM (SELECT grantee, granted_role
7 8 FROM dba_role_privs
9 CONNECT BY PRIOR grantee=granted_role)
10 GROUP BY grantee);
Increasing max_enabled_roles will not help.
The max limit is 148 per the Oracle documentation. If you go through the
documentation carefully this parameter is defined as "the maximum number of database roles that users can enable, including roles contained within other roles"
Try to check or re-modify the structures (role),whether user needs max opf 148 roles in order to function properly or not.
Note :-
For your reference if you want to modify the parametes values ,
using ALTER SYETEM SET max_enabled_roles=<some value> scope = memory or spfile. (Based on the your db, which parameter it might be using.
Thanks
Pavan Kumar N -
ORA-01925 maximum of 60 enabled roles exceeded.
Dear All,
When I try to connect to Oracle through System/pwd@DB, it generates the following error.
ORA-01925 maximum of string enabled roles exceeded
Cause: The initialization parameter MAX_ENABLED_ROLES has been exceeded.
Action: Increase MAX_ENABLED_ROLES and warm start the database.
I just wanted to know, where this parameter, MAX_ENABLED_ROLES should be found? I looked it in init.ora, but its not there. Should this be added manually?
Thank you,
Zaaf1.when ever a parameter is not defined in the init.ora file then those parameters will take the default values
2.To Find the exsisting value for the parameter, execute the below command
SQL> show parameter MAX_ENABLED_ROLES
3. This is a static parameter and the range can be between 0 to 148
4.To change the parameter
(i) shutdown the database
(ii) include the parameter in init.ora file and set the value as required
(iii) startup the database -
ORA-01925: maximum of 20 enabled roles exceeded
This is a newbie question, I have a little over 48 hours of Oracle experience and could not readily find an answer. How do I set this value in an NT environemt. I have tried a couple of things I found in the help and pdf manuals but I still receive this when logging in as SYS. I need this fixed as WEBDB needs this account to install correctly. Thanks for any assistance.
see oracle error message
ORA-01925: maximum of num enabled roles exceeded
Cause: The specified number of enabled roles exceeds the value specified in the initialization parameter MAX_ENABLED_ROLES.
Action: Increase MAX_ENABLED_ROLES and restart the instance
SO OPEN INIT.ORA file your instance is using.ADD the following line
MAX_ENABLED_ROLES=60
and restart the instance.
20 is the default value
[email protected]
California USA
null -
ORA-01925: maximum of 30 enabled roles exceeded
Hi all,
We are getting "ORA-01925: maximum of 30 enabled roles exceeded" error in our alert logfile.
We are using oracle 9.2.0.8 and the value of
show parameer max_enabled
max_enabled_roles integer 30SQL> select * from dba_role_privs;
GRANTEE GRANTED_ROLE ADM DEF
HO CONN NO YES
HO CONNECT NO YES
HO RESOURCE NO YES
CRO CONNECT NO YES
CRO RESOURCE NO YES
DBA OLAP_DBA NO YES
DBA XDBADMIN NO YES
DBA JAVA_ADMIN NO YES
DBA JAVA_DEPLOY NO YES
DBA WM_ADMIN_ROLE NO YES
DBA EXP_FULL_DATABASE NO YES
GRANTEE GRANTED_ROLE ADM DEF
DBA IMP_FULL_DATABASE NO YES
DBA DELETE_CATALOG_ROLE YES YES
DBA SELECT_CATALOG_ROLE YES YES
DBA EXECUTE_CATALOG_ROLE YES YES
DBA GATHER_SYSTEM_STATISTICS NO YES
ERO CONNECT NO YES
ERO RESOURCE NO YES
NRO CONNECT NO YES
NRO RESOURCE NO YES
ODM AQ_USER_ROLE NO YES
SRO CONNECT NO YES
GRANTEE GRANTED_ROLE ADM DEF
SRO RESOURCE NO YES
SRO DELETE_CATALOG_ROLE NO YES
SRO SELECT_CATALOG_ROLE NO YES
SYS DBA YES YES
SYS CONN YES YES
SYS CTXAPP YES YES
SYS WKUSER YES YES
SYS CONNECT YES YES
SYS EDP_ROLE YES YES
SYS OLAP_DBA YES YES
SYS RESOURCE YES YES
GRANTEE GRANTED_ROLE ADM DEF
SYS XDBADMIN YES YES
SYS EJBCLIENT YES YES
SYS OLAP_USER YES YES
SYS JAVAIDPRIV YES YES
SYS JAVA_ADMIN YES YES
SYS JAVASYSPRIV YES YES
SYS JAVA_DEPLOY YES YES
SYS OEM_MONITOR YES YES
SYS AQ_USER_ROLE YES YES
SYS JAVAUSERPRIV YES YES
SYS HS_ADMIN_ROLE YES YES
GRANTEE GRANTED_ROLE ADM DEF
SYS JAVADEBUGPRIV YES YES
SYS AUTHENTICATEDUSER YES YES
SYS EXP_FULL_DATABASE YES YES
SYS IMP_FULL_DATABASE YES YES
SYS DELETE_CATALOG_ROLE YES YES
SYS SELECT_CATALOG_ROLE YES YES
SYS EXECUTE_CATALOG_ROLE YES YES
SYS AQ_ADMINISTRATOR_ROLE YES YES
SYS LOGSTDBY_ADMINISTRATOR YES YES
SYS RECOVERY_CATALOG_OWNER YES YES
SYS GATHER_SYSTEM_STATISTICS YES YES
GRANTEE GRANTED_ROLE ADM DEF
WRO CONNECT NO YES
WRO RESOURCE NO YES
XDB RESOURCE NO YES
XDB JAVAUSERPRIV NO YES
RMAN CONNECT NO YES
RMAN RESOURCE NO YES
RMAN RECOVERY_CATALOG_OWNER NO YES
TEST DBA NO YES
TEST CONNECT NO YES
ICAI4 CONNECT NO YES
ICAI4 RESOURCE NO YES
GRANTEE GRANTED_ROLE ADM DEF
ICAI4 EXP_FULL_DATABASE NO YES
ICAI4 IMP_FULL_DATABASE NO YES
OUTLN CONNECT NO YES
OUTLN RESOURCE NO YES
WKSYS DBA NO YES
WKSYS CTXAPP YES YES
WKSYS CONNECT NO YES
WKSYS RESOURCE NO YES
WKSYS JAVASYSPRIV NO YES
WKSYS JAVAUSERPRIV NO YES
WMSYS CONNECT NO YES
GRANTEE GRANTED_ROLE ADM DEF
WMSYS RESOURCE NO YES
WMSYS WM_ADMIN_ROLE YES YES
CTXSYS CONNECT NO YES
CTXSYS RESOURCE NO YES
DBSNMP CONNECT NO YES
DEEPAK CONNECT NO YES
ITDATA CONNECT NO YES
ITDATA RESOURCE NO YES
ITDATA EXP_FULL_DATABASE NO YES
ITDATA IMP_FULL_DATABASE NO YES
ORDSYS RESOURCE NO YES
GRANTEE GRANTED_ROLE ADM DEF
ORDSYS JAVAUSERPRIV NO YES
SYSTEM DBA YES YES
SYSTEM SALES_HISTORY_ROLE YES YES
SYSTEM AQ_ADMINISTRATOR_ROLE YES YES
WKUSER CONNECT NO YES
BKADMIN CONNECT NO YES
BKADMIN RESOURCE NO YES
BKADMIN RECOVERY_CATALOG_OWNER NO YES
CADATA3 CONNECT NO YES
CADATA3 RESOURCE NO YES
CADATA3 SELECT_CATALOG_ROLE NO YES
GRANTEE GRANTED_ROLE ADM DEF
CADATA3 GATHER_SYSTEM_STATISTICS NO YES
OLAPSYS CONNECT NO YES
OLAPSYS OLAP_DBA NO YES
OLAPSYS RESOURCE NO YES
EDP_ROLE SELECT_CATALOG_ROLE NO YES
OLAP_DBA SELECT_CATALOG_ROLE NO YES
PERFSTAT SELECT_CATALOG_ROLE NO YES
NROMEMBER CONNECT NO YES
OLAP_USER CONNECT NO YES
OLAP_USER RESOURCE NO YES
OLAP_USER OEM_MONITOR NO YES
GRANTEE GRANTED_ROLE ADM DEF
OLAP_USER SELECT_CATALOG_ROLE NO YES
ORDPLUGINS RESOURCE NO YES
INDEX_MAINT DBA NO YES
JAVASYSPRIV JAVAUSERPRIV NO YES
OEM_MONITOR CONNECT NO YES
OEM_MONITOR RESOURCE NO YES
EXP_FULL_DATABASE SELECT_CATALOG_ROLE NO YES
EXP_FULL_DATABASE EXECUTE_CATALOG_ROLE NO YES
IMP_FULL_DATABASE SELECT_CATALOG_ROLE NO YES
IMP_FULL_DATABASE EXECUTE_CATALOG_ROLE NO YES
SELECT_CATALOG_ROLE HS_ADMIN_ROLE NO YES
GRANTEE GRANTED_ROLE ADM DEF
EXECUTE_CATALOG_ROLE HS_ADMIN_ROLE NO YES
LOGSTDBY_ADMINISTRATOR CONNECT NO YES
LOGSTDBY_ADMINISTRATOR RESOURCE NO YES
124 rows selected.
SQL>
SQL>
Although total no. of roles are only 30 but when i am exec ablove script it is giving me 124,why -
ORA-01925: maximum of num enabled roles exceeded
When we get the message:
ORA-01925: maximum of num enabled roles exceeded
I know from the documentation that the corrective action is:
Action: Increase MAX_ENABLED_ROLES and restart the instance.
My question is, if the MAX_ENABLED_ROLES is the maximum number of roles that can be enabled for a user based on the following from the Oracle documentation, then who is the user that is exceeding the limit?? Is there a user that is inherently a member of every role created?
From the documentation:
MAX_ENABLED_ROLES specifies the maximum number of database roles that a user can enable, including sub-roles.
The actual number of roles a user can enable is 2 plus the value of MAX_ENABLED_ROLES, because each user has two additional roles, PUBLIC, and the user's own role. For example, if MAX_ENABLED_ROLES is set to 5, user SCOTT can have 7 roles enabled, the five enabled by MAX_ENABLED_ROLES plus PUBLIC and SCOTT.
nullTo find how large to make it issue the following query from sql*plus after connect as sys user.
SELECT COUNT(*) , GRANTEE FROM DBA_ROLE_PRIVS WHERE DEFAULT_ROLE='YES' group by GRANTEE
null -
So, I was trying to export a schema out of a newly installed 10.1.0.4 instance, something I've done repeatedly in a 10.1.0.3 instance, using the following parmfile
[oracle@linux-test transport]$ more expdp_audits.par
SCHEMAS=audits
LOGFILE=expdpdvlp_audits.log
DUMPFILE=expdpdvlp_audits.dmp
DIRECTORY=dpump_dir_nasand I get this error
[oracle@linux-test transport]$ expdp forbesc@dvlp parfile=expdp_audits.par
Export: Release 10.1.0.4.0 - Production on Friday, 29 June, 2007 7:41
Copyright (c) 2003, Oracle. All rights reserved.
Password:
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
With the Partitioning, OLAP and Data Mining options
ORA-31626: job does not exist
ORA-31638: cannot attach to job SYS_EXPORT_SCHEMA_01 for user FORBESC
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPV$FT_INT", line 377
ORA-39077: unable to subscribe agent KUPC$A_1_20070629074156 to queue "KUPC$C_1_20070629074155"
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPC$QUE_INT", line 248
ORA-25448: rule SYS.KUPC$C_1_20070629074155$21 has errors
ORA-28031: maximum of 148 enabled roles exceededI'm able to log into SQL*Plus, and I was able to perform an exp, but expdp is unhappy. There's no way I'm actually exceeding this number of roles
SQL> connect forbesc@dvlp
Enter password: *****
Connected.
SQL> select count(*) from session_roles;
COUNT(*)
16Am I in bug territory?
---=ChuckTEST> select name, value, issys_modifiable from v$parameter where name = 'max_enabled_roles';
NAME VALUE ISSYS_MOD
max_enabled_roles 150 FALSEAs ISSYS_MODIFIABLE is false, you can't change the value dynamically. You must use a SPFILE scope and then bounce the instance:
ALTER SYSTEM SET max_enabled_roles=100 SCOPE=SPFILE;
SHUTDOWN IMMEDIATE
STARTUP
tell me the steps by which I can get my database into MOUNT stage to do this activity?Yopu don't need the instance to be in MOUNT mode to perform this. You just have to bounce it.
Yoann. -
Packager fails with "Maximum file path name exceeded" on InCopy
Attempting to build the full suite with CCP 1.5.0 Build 83, running on Window 8.1 update 64-bit.
When building a 32-bit package it reaches InCopy it always stops and provides the so helpful "Maximum file path name exceeded error". This appears to only happen when building the 32-bit package, building the 64-bit package caused no issues, and even in building the 32-bit package after the 64-bit package when everything is already downloaded the same error occurs.
Tried it with:
Cache path: C:\Users\iholmes\AppData\Local\Adobe\CCP\
Destination path: F:\ISO\Adobe\Cloud\Working\CreativeCloud-06192014x86
Also tried:
Cache path: g:\Adobe\CCP
Destination path: f:\cc\x86
These are all local paths, not mapped network drives.Same here. From: C:\Users\<user>\AppData\Local\Temp\PDApp.log:
<errorType>LongPathError</errorType>
<filePath>C:\Users\<user>\AppData\Local\Temp\{839FDA1E-684B-4164-A8A0-AC83A4D37D3F}\AICY\ LS20\10.0\InCopy_10_LS20_Win32
I can manually extract the zip file from: C:\Users\<user>\AppData\Local\Adobe\CCP\AdobeCCPCache\AICY\LS20\InCopy_10_LS20_Win32.7z to the above path (which I think is what it's trying to do) with no error, so it seems to be something Adobe is going to have to fix.
Someone else worked around it by creating a local user with a single character as the user name: Creative Cloud Packager Keeps Failing on InDesign: "Maximum File Path Name Exceeded" -
Ora-00020 maximum no .of connections exceeded
Hi All,
I tried to connect the production Db is says Maximum number of connections exceeded.
How to overcome this situation.
I stoppped and bounced the Db.
The process paramter in pfile is 50
Is there any to overcome thisc:\sql>oerr ora 00020
00020, 00000, "maximum number of processes (%s) exceeded"
*Cause: All process state objects are in use.
*Action: Increase the value of the PROCESSES initialization parameter.
Increasing the PROCESSES parameter as suggested by the error information would remove the issue.
If the database has been working fine for an extending period of time without this error you should consider finding out what caused the increase so you can set parameter appropriately. Could be an increase in use or an application leaking connections. -
Maximum no of connections exceeded. Can not connect
We are getting this error: maximum no of connections exceeded. I tried to login from sqlplus as / sysdba but getting same error. What is the best way to login to Oracle and kill some sessions?
Oracle Version: 11gI tried to login from sqlplus as / sysdba but getting same errorThen you are not logged onto OS as same user (oracle?) that owns Oracle software directory.
If Windows the post results from command below
SET
If some flavor Unix post results from command below
env | sort
Post Operating System (OS) name & version for DB server system.
Post results of
SELECT * from v$version
Edited by: sb92075 on Dec 1, 2009 10:31 AM -
Maximum Line items 999 exceeded
Hi,
We have an SD document having more than 2150 line items, when it is releasing to Accounting, it is giving error message like Maximum Line itesm 999 exceeded.
I have searched SAP Notes 1353125, 1353827(MM side) 36353 (summarisation) and 511873 - it deletes Assignment number XACCIT-ZUONR.
Summarisation is not preferred for our client.
Can anyone sugget any SAP note that will solve my problem at an earliest please.
SAP note 511873 solve my problem or not?
Our vesrion is SAP_APPL - 500.
Regards
PrathapHI Madhu,
Thanks for the information.
But it is possible to split the Accounting document. Some SAP notes are available.
Regards
Murali -
Post Author: GaryI
CA Forum: Data Connectivity and SQL
I am using Crystal Reports for Visual Studio 2005 and an Oracle database. From my C# application, I am dynamically setting the location of the database to use in the report with the code fragment seen at the end of this post.
My problem is..... The user I am instructing Crystal to connect with needs to enable an Oracle role before the tables needed to generate the report can be seen. For security reasons, the database administrators do not wish to have this role enabled by default when the user logs on. Crystal is creating a new connection to the database using the server/userid/password information I supply, but the required role is not enabled and therefore the tables for the report are not visible and the report fails.
So.... how do get Crystal reports to see the tables? I can think of two ways.
1) Somehow convince Crystal reports to enable the role when it connects to the database. I have not discovered a way to accomplish this. Is there a way to do this?
2) My application already has a connection to the database with the required role enabled. Now if I could just get Crystal reports to use this database connection instead of creating its own, my problem is solved. But..... I cannot find a way to tell Crystal to use an existing database connection that I pass in. Is there a way to do this?
Or does anybody have more ideas?
The code fragment mentioned above................
ReportDocument rd = new ReportDocument();
rd.Load(filename); foreach (Table t in rd.Database.Tables) { TableLogOnInfo inf = t.LogOnInfo; ConnectionInfo connect = inf.ConnectionInfo; connect.ServerName = serverName; connect.DatabaseName = database; connect.UserID = userID; connect.Password = pwd;
t.ApplyLogOnInfo(inf); } crystalReportViewer1.ReportSource = rd;Post Author: Jagan
CA Forum: Data Connectivity and SQL
I think that security/DBAs need to provide a solution but I usually find guidance is required too. e.g. would security allow a new role that only has select access to the tables (or even only to necessary tables) that could be granted to a user by default? Are you using an existing user? Could you use a 'reporting only' user? If a role (even a new, read-only role) can't be defaulted, would the DBAs be prepared to write code that only grants it to the reporting user when it logs on from a recognised production machine and/or from a recognised client? etc. etc.
I think you need to discuss possible solutions with them and see what they will allow/support. -
Can I enable a role using a encrypted password ?
Sir,
I encrypt the role password using dbms_obfuscation package. Can I enable a role using such a password before decrypting it ?
Thanks a lot
StephenStephen,
if this is a purely database related question, I suggest to try it on the database forum.
Frank -
RangeError: Maximum call stack size exceeded
Dear all,
we are executing and EDGE project in a Samsung SmartTV. In more powerful models (more memory and cpu) the execution is correct. but in some old TV models we receive the following message:
File: file://c/........../EDGE_006/edge_includes/edge.2.0.1.min.js
Line No: 135
Error Detail: RangeError: Maximum call stack size exceeded.
It seems that this happens depending on the complexity of the EDGE project, as for some simple projects it works.
we would like to adjust our EDGE project for this less powerful models modifiying animations and simplifying complexity, but we dont know where to start (which animations to remove, etc.)
Or if there are some parameters in the edge API to adjust in order to increase performance in low memory browsers.
Thank you in advance,
Luissunil-online wrote:
> I am calling an external DLL and running it in the UI thread. How much
> stack space is available when they are on separate threads or on the
> UI thread?
>
> The problem is that I am getting seemingly random crashes while
> running this VI and after I quit labview after stopping and uninit-ing
> my DLL.
Unless you know this DLL is using exceedingly lots of stack (at least
several dozens of MB) for whatever obscure reasons it is very unlikely
that running out of stack space is causing your problem. More likely
either the DLL does something nasty to a data pointer passed in to it or
you made an error in setting up the call to the DLL.
For instace if the DLL expects strings or array pointers to be passed in
they need to
be allocated by the caller (here LabVIEW) and you need to
tell LabVIEW to do that in the diagram code.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions
Maybe you are looking for
-
How can I move my iCloud account to another Apple ID?
I know it might be a long shot, but I have recently made a new iTunes/AppleID account, and want to move my iCloud account from my old account to the new one without it being tied to the old one in any way. Is there a way to do this?
-
Error while calling a stored procedure with OUT parameter.
Hi, I am trying to call a Stored Procedure(SP) with an OUT parameter(Ref Cursor) from a third party tool. It is called using OLE-DB Data provider. In one database the procedure works fine but when I change the database the procedure call is giving fo
-
Can't uninstall or install RIM Desktop Software
I had the desktop manager on my PC (Vista) and went through the steps outlined in the help areas of this website to uninstall it. Now that I have deleted the files from my registry I get this error: Could not open key: HKEY_LOCAL_MACHINE_\Softwar
-
Mapping Issue: How to split the value of Lineitem
Hi All, I have issue in Mapping .XML-> BAPI Scenario 1 line item has the one 50% Cost Centre , another 50% Cost centre data 2 line item has only 100% WBS elemnt WBS elemnt mapping : If A |EQUALS (Text) | WBS_ELEMNT |If without else| B(WBS
-
How do I use Scout to monitor an Actionscript Worker?
To capture data from an Actionscript Worker, do these 3 things 1. in Scout, go to Preferences > Beta Features, and make sure "Start sessions for Actionscript Workers" is enabled. 2. in Scout, go to Window > Sidebar, and make sure that "Actionscript