• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 794
  • Last Modified:

grant privs resource manager

I was trying to user scott
resource manager privs using execute procedure.
It is not allowing...

SQL> conn / as sysdba
Connected.
SQL> conn scott/tiger
ERROR:
ORA-01017: invalid username/password; logon denied


Warning: You are no longer connected to ORACLE.
SQL> conn / as sysdba
Connected.
SQL> conn scott/scott
Connected.
SQL> conn / as sysdba
Connected.
SQL> exec dbms_resource_manager_privs.grant_system_privilege(-grantee_name=>'scott',admin_option=>true);
BEGIN dbms_resource_manager_privs.grant_system_privilege(-grantee_name=>'scott',admin_option=>true); END;

                                                         *
ERROR at line 1:
ORA-06550: line 1, column 58:
PLS-00707: unsupported construct or internal error [2603]
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored


SQL> execute dbms_resource_manager_privs.grant_system_privilege(-grantee_name=>'scott',admin_option=>true);
BEGIN dbms_resource_manager_privs.grant_system_privilege(-grantee_name=>'scott',admin_option=>true); END;

                                                         *
ERROR at line 1:
ORA-06550: line 1, column 58:
PLS-00707: unsupported construct or internal error [2603]
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

What could be the reason..
0
nobleit
Asked:
nobleit
1 Solution
 
Helena Markováprogrammer-analystCommented:
What happens when you try this ?

dbms_resource_manager_privs.grant_system_privilege(grantee_name=>'scott',privilege_name => 'ADMINISTER_RESOURCE_MANAGER',admin_option=>false);
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now