ORA-01031 and XP SP2

With a recent upgrade to XP SP2 we keep getting this error message when loggin using connect / as sysdba.
I am aware that XP SP2 has change the authntication mechanism but dont have a solution, the install was working fine till win 2k. Is there a known issue. The process i follow for installing is
-- Install XP SP2
-- and later install Oracle 9.2.0.3
when i create a demo DB and try the sysdba connection it fails. I have disabled Firewall ..
The userid is both part of the ORA_DBA group and Adminstrator group, and in addition the sqlnet.ora has authentication set to NTS.
Also it seems to be working fine on XP SP1, is this a known issue with a direct install on XP SP1 etc ?

Well, have you ever gone over the pre-installation and post-installation documents for Windows? Or did you just put the Oracle CD in and let it run?

Similar Messages

  • ORA-01031 Error; please help

    hai, iam getting a strange error,
    i have this procedure which is created successfully. but giving me insufficient privileges message inserted into error log.
    Also when iam writing the create table statement individually, it is creating a table.
    create table ACTIVITIES as select * from ACTIVITIES@x_old;
    i have dba privilege on the current database
    create or replace procedure get_old_tab_scr
    is
    lv_msg varchar2(500);
    lv_code number(10);
    begin
    for i in (select table_name from user_tables@x_old)
    loop
    execute immediate 'create table '||i.table_name||' as select * from '||i.table_name||'@x_old';
    dbms_output.put_line('create table '||i.table_name||' as select * from '||i.table_name||'@x_old');
    end loop;
    exception
    when others then
    lv_code := sqlcode;
    lv_msg := sqlerrm;
    insert into error_log values('get_old_tab_scr -'||sysdate||lv_code||'-'||lv_msg);
    end;
    can i get some help regarding this...

    Purpose:
    ~~~~~~~~
    Purpose of the document is to show the limitations of roles and privileges under
    PL/SQL.
    Due to these limitations, you may get errors in PL/SQL procedures/packages when
    accessing certain objects or packages, but the same code works in SQL*Plus
    The flagged errors are ORA-00942 or ORA-01933 or ORA-01031 and ORA-06512 or
    PLS-00201 and ORA-06550 or ORA-28111 with Fine Grained Auditing (FGA)
    Note that the generated errors may differ in each release.
    Explanation:
    ~~~~~~~~~~~~
    The fundamental misunderstanding with these problems is because of the misconception
    that roles that are granted to one user can be applied to another by intermediate
    objects such as views or pl/sql procedures, this is not possible, roles exist in
    sessions and are associated with a user in an active session only, the privileges
    of a role can not be transferred to objects.
    If you're accessing tables/views in PL/SQL procedure or package and getting
    either ORA-1031 or ORA-942 (or PLS-201), but the same select/update/insert/delete
    works ok on SQL*Plus, then you need to check if the privileges have been granted
    to the user creating the procedure via a role.
    Privileges granted via role are disabled inside stored procedures
    Detailed case studies follow:

  • ORA-01031: insufficient privileges and shared memory realm does not exist

    Hi all,
    I came to a dead end to start oracle 10.2 database. I have searched on google and this forum, none of these solutions work for me. PS, I have installed 11g on my machine too.
    I have set up ORACLE_SID,ORACLE_HOME to 10.2 database based on the tnsnames.ora.
    follow is error message:
    sqlplus sys as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 3 02:09:54 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-01031: insufficient privileges
    sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 3 02:10:55 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn / as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    SQL> conn scott/tiger
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    First I thought the instance has been start yet, but since I can't login with sysdba. I don't know what other options.
    For 10.2, the tnsnames.ora
    ORA102 =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST =XXX)(PORT = 1523))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = ora102)+
    +)+
    +)+
    LISTENER_ORA102 =
    +(ADDRESS = (PROTOCOL = TCP)(HOST =XXX)(PORT = 1523))+
    EXTPROC_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))+
    +)+
    +(CONNECT_DATA =+
    +(SID = PLSExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /data/oracle/ora102)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    (ADDRESS = (PROTOCOL = TCP)(HOST =XXXXX)(PORT = 1523))
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

    try do this steps on server side:
    1) sqlplus sys as sysdba
    2) select open_mode from v$database;
    show result 2 step

  • View, instead of trigger and ORA-01031

    Hello,
    I have a view based on outer joins like
    CREATE VIEW vt ( colV1, colV2, colV3, colV4, colV5, colV6, colV7, colV8 ) AS
    SELECT A.colA1, A.colA2, C.colB0, B.colB2, B.colB3, B.colB4, C.colC2, H.colH2
      FROM  tabA    A
           ,tabB    B
           ,tabC    C
           ,( SELECT  ...
                FROM   tabD  D
                      ,tabE  E
                WHERE  D.colD1 = E.colE1
             )  H                                
      WHERE A.colA1 = B.colB1
        AND LTRIM(B.colB2,'A') = LTRIM(C.colC1(+),'A')    
        AND B.colB3 = H.colH1(+); and an instead of trigger
    CREATE OR REPLACE TRIGGER vt_upd
      INSTEAD OF UPDATE ON vt
    BEGIN
      UPDATE    tabB
         SET    colB4 = :NEW.colV6
         WHERE  colB0 = :NEW.colV2;
    END;An now the problem: an update statement UPDATE vt set colV6=1 WHERE colV1=1; in SQL*Plus works as it should, but performing an update in APEX from a tabular or edit form shows an error: ORA-01031:ORA-01031: insufficient privileges, update...The strange thing: in both sessions there is the same user USER1 logged on !
    Why this difference ? Can anybody explain ?
    Regards,
    Heinz

    Hi Heinz,
    Your statement -
    what I wrote as table tabC in reality is a view to one table and one view in another schema.That'll be it, you need to grant explicit rights for the objects in that schema to the schema that is your parsing schema for your workspace.
    In other words, if you have -
    1) Workspace 'A' with parsing schema 'B'
    and you are trying to do -
    select foo from c.bar
    i.e. you're trying to query an object in schema 'C'.
    Then you need to (as a DBA or connected to schema C) -
    grant select on bar to b;Roles won't work (when used through APEX)...I can't say that any other way, you might find it works in SQLPlus with roles, but through APEX it won't...you need those explicit grants.
    Hope this makes sense.
    John.

  • Create a new DB and conn / as sysdba ORA-01031

    Im try to create a new DB and:
    ex[oracle@srv-orcl 9.2.0]$ export ORACLE_SID=testerms
    [oracle@srv-orcl 9.2.0]$ sqlplus /nolog
    SQL*Plus: Release 9.2.0.4.0 - Production on Tue Feb 26 15:33:49 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> conn / as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    SQL>
    Someone can help me?
    Tks,
    Elber

    [oracle@srv-orcl admin]$ ls -l $ORACLE_HOME
    total 176
    drwxr-xr-x 10 oracle oinstall 4096 Nov 27 21:32 Apache
    drwxr-xr-x 5 oracle oinstall 4096 Nov 27 21:32 assistants
    drwxr-xr-x 5 oracle oinstall 4096 Nov 27 21:32 BC4J
    drwxr-xr-x 2 oracle oinstall 4096 Feb 25 13:17 bin
    drwxr-xr-x 10 oracle oinstall 4096 Nov 27 21:33 ctx
    drwxr-xr-x 2 oracle oinstall 4096 Feb 26 15:50 dbs
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:30 demo
    drwxr-xr-x 10 oracle oinstall 4096 Nov 27 21:32 ds
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:37 install
    drwxr-xr-x 8 oracle oinstall 4096 Nov 27 21:38 inventory
    drwxr-xr-x 8 oracle oinstall 4096 Nov 27 21:34 javavm
    drwxr-xr-x 5 oracle oinstall 4096 Nov 27 21:27 jdbc
    drwxr-xr-x 9 oracle oinstall 4096 Nov 27 21:30 jdk
    drwxr-xr-x 2 oracle oinstall 4096 Nov 27 21:34 jlib
    lrwxrwxrwx 1 oracle oinstall 25 Nov 27 21:29 JRE -> /u01/app/oracle/jre/1.4.2
    drwxr-xr-x 6 oracle oinstall 4096 Nov 27 21:31 jsp
    drwxr-xr-x 16 oracle oinstall 4096 Nov 27 21:34 ldap
    drwxr-xr-x 3 oracle oinstall 4096 Feb 25 13:17 lib
    drwxr-xr-x 3 oracle oinstall 4096 Feb 25 13:26 lib32
    drwxr-xr-x 4 oracle oinstall 4096 Nov 27 21:35 md
    drwxrwxrwx 14 oracle oinstall 4096 Nov 27 21:37 network
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:31 oci
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:29 ocommon
    drwxr-xr-x 5 oracle oinstall 4096 Nov 27 21:29 ocs4j
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:27 oracm
    drwxr-xr-x 4 oracle oinstall 4096 Nov 27 21:27 oracore
    drwxr-xr-x 13 oracle oinstall 4096 Nov 27 21:32 ord
    drwxr-xr-x 8 oracle oinstall 4096 Nov 27 21:35 otrace
    drwxr-xr-x 4 oracle oinstall 4096 Nov 27 21:32 owm
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:28 pfs
    drwxr-xr-x 9 oracle oinstall 4096 Nov 27 21:35 plsql
    drwxr-xr-x 9 oracle oinstall 4096 Nov 27 21:30 precomp
    drwxr-xr-x 15 oracle oinstall 4096 Nov 27 21:35 rdbms
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:28 relnotes
    -rwxr-xr-x 1 oracle oinstall 5873 Nov 27 21:37 root.sh
    -rw-r--r-- 1 oracle oinstall 0 Feb 26 2004 root.sh.old
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:30 slax
    drwxr-xr-x 7 oracle oinstall 4096 Nov 27 21:33 soap
    drwxr-xr-x 5 oracle oinstall 4096 Nov 27 21:31 sqlj
    drwxr-xr-x 9 oracle oinstall 4096 Nov 27 21:35 sqlplus
    drwxr-xr-x 4 oracle oinstall 4096 Nov 27 21:27 srvm
    drwxr-xr-x 8 oracle oinstall 4096 Nov 27 21:33 syndication
    drwxr-xr-x 10 oracle oinstall 4096 Nov 27 21:35 ultrasearch
    drwxr-xr-x 3 oracle oinstall 4096 Nov 27 21:32 wwg
    drwxr-xr-x 8 oracle oinstall 4096 Nov 27 21:31 xdk
    [oracle@srv-orcl admin]$
    ############################################################

  • ORA-01031, ORA-01034 and ORA-27101 .....very urgent pls help.

    After I installed Oracle 8i Enterprise Edition on Win XP, default datanase was not creates so i tried manually creating it but it flashed this error while logging.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\oracle>SQLPLUS
    SQL*Plus: Release 8.1.7.0.0 - Production on Wed Apr 30 20:09:50 2003
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Enter user-name: INTERNAL
    Enter password:
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: SYSTEM
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist

    U r getting ORA-01034 and ORA-27101 because ur database has not started.
    try connecting svrmgrl as below
    go to command prompt
    svrmgrl
    connect internal
    startup pfile=<pfilename with full path>
    Now logon to sqlplus and try to connect as system.

  • ORA-01031: insufficient privileges and SAP license issue

    Hi,
    We have successfully installed the NW7.31 with ORACLE 11.2.0.4 on AIX.
    Its a fresh installed system, after installation we have applied the saplicense through SLICENSE and after that upgrade the kernel(We have run the ./saproot.sh <SAPSID> with root user).
    Kernels are upgraded successfully, we have checked the disp+work, kernel patch level is upgraded successfully.
    SAP is started normally, but now we are facing two issues on OS level.
    1. Issue is regarding to the saplicense command....
    abcadm 4> saplicense -show
    saplicense: no license entries found
    abcadm 5> saplicense -number
    saplicense: read installation number failed
    *** Can not read profile parameter SAPSYSTEMNAME
    Start saplicense with -number NAME=<sid>
    abcadm 6> saplicense -number NAME=ABC
    Read installation number for SAP SYSTEM: ABC
    INSTALLATION NO = INITIAL
    2. When we are trying to run the Update statistics on database with DB13 command following error occurs. Even i have tried via brtools but still following error occures.
    BR0301E SQL error -1031 at location BrLicCheck-12, SQL statement:
    'SELECT MAX(SYSTEMNAME), MAX(SYSID) FROM SAP_MLICHECK WHERE EXPIRATION_DATE = (SELECT MAX(EXPIRATION_DATE) FROM SAP_MLICHECK)'
    ORA-01031: insufficient privileges
    I have checked the R3trans -d it working fine.
    oraabc 15> R3trans -d
    This is R3trans version 6.24 (release 721 - 08.05.14 - 16:50:00).
    unicode enabled version
    R3trans finished (0000).
    In SLICENSE tcode it showing the license entries but when we are run the command from os level "saplicense", it didnt found any license entry.
    Kindly suggest.
    regards,
    amit

    Hi Deepak,
    NW SP level as follows.............
    SAP_BASIS
    731
    0011
    SAP_ABA
    731
    0011
    PI_BASIS
    731
    0011
    ST-PI
    2008_1_710
    0010
    SAP_BW
    731
    0011
    SAP Kernel as follows....................
    kernel release                721
    kernel make variant           721_EXT_REL
    compiled on                   AIX 1 6 00CFADC14C00 for rs6000_64
    compiled for                  64 BIT
    compilation mode              UNICODE
    compile time                  May 27 2014 03:48:09
    update level                  0
    patch number                  300
    source id                     0.300
    DBATOOLS level as follows...............
    oraabc 12> brtools
    BR0651I BRTOOLS 7.20 (36)
    regards,
    amit

  • MCOD and DB13 (ORA-01031: insufficient privileges)

    Hello Oracle experts,
    I have a problem with a MCOD installation.
    Situation:
    I have an Oracle Real Application Cluster with two database instances (DE1_1 and DE1_2). In database 1 (DE1_1) there are running two SAP systems (DE1 and DE2).
    In database 2 (DE1_2) there are running also two SAP systems (QE1 and QE2).
    DE1: SAPSR3     (DE1_1 )
    DE2: SAPSR4     (DE1_1)
    QE1: SAPSR5     (DE1_2)
    QE2: SAPSR6     (DE1_2)
    DE1 has been the first installation. The next one´s have been DE2 (SAPSR4), QE1 (SAPSR5) and QE2 (SAPSR6).
    Complication:
    Transaction DB13 is making trouble in the systems DE2, QE1 and QE2.
    There is a pop-up containing this information:
    SQL Errorcode: 1.031
    SELECT beg, funct, sysid, obj, rc, ende, actid,  line FROM sap_sdbah
    WHERE beg BETWEEN  '20110416000000' AND '20110524235959' AND sysid =  'DE1'
    ORA-01031: insufficient privileges
    I can confirm this popup and reach the DBA Planning Calendar. In the message window there are two error messages:
    - An error occurred when processing system DE2
    - Function ORA_LOG_READ failed with return code = Other error
    Only in the first system (DE1) there are no problems when calling DB13!
    Solution:
    I already checked the following notes:
    Note 134592 - Importing the SAPDBA role (sapdba_role.sql)
    --> I executed the script from the note.
    Note 834917 - Oracle Database 10g: New database role SAPCONN
    --> I executed the script from the note.
    And checked this:
    SQL> select grantee, granted_role from dba_role_privs
    where granted_role in ('SAPDBA', 'SAPCONN');
    GRANTEE                        GRANTED_ROLE
    SYS                            SAPDBA
    OPS$SAPSERVICEDE2              SAPDBA
    OPS$SAPSERVICEQE1              SAPDBA
    OPS$QE1ADM                     SAPDBA
    SAPSR6                         SAPCONN
    OPS$ORADE1                     SAPDBA
    SAPSR5                         SAPCONN
    OPS$QE2ADM                     SAPDBA
    OPS$SAPSERVICEQE2              SAPDBA
    SYS                            SAPCONN
    OPS$DE1ADM                     SAPDBA
    GRANTEE                        GRANTED_ROLE
    SAPSR3                         SAPCONN
    OPS$SAPSERVICEDE1              SAPDBA
    SAPSR4                         SAPCONN
    SYSTEM                         SAPDBA
    OPS$DE2ADM                     SAPDBA
    16 rows selected.
    Is it correct that there is only ONE ORA<SID>?
    The rest is correct regarding the note.
    Note 1028220 - ORA-01031: Insufficient privileges despite SAPCONN role
    Checked this statement:
    SQL> select grantee, granted_role, default_role from dba_role_privs
    where grantee = 'SAPSR6';
    GRANTEE                        GRANTED_ROLE                   DEF
    SAPSR6                         SAPCONN                        YES
    It´s correct regarding the note.
    Note 91216 - BRBACKUP/SAPDBA: ORA-01031 Insufficient privileges
    Checked it!
    Note 400241 - Problems with ops$ or sapr3 connect to Oracle
    SQL> SELECT OWNER, TABLE_OWNER, TABLE_NAME FROM DBA_SYNONYMS
    WHERE SYNONYM_NAME = 'SAPUSER';
    OWNER                          TABLE_OWNER
    TABLE_NAME
    OPS$SAPSERVICEDE1              OPS$DE1ADM
    SAPUSER
    OPS$SAPSERVICEDE2              OPS$DE2ADM
    SAPUSER
    OPS$SAPSERVICEQE1              OPS$QE1ADM
    SAPUSER
    OWNER                          TABLE_OWNER
    TABLE_NAME
    OPS$SAPSERVICEQE2              OPS$QE2ADM
    SAPUSER
    It´s correct regarding the note.
    Note 113747 - Permissions for DBA tools BR*Tools and SAPDBA
    Permissons for BR*Tools are adjusted regarding this note.
    It is still not working!!
    Any further suggestions? I don´t know exactly what to configure in a MCOD database. Maybe I forgot one thingu2026
    Thank you in advance and kind regards,
    Geraldine

    Well, it's up to you whether or not you consider that a problem.
    And it seems SAP doesn't.
    The solution for your ORA-01031 probably will be:
    In the schema of Oracle user SAPSR3 there are tables SDBAH and SDBAD. Grant full access to Oracle users SAPSR4/5/6.
    But afterwards you may encounter another error message.
    You have been warned.
    Not sure if this is documented anywhere.
    And as I wrote, I doubt that it is worth the effort...
    It always seemed SAP did not really like nor support MCOD installations. So by now we haven't any of them left.
    regards

  • AIA FP installation - ORA-01031: insufficient privileges and JPS-04201: Cannot grant permission(s). Grant already exists for grantee errors

    Hi All,
          We are installing AIA FP 11.1.1.7 on SOA Suite 11.1.1.7(no patch has been applied, after SOA Suite ODI 11.1.1.7 is installed on it) this is for AIA Comms 11.4 PIP. Below error can be seen in oracle inventory logs while installing AIA FP11.1.1.7 -
    BUILD FAILED
    /u02/app/Oracle/Middleware/AIAHOME/Infrastructure/Install/AID/AIAExecuteDriver.xml:223: The following error occurred while executing this line:
    /u02/app/Oracle/Middleware/AIAHOME/Infrastructure/Install/AID/AIAExecuteDriver.xml:65: The following error occurred while executing this line:
    /u02/app/Oracle/Middleware/AIAHOME/aia_instances/DEVAIA/tmp/AIDExecuteDP_temp_2130290318.xml:12: The following error occurred while executing this line:
    /u02/app/Oracle/Middleware/AIAHOME/Infrastructure/Install/AID/lib/AIDConfigurationLibraryTasks.xml:298: java.sql.SQLSyntaxErrorException: ORA-01031: insufficient privileges
    Also before this i can see,
    [exec] Command FAILED, Reason: JPS-04201: Cannot grant permission(s). Grant already exists for grantee [GranteeEntry: codeSource=file:${soa.oracle.home}/soa/modules/oracle.soa.ext_11.1.1/classes/oracle/apps/aia/core/util/- principals=[]].
         [exec]
         [exec] WARNING!!! Grant already exists for grantee.
         [exec] No stack trace available.
         [exec] Disconnected from weblogic server: AdminServer
       [delete] Deleting: /u02/app/Oracle/Middleware/AIAHOME/aia_instances/DEVAIA/tmp/keyFile
       [delete] Deleting: /u02/app/Oracle/Middleware/AIAHOME/aia_instances/DEVAIA/tmp/propFile
    Also,
    In processFieldStringXREF Admin Password
    In processFieldStringJMSDB Temporary Tablespcae
    In processFieldStringInvalid Database Schema name - Is this an error
    In processFieldStringAIA Lifecycle Port
    In processFieldStringAIADB SYS. USER
    In processFieldStringInvalid Database Schema name
    In processFieldStringJMSDB Default Tablespcae
    In processFieldStringXREF SYS. USER
    do anyone had idea on it, we are installing on Solaris SPARC machine.
    Thanks and Warm Regards,
    RR

  • [11g] ORAPWD and ORA-01031

    Hello,
    I use Oracle 11g on Linux and I cannot remotely connect as SYSDBA in sqlplus.
    I created the password file with ORAPWD, I set parameter remote_login_passwordfile to EXCLUSIVE and I restarted the database.
    But I still get the error ORA-01031: insufficient privileges.
    When I check the v$pwfile_users view, it is empty:
    SQL>  SELECT FROM v$pwfile_users ORDER BY username;*
    no row
    If I connect with other user non-SYSDBA, it does work.
    What did I forget?

    Hi,
    Checklist to help you to solve your problem:
    1)Check if use belong to DBA group.
    2)Set ORACLE_SID, export ORACLE_SID=<Instance name>
    3) Check if remote_login_passwordfile parameter in your pfile or spfile is set to either EXCLUSIVE or SHARED .
    4) Create the password file in your $ORACLE_HOME/dbs
    Also take a look in the following Metalink Notes:
    - Troubleshooting ORA-1031 Insufficient Privilege -      Doc ID:      Note:730067.1
    - UNIX: Checklist for Resolving Connect AS SYSDBA Issues -      Doc ID:      Note:69642.1
    Cheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • Grants and Snynyms -ORA-01031: insufficient privileges

    Hi
    I did a script for DBA to execute, this script contain GRANTS and creation of the synonyms, the Owner
    of tableS is OLOGBGF
    I create synonym as :
            CREATE OR REPLACE SYNONYM ULOGBGF.ZBI_STOCK FOR OLOGBGF.ZBI_STOCK;
    CREATE OR REPLACE SYNONYM ULOGBGF.ZBI_STOCK FOR OLOGBGF.ZBI_STOCK
        Why did not work, see code below
    thank you in advance
    Script executado.
    SQL> select * from global_name;
    GLOBAL_NAME
    ISLQ.WORLD
    SQL> PROMPT **********************************
    SQL> PROMPT GRANTS/SYNONYMS
    GRANTS/SYNONYMS
    SQL> PROMPT **********************************
    SQL> GRANT SELECT, INSERT, UPDATE, DELETE ON OLOGBGF.TEMPO_FILA TO ULOGBGF;
    Grant succeeded.
    SQL> GRANT DELETE, INSERT, SELECT, UPDATE ON OLOGBGF.ZBI_STOCK TO ULOSBGF;
    Grant succeeded.
    SQL> CREATE OR REPLACE SYNONYM ULOGBGF.TEMPO_FILA FOR OLOGBGF.TEMPO_FILA;
    CREATE OR REPLACE SYNONYM ULOGBGF.TEMPO_FILA FOR OLOGBGF.TEMPO_FILA
    ERROR at line 1:
    ORA-01031: insufficient privileges
    SQL> CREATE OR REPLACE SYNONYM ULOGBGF.ZBI_STOCK FOR OLOGBGF.ZBI_STOCK;
    CREATE OR REPLACE SYNONYM ULOGBGF.ZBI_STOCK FOR OLOGBGF.ZBI_STOCK
    ERROR at line 1:
    ORA-01031: insufficient privileges

    Check the privileges that have been granted to the user running the script.
    For example, if "HEMANT" is running the script :
    select granted_role from dba_role_privs where grantee = 'HEMANT'
    union
    select privilege from dba_sys_privs where grantee = 'HEMANT'
    order by 1;Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Export Failing with EXP-00008: ORACLE error 1031 encountered and ORA-01031:

    HI Folks,
    I am trying export the 11.2.0.2.0 database using export 'exp' utility.I am getting below errors while exporting with my 'sa' user. I am below role privileges for the 'sa' user. The export from the same kind of priivileged user in other Database is working.
    1* select * from dba_role_privs where grantee='SA' order by 2
    SQL> /
    GRANTEE GRANTED_ROLE ADM DEF
    SA ACCOUNT_CREATOR NO YES
    SA APPLICATION_CREATOR YES YES
    SA APPLICATION_DBA NO YES
    SA APPLICATION_DEVELOPER YES YES
    SA APPLICATION_USER NO YES
    SA AQ_ADMINISTRATOR_ROLE NO YES
    SA CLARIFY_ADMINISTRATOR YES YES
    SA CLARIFY_REPORTER YES YES
    SA CLARIFY_USER YES YES
    SA CONNECT YES YES
    SA EXECUTE_CATALOG_ROLE NO YES
    SA GATHER_SYSTEM_STATISTICS NO YES
    SA MOB_CONNECT YES YES
    SA SCHEDULER_ADMIN NO YES
    SA SELECT_CATALOG_ROLE YES YES
    (hidh403)/opt/app/adba/crmdb()> exp sa/fre9shen@t1crm9d2 file=sample.dmp log=sample.log
    Export: Release 11.2.0.2.0 - Production on Tue Jan 31 12:55:22 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Tes
    Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SA
    . exporting PUBLIC type synonyms
    EXP-00008: ORACLE error 1031 encountered
    ORA-01031: insufficient privileges
    EXP-00000: Export terminated unsuccessfully

    Yes, I do agree.But when i compared with the other database where i am able to export it doesn't have the 'EXPORT_FULL_DATABASE' privs.
    SQL> select * from role_role_privs;
    ROLE GRANTED_ROLE ADM
    HS_ADMIN_ROLE HS_ADMIN_SELECT_ROLE NO
    ACCOUNT_CREATOR APPLICATION_USER YES
    APPLICATION_DBA APPLICATION_OEM_TUNE NO
    APPLICATION_DBA ACCOUNT_CREATOR NO
    EXECUTE_CATALOG_ROLE HS_ADMIN_ROLE NO
    HS_ADMIN_ROLE HS_ADMIN_EXECUTE_ROLE NO
    APPLICATION_DBA APPLICATION_DEVELOPER YES
    SELECT_CATALOG_ROLE HS_ADMIN_ROLE NO
    APPLICATION_DBA APPLICATION_USER YES
    SELECT_CATALOG_ROLE HS_ADMIN_SELECT_ROLE NO
    EXECUTE_CATALOG_ROLE HS_ADMIN_EXECUTE_ROLE NO
    ROLE GRANTED_ROLE ADM
    APPLICATION_DBA APPLICATION_CREATOR YES

  • ORA-01031: insufficient privileges

    Hi Everyone,
    I am facing a weird scenario. In this I am creating a test user and after creating and granting the required privilieges I am executing a procedure in this user.
    The steps are as follows:
    SQL> REM ***
    SQL> connect sys/**** as sysdba
    Connected.
    SQL> REM ****
    SQL> REM grant privileges to the test user
    SQL> grant connect, resource, create table, create view, alter session,
    2 create sequence, create session, create procedure to tester ;
    Grant succeeded.
    SQL> grant unlimited tablespace to tester ;
    Grant succeeded.
    SQL> grant execute on dbms_lock to tester ;
    Grant succeeded.
    SQL> grant create any procedure to tester ;
    Grant succeeded.
    SQL>
    SQL> connect tester/tester
    ERROR:
    ORA-01031: insufficient privileges
    Warning: You are no longer connected to ORACLE.
    SQL> set serveroutput on
    SQL> REM ******
    SQL> declare
    <block of code>
    SP2-0640: Not connected
    SQL> SQL>
    I am executing this process in loop for about 4 times and each time the test user is connected successfully in 1st and 4th run while in 2nd and 3rd run it throws privileges error? Any idea why this error is ocurring?

    SQL> create user test identified by test ;
    User created.
    SQL> grant connect, resource, create table, create view, alter session,create sequence, create session, create procedure to test;
    Grant succeeded.
    SQL> conn test/test ;
    Connected.
    SQL>

  • Error ORA-01031: insufficient privileges when backup via DB13

    Hi expert,
    Currently, I have system on SuSE 10 SP2 with ECC6 and Oracle 10.2 installed.
    Database backup works fine when using BRTOOLS from command line.
    Error like this :
    BR0278E Command output of 'SHELL=/bin/sh /oracle/I20/920_32/bin/rman
    nocatalog':
    Recovery Manager: Release 9.2.0.4.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.
    RMAN>
    RMAN> connect target /;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-01031: insufficient privileges
    RMAN> *end-of-file*
    happened when I try to schedule backup through DB13.
    I try to solved this with SAP Note 776505 but still doesn't work.
    Any suggestion ?
    ardhian

    Hi,
    Execute the following command at sql prompt.
    grant dba,resource,connect,sapdba to OPS$<SID>ADM  OPS$ORA<SID>
    grant dba,resource,connect,sapdba to O OPS$ORA<SID>
    grant dba,resource,connect,sapdba to  SAPSR3 or SAP<SID>(YOUR SCHEMA NAME)
    Also check owner of SAPUSER table
    SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'SAPUSER';
    If it returns value OPS$<SID>ADM than its ok, otherwise you have to drop this & recreate with command
    CREATE TABLE "OPS$QASADM".SAPUSER
           (USERID VARCHAR2(256), PASSWD VARCHAR2(256));
            INSERT INTO "OPS$<sid>ADM".SAPUSER VALUES ('<sapowner>',
    '<password>');
    For more info go through the snote 400241
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=400241]
    Thanks & Regards
    Karan

  • Getting ORA-01031: insufficient privileges if try to connect in sqlplus

    Hi,
    I've tried to connect to my db which stands at host (Solaris), but getting
    ORA-01031: insufficient privileges.
    The client I've used is sqlplus.
    SQL> conn sys@REP as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    At the same time I can successfully connect to the same db from the same PC with the same connection string at PL/SQL Developer.
    How it can be possible?

    Guys...
    I'm having the same problem.
    The platform is a Windows 2003 R2 64bit (SP2) with Oracle 11g.
    In the production server from the same client, the connection is usually ... however, to a server where I have the same instances retrieved from an RMAN backup, does not connect!
    In the Productoion Server:
    C:\>sqlplus sys@bmknfe as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 18 17:43:41 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    In the Recovered Server:
    C:\>sqlplus sys@bmknfe_rt as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 18 17:42:39 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-01031: insufficient privileges
    I've tried recreating the password file, but is not resolving ...
    Can someone give me a light?

Maybe you are looking for

  • Cisco CCX support for TTY/TDD

    All; I need to deploy a CCX 9x solution that supports TTY/TDD.  I can find documents that describe our phone asscessability and how to connect a device to a FXS port. but I cannot find anything that says a hearing imparied person can communicate with

  • Darstellungsprobleme von IDCC und IDCC 2014 nur Mac

    Hallo Zusammen, ich möchte auch hier nochmal Darstellungsprobleme von IDCC und IDCC 2014 (nur Mac-Versionen) schildern. In zahlreichen ID-Dokumenten konnte ich weiße Seiten entdecken. Der Grund hierfür sind platzierte Illustrator-Dateien, bei denen i

  • Updated iWeb 2.0.2:  LOST Website - Please HELP

    Hi Folks, I just ran software update today and installed all the updates. Upon opening iWeb and accepting the new license agreement, I was greeted not by the website I have spent months building; but the Template select screen. My business website is

  • Why can't I use Windows Media Player on my iBook G4?

    I've tried to install Windows Media Player for my iBook G4, but a message comes up that I don't have the correct application. What can I do to get it working? Thanks for any help. Janie

  • I'm from Indonesia, I have question about nokia x3...

    I want to ask about the program opera mini on nokia x3-02, I could use it for some time almost 3 hours, but after that opera mini in extras -collection- opera mini Can not be loaded again? How to solve this problem? and whether we Can delete Its Beca