Login Analytics gives insufficient privileges error page

Hello Experts,

I am new to OBIEE (and controlling). Completing the installation and I am able to connect to the console weblogic as em. But when I try to connect to Analytics using the link http://< host >: 7001/analytical, I land on a page with the error:

Error on the link < host > http://: 7001/analytics

Insufficient privileges. "Access homepage.

Error details

Error codes: C64RS3Z2

The user is the same that I use to log 'em and weblogic console. All applications are on the rise in em

I checked some links:

1) insufficient privileges: this link asked Srini VIEREN change password in 2 places to get it even. I did this, but of no use.

2) on Oracle support, I found this link: how to create A user who can work with Oracle knowledge Analytics OBIEE Reporting System? (Doc ID 1560120.1). I followed, created new analytical user according to the instructions but again had the same error.

(3) nqserver.log gives no error:

nqserver.log

[2014 02-20 T 01: 07:07.000 + 00:00] [OracleBIServerComponent] [NOTIFICATION: 1] [] [] [ecid: ce647810d4459b12:2a96e3f1:1444e6b6c6a: - 8000-0000000000000093] [tid: c1c] user OBIS spent 68,000000 milliseconds for the http response when authenticateWithLanguage

[2014 02-20 T 01: 07:07.000 + 00:00] [OracleBIServerComponent] [NOTIFICATION: 1] [] [] [ecid: ce647810d4459b12:2a96e3f1:1444e6b6c6a: - 8000-0000000000000093] [tid: c1c] user OBIS spent 1,000000 milliseconds for xerces parsing when authenticateWithLanguage

[2014 02-20 T 01: 07:07.000 + 00:00] [OracleBIServerComponent] [NOTIFICATION: 1] [] [] [ecid: ce647810d4459b12:2a96e3f1:1444e6b6c6a: - 8000-0000000000000093] [tid: c1c] [nQSError: 13045] "weblogic" logged in as a user of the Security Service of BI.

[2014 02-20 T 01: 07:07.000 + 00:00] [OracleBIServerComponent] [NOTIFICATION: 1] [] [] [ecid: ce647810d4459b12:2a96e3f1:1444e6b6c6a:-8000 - 00000000000000 has 4] [tid: c1c] user OBIS spent 32,000000 milliseconds for the http response when authenticateWithLanguage

[2014 02-20 T 01: 07:07.000 + 00:00] [OracleBIServerComponent] [NOTIFICATION: 1] [] [] [ecid: ce647810d4459b12:2a96e3f1:1444e6b6c6a:-8000 - 00000000000000 has 4] [tid: c1c] user OBIS spent 1,000000 milliseconds for xerces parsing when authenticateWithLanguage

[2014 02-20 T 01: 07:07.000 + 00:00] [OracleBIServerComponent] [NOTIFICATION: 1] [] [] [ecid: ce647810d4459b12:2a96e3f1:1444e6b6c6a:-8000 - 00000000000000 has 4] [tid: c1c] user BISystemUser spent 10,000000 milliseconds for the http response when getRoles

[2014 02-20 T 01: 07:07.000 + 00:00] [OracleBIServerComponent] [NOTIFICATION: 1] [] [] [ecid: ce647810d4459b12:2a96e3f1:1444e6b6c6a:-8000 - 00000000000000 has 4] [tid: c1c] BISystemUser of the user spent 1,000000 milliseconds for xerces parsing when getRoles

(4) nqquery.log:

nqquery.log

[2014 02-20 T 01: 07:07.000 + 00:00] [OracleBIServerComponent] [TRACK: 4] [USER-0] [] [ecid: ce647810d4459b12:2a96e3f1:1444e6b6c6a:-8000 - 00000000000000 has 4] [tid: c1c] [requestid: 39490001] [sessionid: 39490000] [username: BISystemUser] # []

-Query SQL, logical query hash:

6c7c547

{call NQSGetGroups('NAME_PATTERN=*')}

]]

(5) the user is assigned ALL privileges (administrators, BIAdministrators, AdminChannelUsers, AppTesters, BIAuthors, BIConsumers etc.).

