Insufficient privileges while creating EUL

Hi All,
I am trying to create a new EUL in Discoverer 9.0.4. Option "Select an existing user" is selected and "Grant access to Public" is unchecked.
I am connected as user A. The tables are in schema for user B. So I selected the user B and entered the password. When I click "Finish", I get the following error:
Insufficient privileges to create a new user or grant the necessary privileges to an existing user. You must have CREATE USER, ALTER USER and GRANT ANY PRIVILEGE privileges.
Now user A does have privileges to create role, view, table, session, sequence, procedure. User B too has these privileges plus a few more.
Can somebody help me with what privileges am I lacking? For which user, A or B?
Thanks.

If you want to create an EUL the user you select (B in your case) must be the following privilegies:
CREATE SESSION
CREATE USER
GRANT ANY PRIVILEGE
ALTER USER
It doesn't matter the user you are connected in Discoverer.
Hope this helps.

Similar Messages

  • Giving error of insufficient privileges while creating triggers

    Hi all,
    I am facing the problem of insuffcient privilege on base tables while creating triggers. I have three schemas say A, B, C in my database.
    Base tables are in schema A. I have given all the grants on base table to schema B and C.
    grant all on base_table_name to B;
    grant all on base_table_name to C;
    I have created synonym also on that base table.
    And i m creating triggers in schema B.
    When i execute the query for trigger the it giving following error :
    +AFTER INSERT OR UPDATE OR DELETE ON BASE_TBALE_NAME                                      *+
    ERROR at line 3:
    ORA-01031: insufficient privileges
    even i have checked in dba_tab_privs for that base_table.....it is showing all the grants to USER B and C.
    What should I do now?
    please suggest.......
    Regards,
    Andy.

    Hi karan,
    You are right. While searching docs i got the solution of my problem.
    Privileges Required to Use Triggers
    To create a trigger in your schema:
    +•You must have the CREATE TRIGGER system privilege+
    +•One of the following must be true:+
    +◦You own the table specified in the triggering statement+
    +◦You have the ALTER privilege for the table specified in the triggering statement+
    +◦You have the ALTER ANY TABLE system privilege+
    To create a trigger in another schema, or to reference a table in another schema from a trigger in your schema:
    +•You must have the CREATE ANY TRIGGER system privilege.+
    +•You must have the EXECUTE privilege on the referenced subprograms or packages.+
    To create a trigger on the database, you must have the ADMINISTER DATABASE TRIGGER privilege. If this privilege is later revoked, you can drop the trigger but not alter it.
    The object privileges to the schema objects referenced in the trigger body must be granted to the trigger owner explicitly (not through a role). The statements in the trigger body operate under the privilege domain of the trigger owner, not the privilege domain of the user issuing the triggering statement (this is similar to the privilege model for stored subprograms).
    I have to grant only create any trigger to user.
    Problem solved.
    Thanks to all for ur help.
    Regards,
    Andy.

  • Insufficient privileges while creating change set.

    Hi,
    I'm trying to setup CDC in Async Distributed HotLog mode with source 9i (9.2.0.7) and stage 10.2 database. Change source was created successfully, but when i run DBMS_CDC_PUBLISH.CREATE_CHANGE_SOURCE it gives error
    ORA-01031: insufficient_privileges
    ORA-09512: at "SYS.DBMS_CDC_PUBLISH", line 560
    It does create the propagation on source db for this change set and then gives this error. I'm following the chapter 16 of data warehousing guide to set it up. Have checked all privileges and I can't seem to figure this out. Has anyone faced something similar? what am i missing here?
    Regards.
    Ali

    Hi Ali,
    I had the same thing with plain Streams (dbms_streams_adm.add_Table_rule).
    The user with wich you set it up should have DBA role (that's somehow the requirement from Oracle, I would rather see some specific system-privileges in stead of having the whole DBA role to be granted). Another thing is that I wanted to create a package with functionality to setup my Streams environment. But in then the first time you would add table or schema rules, it creates the Capture or Apply process. And for that you need specific rights that are granted through the DBA role. But the Oracle rights-implementation prevents privileges granted via a Role to be used in a stored pl/sql-procedure. To be used in a stored-procedure you need the specific rights granted directly. That's another reason I'm not fond of the requirement of having to grant the DBA role.
    So grant the DBA role to your user, if not done allready, or if you use a stored procedure to setup your cdc then do the first call directly from an sqlplus script and not within your stored pl/sql code. Subsequent calls can then be made from your stored-procedure.

  • Insufficient Privileges when create materialized view as user system

    If I login as system (connect sys/****@DevDB) and try to create a materialized view for another schema (e.g. XDCONTROLDB), I get the insufficient privileges error. If I login as sys as sysdba then I can create successfully.
    I have searched some ariticles in Google and grant create any snapshot, create any table, create any view, global query rewrite, select any table system privileges to system but still get the same error.
    Any other privileges I need to grant to system?
    Cheers
    below is a sample script to create the view which get the error:
    CREATE MATERIALIZED VIEW XDControlDB."XDTest1" PCTFREE 10
    PCTUSED 0 MAXTRANS 255
    STORAGE ( INITIAL 64K NEXT 0K MINEXTENTS 1 MAXEXTENTS
    2147483645 PCTINCREASE 0)
    TABLESPACE "USERS"
    BUILD IMMEDIATE
    REFRESH COMPLETE START WITH sysdate NEXT sysdate + 1/24
    ENABLE QUERY REWRITE AS
    SELECT * From XDControlDB.RiskInstance;
    Message was edited by:
    user500168
    Message was edited by:
    user500168

    Thanks for your reply. After I grant privileges to system, I login as system and try to create the view as below which I get the insufficient privileges error:
    CREATE MATERIALIZED VIEW XDControlDB."XDTest1" PCTFREE 10
    PCTUSED 0 MAXTRANS 255
    STORAGE ( INITIAL 64K NEXT 0K MINEXTENTS 1 MAXEXTENTS
    2147483645 PCTINCREASE 0)
    TABLESPACE "USERS"
    BUILD IMMEDIATE
    REFRESH COMPLETE START WITH sysdate NEXT sysdate + 1/24
    ENABLE QUERY REWRITE AS
    SELECT 1 From XDControlDB.RiskInstance;
    As you can see, I try to create the view under a schema called 'XDCONTROLDB'. If I login as sys as sysdba, then it create successfully.
    After I create UserA, and grant the privileges I mentioned in the ealier post, I login as UserA, and run the statement above I get the same privileges error. But if I change the stament to below which will create the view under UserA's schema, then it create successfully:
    CREATE MATERIALIZED VIEW UserA."XDTest1" PCTFREE 10
    PCTUSED 0 MAXTRANS 255
    STORAGE ( INITIAL 64K NEXT 0K MINEXTENTS 1 MAXEXTENTS
    2147483645 PCTINCREASE 0)
    TABLESPACE "USERS"
    BUILD IMMEDIATE
    REFRESH COMPLETE START WITH sysdate NEXT sysdate + 1/24
    ENABLE QUERY REWRITE AS
    SELECT 1 From XDControlDB.RiskInstance;
    Looking for your suggestions,
    Cheers

  • Insufficient privileges when creating MV with alter session set current_sch

    I am getting Insufficient privileges when creating MV with alter session set current_schema=Application schema name. User running the alter session is DBA user. If run as SYSDBA, MV is created successfully. DB Version is 10.2.0.3
    I observed similiar issue with regular View also in 9.2.0.6 also.
    Any advice is greatly appreciated.
    Thanks,
    Siva

    Sounds like your management needs a stern lecture on the concept of change management. <g>
    I am not debating what you do. I am questioning the logic, or lack thereof, of doing it that way. My recommendation would be to change your procedure to one that:
    A. Is more in line with good change management practices.
    B. Works.

  • Insufficient privileges to create the RDF NETWORK

    Hi,
    I am using user scott to test a rdf database using oracle 11.2.0.2 contained in oracle developer days. I granted resource, create session, create table, and create tablespace to scott. I am able to create a tablespace under scott. I also used the OEM panel to grant many privileges in roles, system privileges and object privileges to scott. However, I am still not able to create the rdf network under scott. The error says insufficient privileges to create the RDF NETWORK. How can I grant a priviledge to scott to create a rdf network? Thanks a lot.
    hong

    Hi Hong,
    Yes. This is the correct order. You must first create the semantic network as a user with DBA privileges. After that, you can create semantic models with a less privileged user.
    You can find more information in the Quick Start Section of the user guide:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25609/sdo_rdf_concepts.htm#CHDEDFFA
    Hope this helps,
    Matt

  • ORA-01031: insufficient privileges While Trying to Create a Trigger

    Hi
    I am trying to create a trigger on one of the table in the database schema :
    CREATE OR REPLACE TRIGGER Trigger_Name
    BEFORE INSERT ON table_name
    FOR EACH ROW
    ---Trigger Body...
    However I am getting the following error : ORA-01031: insufficient privileges
    I have tried to check the status of the trigger with the following script :
    SELECT object_name
    FROM dba_objects
    WHERE object_type = 'TRIGGER'
    AND status = 'INVALID';
    and it is showing its status as "INVALID".
    Can anybody please suggest me how to proceed on this?

    Hi,
    If the trigger exists than you have privilieges to create trigger but you need some privilieges needed to compile it.
    Check all commands and objects you are referring to inside trigger body. Maybe you are trying select table without proper priviliege...?
    Bartek

  • Insufficient privileges after creating new files

    I have a PowerBook G4 that I sometimes start-up off an external Firewire drive. The Internal HD is locked-down admin-wise as it's a company laptop but sometimes I need to run my own apps that aren't on the internal HD (i.e. Photo Rescue, Aperture, etc).
    When I work on/create a jpeg image while running Photoshop (start-up and PS running off the external FWHD) I save the image onto the PowerBook internal HD inside the Shared Folder.
    Later when I boot-up the laptop via the Internal HD I can open these jpeg files but cannot modify them due to Insufficient privileges. I have to make sure I run iRepair to set to privileges on that particular directory before I shutdown off the FW drive.
    Is there some way I can default the Leopard Start-Up on the external FW drive so that when I save a file to the internal HD the privileges are wide open? It's a pain to remember to fix the directories with iRepair before I shutdown. I have run Repair Permissions via the FW drive but that hasn't helped anything.

    Create a disk image in the Shared folder using rhe Disk Utility, select the mounted image in the Finder, choose to ignore permissions from the Get Info window under the File menu, and change the permissions on the image file so that all accounts can write to it. Save the JPEGs to the mounted image.
    (31781)

  • ORA-01031: insufficient privileges when creating a table in other schema

    Dear all,
    I appreciate your help please in this issue :
    when i try to issue the below statement to create a table in an another schema than the user i am connected in
    CREATE TABLE SCHEMA_NAME_B.HST_ARCH nologging AS
    SELECT *
    FROM HST
    WHERE 1 = 0;
    I always get ORA-01031: insufficient privileges error, even if i have granted the create table privilege to the user i am connected in.
    What other privileges should i grant also,
    Please if you have any idea.

    user562674 wrote:
    Dear all,
    I appreciate your help please in this issue :
    when i try to issue the below statement to create a table in an another schema than the user i am connected in
    CREATE TABLE SCHEMA_NAME_B.HST_ARCH nologging AS
    SELECT *
    FROM HST
    WHERE 1 = 0;
    I always get ORA-01031: insufficient privileges error, even if i have granted the create table privilege to the user i am connected in.
    What other privileges should i grant also,
    Can you show us a cut/paste from the sql*plus of session of yours which should show that you have given the privilege directly to this user and after that the command fails?
    Aman....

  • Insufficient privileges when creating user logged in as SYS

    Hi,
    I'm working on 11.1.0.6.0 Enterprise Edition, Advanced Security options, Label Security a and Database Vault installed. (for testing purposes)
    I'm creating a new user being logged as SYS using this sentence:
    CREATE USER "HR_DIRECTOR" PROFILE "DEFAULT" IDENTIFIED BY "*******" DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE "TEMP" ACCOUNT UNLOCK;
    However, the command fails with the message "Failed to commit: ORA-01031: insufficient privileges . You do not have enough privileges to perform this operation. You must have the appropriate system and object privileges to create, edit, or drop database objects or objects outside of your schema."
    Please note that I'm working on a fresh DB install and I have also installed Database Vault in this instance for testing purposes, but still haven't configured any realm or command rules on it.
    Is it possible Vault is the reason why I am not able to create a new user?
    Thanks and Regards,
    Leandro

    Hi, It seems I've found it.
    After you install Database Vault and associate it with your SID, SYS user is revoked the CREATE USER system privilege.
    Only a user with the DV_ACCTMGR role may create, alter or drop a user. This is done in order to separate responsabilities in your database. A SYS user cannot grant himself this role or the DV_OWNER role.
    (If interested, check page 10-4 from http://www.oracle.com/pls/db111/to_toc?pathname=server.111/b31222/toc.htm)
    Regards,
    Leandro

  • ERROR: insufficient privileges while using EXPLAIN PLAN command

    Hi,
    I have a table named TEST and i ran following command on this table.
    SQL> EXPLAIN PLAN FOR
    2 SELECT NAME FROM TEST;
    SELECT NAME FROM TEST
    ERROR at line 2:
    ORA-01031: insufficient privileges
    So which privilege do i need to give for using EXPLAIN PLAN command.
    Thank.

    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14211/ex_plan.htm#i19260
    SQL> @C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\utlxplan.sql
    Table created.
    SQL> select table_name from user_tables where table_name='PLAN_TABLE';
    TABLE_NAME
    PLAN_TABLE
    You might consider checking dba_tables to check the owner in your case and may be you don't privilege on that table.

  • 4.0 EA2 - Insufficient Privileges When Creating Object With Proxy

    When I have connected by proxying to another user, I receive the following message when trying to create a new object:
    The database user has insufficient privileges for the given operation.
    Steps to reproduce:
    Connect by proxying to another user
    Right Click on Views
    Select New View
    I noticed this under EA1, though, not sure if reported.  This worked under 3.2.2

    Sounds like your management needs a stern lecture on the concept of change management. <g>
    I am not debating what you do. I am questioning the logic, or lack thereof, of doing it that way. My recommendation would be to change your procedure to one that:
    A. Is more in line with good change management practices.
    B. Works.

  • Insufficient privileges for creating a table in a procedure

    Hello,
    I have a problem with creating a table from within a procedure. The error is
    -1031 : ORA-01031: insufficient privileges
    All objects are owned by the same user, and the procedure is run under that user. This user has CREATE ANY TABLE with Admin Option rights.
    I am working with Oracle 8i.
    Can anybody tell me how I can fix this?
    Thanks, Wouter

    Does the user have the CREATE ANY TABLE privilege granted directly to it, or through a role? Stored procedures by default don't know about any privileges granted through a role.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Insufficient privilege while using dynamic sql in procedure

    Hi,
    I am using following script on oracle 10g. and getting unsufficient privs error. please advice.
    SQL> show user
    User is "GRSADM"
    SQL> create or replace procedure grsadm.test_proc as
    a varchar2(2000);
    begin
    a:='CREATE OR REPLACE VIEW
    test_view
    AS SELECT
    ''sadf'' a
    FROM dual';
    execute immediate a;
    end;
    Procedure created.
    SQL> begin
    grsadm.test_proc;
    end;
    begin
    grsadm.test_proc;
    end;
    Error at line 16
    ORA-01031: insufficient privileges
    ORA-06512: at "GRSADM.TEST_PROC", line 9
    ORA-06512: at line 2
    SQL> select * from session_privs
    where privilege like '%VIEW%'
    PRIVILEGE
    CREATE ANY VIEW
    DROP ANY VIEW
    CREATE ANY MATERIALIZED VIEW
    ALTER ANY MATERIALIZED VIEW
    DROP ANY MATERIALIZED VIEW
    5 rows selected.
    Edited by: Ratnesh Sharma on Nov 24, 2011 12:00 PM

    yes it has EXECUTE ANY PROCEDURE priv.
    Following is the list of all the priv this user has.
    PRIVILEGE
    CREATE ANY SQL PROFILE
    DROP ANY SQL PROFILE
    GRANT ANY OBJECT PRIVILEGE
    DEBUG CONNECT SESSION
    RESUMABLE
    ADMINISTER DATABASE TRIGGER
    ADMINISTER RESOURCE MANAGER
    DROP ANY OUTLINE
    DROP ANY CONTEXT
    CREATE ANY CONTEXT
    MANAGE ANY QUEUE
    DROP ANY DIMENSION
    CREATE ANY DIMENSION
    GLOBAL QUERY REWRITE
    DROP ANY INDEXTYPE
    CREATE ANY INDEXTYPE
    DROP ANY OPERATOR
    CREATE ANY OPERATOR
    DROP ANY LIBRARY
    CREATE ANY LIBRARY
    EXECUTE ANY TYPE
    DROP ANY TYPE
    ALTER ANY TYPE
    CREATE ANY TYPE
    DROP ANY DIRECTORY
    CREATE ANY DIRECTORY
    DROP ANY MATERIALIZED VIEW
    ALTER ANY MATERIALIZED VIEW
    CREATE ANY MATERIALIZED VIEW
    ANALYZE ANY
    DROP PROFILE
    CREATE PROFILE
    DROP ANY TRIGGER
    ALTER ANY TRIGGER
    CREATE ANY TRIGGER
    EXECUTE ANY PROCEDURE
    DROP ANY PROCEDURE
    ALTER ANY PROCEDURE
    CREATE ANY PROCEDURE
    CREATE PROCEDURE
    AUDIT ANY
    DROP ANY ROLE
    CREATE ROLE
    DROP PUBLIC DATABASE LINK
    CREATE PUBLIC DATABASE LINK
    CREATE DATABASE LINK
    DROP ANY SEQUENCE
    CREATE ANY SEQUENCE
    DROP ANY VIEW
    CREATE ANY VIEW
    DROP PUBLIC SYNONYM
    CREATE PUBLIC SYNONYM
    DROP ANY SYNONYM
    CREATE ANY SYNONYM
    DROP ANY INDEX
    ALTER ANY INDEX
    CREATE ANY INDEX
    DROP ANY CLUSTER
    CREATE ANY CLUSTER
    DELETE ANY TABLE
    UPDATE ANY TABLE
    INSERT ANY TABLE
    SELECT ANY TABLE
    COMMENT ANY TABLE
    DROP ANY TABLE
    ALTER ANY TABLE
    CREATE ANY TABLE
    DROP ROLLBACK SEGMENT
    CREATE ROLLBACK SEGMENT
    DROP USER
    BECOME USER
    CREATE USER
    UNLIMITED TABLESPACE
    DROP TABLESPACE
    ALTER TABLESPACE
    CREATE TABLESPACE
    CREATE SESSION
    ALTER SYSTEM

  • Insufficient Privileges while generating database

    Hello,
    I have created my ER diagram and I can see the entities, attributes, relations etc in the object Navigator. But, when I tried to run the database design transformer to generate my tables, I am getting insufficient privileges error and none of the tables are created.
    What is the solution for this problem? Has anyone faced this issue?
    Please help
    Vatsa

    General privileges are granted in the Repository Administration Utility (RAU). Specific privileges to an application are granted through the Repository Object Navigator (RON). The owner of the application must grant you the privileges to create table definitions in the application. Have the owner start up the RON and navigate to the application and right click. Choose "Grant Access Rights" then grant Select, Insert, Update and Delete to you.

Maybe you are looking for

  • Open directory install error

    Hello, I have a MAC Mini with OSX 10.8.4 and Server 2.2.1 , I am trying to configure Profile Manager on the Server.app but i encountered after a long time an  error : when i create Open Directory master . LDAP log: Jul 12 16:17:58 mdm.dom-ad-etandex.

  • MacBook Pro 2010 running slow

    I know there are other threads on this subject but they now seem very bloated and confusing. My 2010 MacBook Pro has ground to a halt since installing yosemite. At first the speed was bearable but now its completely frustrating, I have done all the t

  • BI Publisher Bursting Submission Error -URGENT

    my code is: IF p_code = 'XXBURSTTEST' THEN l_req_id := FND_REQUEST.SUBMIT_REQUEST('XDO','XDOBURSTREP',NULL,NULL,FALSE,p_request_id,'Y'); END IF; this being called from the "after report" trigger one of the times in place of the p_request_id which equ

  • Req import fails with POCIRM-24a: ORA-01400:

    Req import fails with. POCIRM-24a: ORA-01400: cannot insert NULL into ("PO"."PO_REQ_DISTRIBUTIONS_ALL"."D

  • IBooks won't open the first time

    IiBooks will not open the first time  white screen only. It takes 3-4 tries to actually open it