6) when I change the url of Analytics to hit the Admin page (http://< host >: 7001/analytics/saw.dll?) Admin), I see a warning: not allowed only administrators can view this page.

I have searched and tried many things, but doesn't seem to work.

Please let me know where I'm going wrong and how I can fix it.

Thanks in advance!

ADI-

Remove the user weblogic to the folder of the user of the catalogue (online or offline) and then restart services and see how it goes

or have it if above did not work

do something... Create an empty folder catalog and copy the folders and system in this new catalogue and a restart it and log in with the user weblogic it will create user in the catalog folder

Tags: Business Intelligence

Similar Questions

  • ORA-01031: insufficient privileges error?

    Hello

    I changed the password for user SYS and SYSTEM. I can connect before changing
    sqlplus "/ as sysdba" automatically.
    but now I can not connect and it gives me ORA-01031: insufficient privileges error.
    But if I type SYS user name and his password I can connect.

    for example:
    -------------------
    oradw@trdw1test:/ORCL/bin > sqlplus "/ as sysdba".

    SQL * more: version 9.2.0.8.0 - Production Thursday, May 26, 16:21:17 2011

    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

    ERROR:
    ORA-01031: insufficient privileges


    Enter the user name: sys as sysdba
    Enter the password:

    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production
    With partitioning, OLAP and Oracle Data Mining options
    Release 9.2.0.8.0 - Production jserver

    SQL >
    -------------------------------

    I created the new password file, but still I can not connect. I checked the user of the OS, but we never touch any configuration.


    Could you please help me how can I solve this problem?

    DB version: 9.2.0.8

    greetings and thanks

    Check your sqlnet.ora file in ...db_1\NETWORK\ADMIN (default)

    If in file

    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # _authentication, they will not be able to connect to the database on NT._
    SQLNET.AUTHENTICATION_SERVICES = (NT)
    

    to take

    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    
  • Re: "insufficient privileges" error when you run the Java stored procedure in another schema

    I get an "insufficient privileges" error when you run the Java stored procedure in another schema, see details below.  I don't know what are missing privileges (I already granted the EXECUTE privilege), suggestions?  -Thank you.

    Define a simple java class and deploy it as a Java stored procedure to test:


    Schema: User1

    test of the package;

    public class HelloWorld {}

    public HelloWorld() {

    Super();

    }

    public static String Hello () {}

    Return "HELLO";

    }

    }

    CREATE or REPLACE FUNCTION HELLO RETURN VARCHAR2 AUTHID CURRENT_USER AS LANGUAGE JAVA NAME ' test. HelloWorld.hello () return java.lang.String';

    Grant execute on USER2 HELLO

    Test the Java stored procedure through the PL/SQL function call (in the same schema):


    Schema: User1

    SET SERVEROUTPUT ON

    DECLARE

    v_Return VARCHAR2 (200);

    BEGIN

    v_Return: = User1. HELLO;

    DBMS_OUTPUT. Put_line ('v_Return =' | v_Return);

    END;

    anonymous block filled

    v_Return = HELLO

    Test the Java stored procedure through the PL/SQL function call in a different pattern:


    Schema: USER2

    SET SERVEROUTPUT ON

    DECLARE

    v_Return VARCHAR2 (200);

    BEGIN

    v_Return: = User1. HELLO;

    DBMS_OUTPUT. Put_line ('v_Return =' | v_Return);

    END;

    Error report-

    ORA-01031: insufficient privileges

    ORA-06512: at "User1." HELLO', line 1

    ORA-06512: at line 4 level

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to change the user name or password

    without the privilege appropriate. This error also occurs if

    trying to install a database without the need for employment

    access privileges.

    When Trusted Oracle is configure in DBMS MAC, this error may occur

    If the user has been granted the privilege necessary for a higher label

    that the connection is active.

    * Action: Ask the database to perform the operation or grant administrator

    the required privileges.

    For users Trusted Oracle get this error, well that granted the

    the privilege that is suitable for the top label, ask the database

    administrator to grant the privilege to the appropriate label.

    You have created the function with AUTHID CURRENT_USER, which means that the function is executed with the rights of the applicant (but not with the rights of the author). This means that the applicant must have grants (directly or through roles) on all used/accessible objects in the service. In your case the user USER2 has not granted with EXECUTE on the class/source Java test. Class HelloWorld, causing the ORA-01031 exception. You create service without AUTHID CURRENT_USER (i.e. with AUTHID DEFINE, which is by default, if you do not have a specific reason to use AUTHID CURRENT_USER) or grant EXECUTE on JAVA test SOURCE. Class HelloWorld to User2.

    Dimitar

  • Service_name problem-&gt; ORA-01031: insufficient privileges error!

    I installed the database Oracle 11.2.0.1 on Oracle Linux 6.6, Virtualbox to test replication of the database.

    I have oracle11g and grid of two users. User network is set to infrastructure grid on ASM.

    When I prepare the database for duplication, I created a service_name as neworcl. When I connect to new oracle_sid with service name neworcl the following error has occurred!

    [oracle11g@orcl11g dbs] $ sqlplus sys/222333@neworcl as sysdba

    SQL * more: Production release 11.2.0.1.0 on Sun Oct 13 15:00:35 2015

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    ERROR:

    ORA-01031: insufficient privileges

    BUT WHEN I want TO CONNECT locally without service_name then it is OK as follows

    Enter the user name: sys as sysdba

    Enter the password:

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > select instance_name, status from v$ instance;

    STATUS INSTANCE_NAME

    ---------------- ------------

    neworcl START

    My tnsnames.ora file located in oracle11g user home as below

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    = ORA11G

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl11g) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ora11g)

    )

    )

    NEWORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl11g) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = neworcl)

    )

    )

    Listener.ora file located user to network as below

    listener.ora # Network Configuration file: /u01/app/grid/product/11.2.0/grid/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = ora11g)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = ora11g)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = neworcl)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = neworcl)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl11g) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/grid

    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = WE

    QUESTION: Why I can't connect to the new database with service_name = neworcl?

    Net Oracle connections as sysdba usually require a password file. Have you created a password file for your database?

    You can check the content of $ORACLE_HOME/dbs and see if you have a file named "orapwneworcl". If you do not, you can create it using the orapwd utility. Change your password for SYS in sqlplus must automatically synchronize the password in the password file. The password file is necessary for remote connections, since you cannot authenticate using the OSDBA group and the database may in fact not even begin to verify your password.

    For more details, see https://docs.oracle.com/cd/B28359_01/server.111/b28310/dba007.htm

    BTW, when you connect AS SYSDBA using Protocol inheritance, you can use any user name and password and will always connect to the SYS schema, which case authentication is made by the OSDBA group identifier. For example, you can use any user name and password, such as "humptydumpy/blablaba sqlplus as sysdba".

  • sqlplus / as sysdba with insufficient privileges error

    I installed Oracle 10.2.0.1 on Windows XP. I then installed 10g Release 2 (10.2.0.4) Patch Set 3 for Microsoft Windows (32-bit). I imported a database using pump data and then tried to connect in Windows XP box so I could change the sys using password:
    sqlplus / as sysdba
    but I get the following error:
    sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Dec 6 07:58:51 2010
    
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    
    ERROR:
    ORA-01031: insufficient privileges
    My Windows XP box has access to two other databases that are located on a separate server. I then tried to connect using sqlplus to a user account that was on one of the other databases and it me connected. So my problem seems to be that when I enter:
    sqlplus / as sysdba
    He thinks I'm trying to connect to one of the other servers. How to connect using the command above and the target of the Windows XP box, I'm trying to connect from? How can I specify the server that I want to connect to in the above command?

    Just found it!

    Check $ORACLE_HOME/network/admin/sqlnet.ora file it provide SQLNET. AUTHENTICATION_SERVICES = (NTS)

    then try again

  • ORA-1031 insufficient privileges error

    Hi all

    I have a problem finishing a tutorial on jdeveloper, one on data bases. I'm almost at the end and have a DB connection called DOM I've run and then copy the following sql code:

    Connect the /(my password) system;

    grant debug connect session to the DOM;

    That's happened. After that, I was supposed to run this sql code:

    REM
    REM object create ORDER_ITEMS_REC
    REM

    CREATE or REPLACE type ORDER_ITEMS_REC as an object
    (
    ORDER_ID NUMBER (15),
    LINE_ITEM_ID NUMBER (3).
    PRODUCT_ID NUMBER (15),
    QUANTITY NUMBER (6).
    UNIT_PRICE NUMBER (8,2).
    CREATED_BY VARCHAR2 (60),
    CREATION_DATE DATE,
    LAST_UPDATED_BY VARCHAR2 (60),
    DATE OF LAST_UPDATE_DATE,
    OBJECT_VERSION_ID NUMBER (15)
    );
    /
    display errors;

    However, it gave me this error:

    ORA-01031: insufficient privileges
    01031 00000 - "insufficient privileges".
    * Cause: An attempt was made to change the user name or password
    without the privilege appropriate. This error also occurs if
    trying to install a database without the need for employment
    access privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    If the user has been granted the privilege necessary for a higher label
    that the connection is active.
    * Action: Ask the database to perform the operation or grant administrator
    the required privileges.
    For users Trusted Oracle get this error, well that granted the
    the privilege that is suitable for the top label, ask the database
    administrator to grant the privilege to the appropriate label.
    No errors.


    I know it's a common problem but I search through threads for example these two

    http://KR.forums.Oracle.com/forums/thread.jspa?MessageID=2468640

    http://KR.forums.Oracle.com/forums/thread.jspa?MessageID=4224432

    Unfortunately due to my lack of understanding or simple stupidity I was unable to solve the problem.

    Any help would be appreciated

    Hello

    You are supposed to create the Order_Items_Rec as system or Fod?

    I would say that you must grant CREATE TYPE or CREATE ANY TYPE of user who must create the object.

    HTH
    Paul

  • error "insufficient privileges".

    I get an "insufficient privileges" error when you run the Java stored procedure in another schema, see details below.  I don't know what are missing privileges (I already granted the EXECUTE privilege), suggestions?

    Define a simple java class and deploy it as a Java stored procedure to test:

    Schema: User1

    test of the package;

    public class HelloWorld {}

    public HelloWorld() {

    Super();

    }

    public static String Hello () {}

    Return "HELLO";

    }

    }

    CREATE or REPLACE FUNCTION HELLO RETURN VARCHAR2 AUTHID CURRENT_USER AS LANGUAGE JAVA NAME ' test. HelloWorld.hello () return java.lang.String';

    Login in SYS as SYSDBA and perform this grant:

    grant execute on User1. User2 HELLO

    Test the Java stored procedure by calling the PL/SQL function (in schema User1):

    SET SERVEROUTPUT ON

    DECLARE

    v_Return VARCHAR2 (200);

    BEGIN

    v_Return: = HELLO;

    DBMS_OUTPUT. Put_line ('v_Return =' | v_Return);

    END;

    anonymous block filled

    v_Return = HELLO

    Test the Java stored procedure by calling the PL/SQL function (in schema USER2):

    Schema: USER2

    SET SERVEROUTPUT ON

    DECLARE

    v_Return VARCHAR2 (200);

    BEGIN

    v_Return: = User1. HELLO;

    DBMS_OUTPUT. Put_line ('v_Return =' | v_Return);

    END;

    Error report-

    ORA-01031: insufficient privileges

    ORA-06512: at "User1." HELLO', line 1

    ORA-06512: at line 4 level

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to change the user name or password

    without the privilege appropriate. This error also occurs if

    trying to install a database without the need for employment

    access privileges.

    When Trusted Oracle is configure in DBMS MAC, this error may occur

    If the user has been granted the privilege necessary for a higher label

    that the connection is active.

    * Action: Ask the database to perform the operation or grant administrator

    the required privileges.

    For users Trusted Oracle get this error, well that granted the

    the privilege that is suitable for the top label, ask the database

    administrator to grant the privilege to the appropriate label.

    We found the problem.  In the loadjava call, we need to specify the "-grant User2" option.

  • Download "error: ORA-01031: insufficient privileges" when try to add relief of database

    Hi all

    I get insufficient privileges error when I added a standby database to dg configuration. I read some blog and he said that dgmgrl does not support os authentication, which means that I need to connect with sys and password. But I found that if I keep standby and primary SIDs are the same, the error will not occur even if I don't provide a password. Anyone know the reason? And no workaround?

    The process as follows:

    main SID: orcl ensures sid: prxx

    connect to "dgmgrl / '.

    Run ' add the database ' prxx_stby "as an identifier of connection is"prxx_stby"

    Download:

    Error: ORA-01031: insufficient privileges

    Failed.

    But if sid main: orcl ensures sid: orcl

    connect to "dgmgrl / '.

    Run ' add the database ' orcl_stby "as an identifier of connection is"orcl_stby"

    Download:

    Database "orcl_stby" added

    Liz

    I think still you can connect as "dgmgrl /", but its recommended to use "dgmgrl sys / * '.

    As rchem has said, there can be question of password. It doesn't matter whether the SID is the same or not primary and standby so different locations. So the best practice is to connect to the database from the primary server before using Oracle net service and test whether you connect or not.

    Ex: Prim_host > sqlplus sys/***@stby as sysdba

    There are a lot of possible issues

    -Missing or invalid password file

    -Service name is not registered with earphone

    -service incorrect, mentioned in the tns names

    and so many things, overlaps with these things.

  • MAXL drop database fails - ERROR - 1051041 - insufficient privilege for this operation - with Application Manager

    Hello

    SSP database security.

    User and group are both part of the native repertoire, but also exists in the active directory configuration.

    I create a group.

    I set up the Group Application Manager for Application X

    I make A user a member of the Group

    User A runs a MAXL script; -

    Drop database X.Y;

    The drop falls down-

    For this operation, the insufficient privilege ERROR - 1051041 -.

    Essbase 11.1.2.2.

    Is this a bug?

    Is there a solution?

    Thank you

    Robert.

    Robert, read Cameron link I see this:

    "An Application Manager can remove only the applications and databases that he created."

    Leaving aside the question of whether this applies also to female users, this is probably your problem, is it not?

  • Flash Player Installation problem - insufficient privileges

    Hello!

    I was unable to install the latest version of Flash Player (. 233) and receive the "insufficient privileges" error message during the installation process.  I am running Windows XP 32 bit on my computer at home and have a "computer administrator" linked to my account to login.  I even started the system in Mode safe and used the account administrator with the same results.  I tried with IE8 and Firefox with the same results.  Firefox error message focuses on the update Flash - 5 error privileges.  It is a common problem or is there a specific solution?

    Thank you for the journal; It seems that some files may not be removed during installation.

    Can you try a new installation, as described in http://forums.adobe.com/thread/928315

    then again use Setup offline of Chris' earlier link.

  • Insufficient privileges of procedure

    Hello
    In 11.1.0.7 on SOLARIS, I have a procedure created in the schema of SYSTEM that queries dba_tables and then uses dynamic sql to remove tables of a schema (schema name suppose ABC).
    When I run this procedure, I get ORA-01031: insufficient privileges error.
    If I run the same code as a box of PL/SQL (not), I am able to run this code and remove all the tables that meet the criteria.

    No idea why oracle does not allow a procedure in the schema to remove these tables of one schema other SYSTEM? and let me down PL/SQL block.

    Salman

    a procedure cannot use rights since in a role (DBA)
    the user's system must be granted delete any table

    concerning

  • ORA-01031: insufficient privileges from a function

    Deploy_ctl.fun_stg_raw (NO_DAYS in NUMBER, of the FUNCTION to CREATE or REPLACE
    col_date DATE)

    RETURN NUMBER
    AS

    RTN_SUCCESS CONSTANT NUMBER (1): = 0;
    RTN_FAILURE CONSTANT NUMBER (1): = 1;
    RTN_NON_FATAL NUMBER (1) CONSTANT: = 2;


    CURSOR stg_raw_cur IS
    SELECT RAW_STG_ID,
    DEVICE_CD,
    MODEL_VERSION,
    PLATFORM_CD,
    PROFILE_COOKIE,
    LOCATION_CD,
    SAMPLE_RATE,
    EVENT_TYPE_CD,
    EVENT_DATE_TIME,
    EVENT_SPECIFIC,
    BATCH_ID,
    DWH_ARVL_DT,
    DWH_ARVL_DT_ID,
    Dwh_stg.stg_raw DWH_CREATE_DT
    When trunc (to_date (EVENT_DATE_TIME, "YYYYMMDD"T"hh24:mi:ss"Z"')) = to_date (' 04/28/2014 ',' mm/dd/yyyy')
    order of batch_id CSA;


    TYPE stgrawarr IS TABLE OF stg_raw_cur % ROWTYPE;

    stg_raw_rec stgrawarr;

    l_batch_id NUMBER: = 0;
    v_ctr NUMBER: = 1;
    l_temp_batch_id number: = 0;
    l_date VARCHAR2 (2000);

    BEGIN

    run immediately 'truncate table t_stg_raw;

    OPEN stg_raw_cur.
    LOOP
    Get the stg_raw_cur COLLECT LOOSE stg_raw_rec LIMIT 100;
    OUTPUT
    WHEN stg_raw_cur % NOTFOUND;
    END LOOP;

    CLOSE Stg_raw_cur;

    I'm in stg_raw_rec.first... stg_raw_rec. Last
    loop

    -dbms_output.put_line (' batch code is ' | .batch_id stg_raw_rec (i));
    IF l_temp_batch_id! = stg_raw_rec (i) .batch_id
    then

    l_batch_id: = stg_raw_rec (i) .batch_id - v_ctr;
    l_temp_batch_id: = stg_raw_rec (i) .batch_id;
    * dbms_output.put_line ('Différent' |) "v_ctr" |
    v_ctr | ' ' || l_batch_id |
    ' ' || stg_raw_rec (i) .batch_id | ' ' ||
    stg_raw_rec (i). EVENT_DATE_TIME) ;*/
    v_ctr: = v_ctr + 2;

    end if;

    1.no_days j
    loop
    l_date: = to_char (to_date (to_date (substr (stg_raw_rec (i). (EVENT_DATE_TIME, 1, 8), 'YYYYMMDD')-j |
    'T' ||
    substr (stg_raw_rec (i). EVENT_DATE_TIME, 10, 8).
    ('Z', "DD-MON-RR"T"HH24:MI:SS 'Z'"), "YYYYMMDDYY"T"HH24:MI:SS 'Z'");
    dbms_output.put_line (' l_batch_id ' | l_batch_id |)
    "stg_raw_rec (i) .batch_id | stg_raw_rec (i) .batch_id |

    "l_date" | l_date);
    end loop;

    l_temp_batch_id: = stg_raw_rec (i) .batch_id;
    commit;
    end loop;

    RETURN RTN_SUCCESS;

    EXCEPTION
    WHILE OTHERS THEN
    -Insert in the (current) error log table
    DBMS_OUTPUT. PUT_LINE ('SQLCODE' |) SQLCODE. ' '|| SQLERRM);

    RETURN RTN_FAILURE;

    END fun_stg_raw;
    /
    DISPLAY ERRORS;
    /


    I can execute SQL statements on its own as a user DEPLOY_CTL but when compiling the function, he throws ORA-01031: insufficient privileges error.

    Thank you

    This may be infamous granting by the issue of the role. You need the explicit subsidies. For more information see Re: compile errors
    You can use the VALUE NO ROLE and then try to run the SQL to check.

  • ORA-01031: insufficient privileges problem

    Hi all

    I am creating the procedure of BOLMIN figure who selects his turn to the data in the tables of the VALMIN diagram below. and I get ORA-01031: insufficient privileges error.

    CREATE OR REPLACE PROCEDURE BOLMIN.prcs_load_data
    IS
    BEGIN
    FOR c
    IN (SELECT DISTINCT AL4. GOAL_TEXT,
    AL5. RESPONSE_TEXT,
    AL7. SAMPLE_ID,
    AL7. ACADEMY_NAME,
    AL8.NAME
    OF VALMIN. PROFIL_UTILISATEUR AL3,
    VALMIN. STUDENT_GOALS AL4,
    VALMIN. STUDENT_QUESTION_DETAILS AL5,
    VALMIN. STUDENT_QUESTION_RESPONSE AL6,
    VALMIN. SAMPLE AL7,
    VALMIN.NAME AL8
    WHERE (AL3. GOAL_ID = AL4. GOAL_ID (+)
    AND AL3. USER_ID = AL6. USER_ID (+)
    AND AL6. QUESTION_TYPE_SUB_ID = AL5. QUESTION_TYPE_SUB_ID (+)
    AND AL7.NAME_ID = AL8.NAME_ID (+)))
    LOOP
    NULL;
    END LOOP;
    END;
    /

    I checked grants each table involved in the associated SQL schema VALMIN & have all grant SELECT (to the BOLMIN schema). In addition, the query SQL itself, when it is run in the schema BOLMIN works perfectly well. The problem only occurs when I enclose the query in a procedure. Isn't it weird? or am I missing something here? Any help on this is appreciated. Thank you.

    BOLMIN schema as CREATE the privilege of the PROCEDURE I've already created other procedures for other purposes.

    Thank you
    Aristides

    Published by: siri_me on October 2, 2010 09:23

    http://asktom.Oracle.com/pls/asktom/asktom.download_file?p_file=6551289900368934430

  • gives error of insufficient privileges creating triggers

    Hi all


    I am facing the problem of insufficient privilege on the base tables when creating triggers. I said three diagrams A, B, C in my database.

    Base tables are in the schema A. I gave all subsidies on the base table to the schema B and C.

    grant all on base_table_name to B;
    grant all on base_table_name to C;

    I created synonym also on this base table.

    And I m creating triggers in the schema B.

    When I run the query to trigger computer giving following error:


    + AFTER INSERT OR UPDATE OR DELETE ON BASE_TBALE_NAME * +.
    ERROR at line 3:
    ORA-01031: insufficient privileges


    even I checked in dba_tab_privs for this base_table... is to show all grants the user B and C.

    What should I do now?
    Please suggest...


    Kind regards
    Andy.

    The thing is that to create a trigger in your own schema on a table in your schema, you must have the trigger system privilege to create, to create a trigger in any schema on a table in a diagram, like SCOTT. SCHEMA, you must create any trigger system privilege, also to create a trigger on the database, you must have the privilege of database trigger system administer...

    and don't give any privileges on the base unnecessarily tables, you don't need them... you just have to create any trigger for IT... Why give all the base tables...

    because when you give everything on the base tables give them unnecessarily FLASHBACK, DEBUG, QUERY REWRITE, WE COMMIT REFRESH, REFERENCES, UPDATE, SELECT, INSERT, INDEX, DELETE, ALTER privileges

    Concerning
    Karan

    Published by: Karan on July 25, 2012 12:22

  • ORA-01031: error of insufficient privileges when I try to use ALERT_QUE

    Hello
    I'm working on SYS. ATTENTION. THAT for system alerts. I use ODP in c# to connect to the Oracle database with username = SYSTEM, but when I try to survey or deque any message from SYS. ATTENTION. Que., its gives an error ORA-01031: insufficient privileges. I am not able to understand how to assign SYSDBA privileges to the SYSTEM and access ALERT_QUE to get alerts of system. I write my code below, please take a look and let me know what is wrong with the code. I am able to connect to the database using the SYSTEM, do I have to use username = SYS for access to the content database ALERT_QUE? Please let me know what is the solution.


    Con OracleConnection = new OracleConnection (constr.);

    Create the queue
    Queue OracleAQQueue = new OracleAQQueue ("sys.alert_que", con);

    Open connection
    con. Open();

    BEGIN txn for enqueue
    OracleTransaction txn = con. BeginTransaction();

    Set the type of message to the queue
    queue. MessageType = OracleAQMessageType.Raw;

    Prepare the message and payload BRUTE
    OracleAQMessage enqMsg = new OracleAQMessage();
    Byte [] bytePayload = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
    enqMsg.Payload = bytePayload;
    Agent [] OracleAQAgent = new OracleAQAgent [1];

    Agent [0] = new OracleAQAgent ("SUBSCRIBER1");
    enqMsg.Recipients = agent;
    enqMsg.SenderId = new OracleAQAgent ("SENDER1");

    Prepare for the queue
    queue. EnqueueOptions.Visibility = OracleAQVisibilityMode.OnCommit;

    Message from the queue
    queue. Enqueue (enqMsg);


    The code throws the exception to the line "queue. Enqueue (enqMsg); "saying: ORA-01031: insufficient privileges

    Published by: 916462 on February 27, 2012 03:31

    You are looking for a connection preferred, which means that you must connect as SYSDBA
    Check this doc on how to do it.
    http://docs.Oracle.com/CD/B19306_01/win.102/b14307/featConnecting.htm

Maybe you are looking for

  • Laptop HP 15-F211WM: 0xc000025 error code

    I get "your PC could not start properly a necessary device is not connected or cannot be accessed 0xc0000225 error code" I have a USB stick with Windows 10 downloaded on it, but I don't really know what to do, please help.

  • Cannot find fanny on Skype on my phone

    I was messaging a friend on Skype when o met Fanny and me I was enjoying myself much with them, BUT I get to come back or smilies someone else has this problem or can help please [The update by the moderator topic title should be more descriptive. [O

  • HAB check failed for start / could not validate the boot image

    Hello I have neglected my E bike for a few weeks and when I loaded and it fed today, it shows a menu and: HAB check failed to start could not validate the boot image Tried all the menu items and none of them worked. For me, it's very odd behavior, be

  • Button in browser in the R10 demo environment

    HelloI use R10 demo environment, but I'm not able to find the button on the browser, I'm looking to customize pages.

  • How to deactivate and reactivate the video in Flash cc

    I have a video file in my flash page so I created my own custom, game put in pause and rewind.   I want to make an option to mute for people can transform the sound market.  I know that I can easily make final using the extract of "stop all sounds" b