[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

Similar Messages

  • 10g1 Linux x86 silent install  orapwd remote_login_passwordfile  ORA-01031

    I have completed a silent install of 10g1 EE on Linux x86 followed by emca on command line, executed orapwd to create orapwdSID file in $ORACLE_home/dbs with password for sys, set remote_login_passwordfile =EXCLUSIVE, am able to sqlplus connect / as sysdba on the server, but still get ORA-01031 insufficient privileges when logging in through OEM.
    I have read an awful lot of posts about this. I am not in a position to use a DBCA GUI installation.
    Any thoughts?
    Peter

    there is no line in my sqlnet.ora for sqlnet.authentication_services
    I added your suggestion
    sqlnet.authentication_services= (none)
    still got error 01031
    but did find that I had named the orapwd file incorrectly as orapwd<sid> instead of orapw<sid>
    I also found that trying to register a sys password containing an @ seemed to confuse the orapwd utility no matter whether I enclosed it in double quotes or not
    so my workaround was to alter user sys identified by dummypassword
    and then run orapwd using dummypassword
    finally alter user sys identified by "mydesiredp@sswd" using doublequotes to escape the @
    which successfully updates the orapw<sid> file
    thanks for your help and suggestion
    Peter

  • 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

  • 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.

  • Passwordless connection to 11g on Windows (ORA-01031)

    Hi
    I have a problem with Oracle11g on Windows. I've created a db and I can connect to it using password:
    +{color:#ff0000}sqlplus sys/**** as sysdba{color}+
    without problems.
    When I try to connect:
    {color:#ff0000}+C:\&gt;sqlplus / as sysdba+
    SQL*Plus: Release 11.1.0.6.0 - Production on Wed Dec 3 08:53:25 2008
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    {color}
    {color:#ff0000}+Enter user-name:+{color}
    {color:#000000}in sqlnet.ora I have{color}{color}
    SQLNET.AUTHENTICATION_SERVICES = (NTS) {color}
    {color:#000000}I am DOMAIN USER but also a member of the local administrators & ora_dba and ora_&lt;SID&gt;_dba group.{color}{color}
    Have you got any idea what I should check to have passwordless connection working?
    Regards
    Paul
    {color}
    Edited by: Paul G. Matuszyk on Dec 3, 2008 8:57 AM
    Edited by: Paul G. Matuszyk on Dec 3, 2008 8:58 AM

    Depending on your environment (which Windows version on the database server,which version on the domain controller) it may be necessary to define
    "Pre-Windows 2000 Compatible Access" for the server on the domain controller (control panel,active directory users and computers). Especially the problem is seen, when there's a mix of Windows 2000 and Windows 2003.
    Werner

  • 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

  • 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

  • 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

  • Fail to logon with SYS user: ORA-01031: insufficient privileges

    Hello,
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    OS: CentOS 5.5
    I fail to log on with SYS user through PL/SQL Developer. I receive the error: ORA-01031: insufficient privileges. PL/SQL Developer is installed on Windows 7 Professional. Oracle Client Version is 11.2.0.1.0. However I logon successfully with SYSMAN and SYSTEM.
    For those who might ask whether I try to connect "as sysdba" when I use SYS user, the answer is YES, I do.
    Besides I think the name of the tool (PL/SQL Developer) doesn't matter because I think I'll face the same error with any other tool (but I mentioned it just in case).
    On server side I have no issues with SYS user. I can connect through SQLPlus with connect / as sysdba or connect "/as sysdba" faultlessly.
    The initialization parameter sec_case_sensitive_logon is set to FALSE
    SQL> show parameter sensi
    NAME TYPE VALUE
    sec_case_sensitive_logon boolean FALSE
    I'm using local naming to connect and on client side I've a tnanames.ora file. The sqlnet.ora file looks like this:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)I read in this forum (another thread) about using a password file. I created a password file using orapwd this way:
    orapwd file=orapwDB11G2 entries=100 ignorecase=y password=a_passwordwhere I replaced "a_password" with the SYS password.
    Actually I'm not sure the client is influenced by the password file anyway because I tell it to use local naming.
    Any clues?
    Thank you very much!

    Verdi wrote:
    Hello, Chinar, AlexeyDev,
    ORACLE_SID variable is:
    [oracle@localhost bin]$ echo $ORACLE_SID
    planetThe directory $ORACLE_HOME/dbs:
    [oracle@localhost ~]$ ls -l $ORACLE_HOME/dbs
    total 28020
    -rw-rw---- 1 oracle oinstall    1544 Apr 10 12:43 hc_DBUA0.dat
    -rw-rw---- 1 oracle oinstall    1544 Apr 27 18:02 hc_planet.dat
    -rw-r--r-- 1 oracle oinstall    2851 May 15  2009 init.ora
    -rw-r--r-- 1 oracle oinstall    2966 Apr 26 16:33 initplanet.ora
    -rw-r----- 1 oracle oinstall      24 Apr  1 18:22 lkPLANET
    -rw-r----- 1 oracle oinstall 9519104 Apr 27 18:43 ora_control1
    -rw-r----- 1 oracle oinstall 9519104 Apr 27 18:43 ora_control2
    drwx------ 2 oracle oinstall    4096 Apr 10 12:43 peshm_DBUA0_0
    drwx------ 2 oracle oinstall    4096 Apr  1 18:19 peshm_planet_0
    -rw-r----- 1 oracle oinstall 9519104 Apr  8 11:25 snapcf_planet.f
    -rw-r----- 1 oracle oinstall    2560 Apr 27 18:41 spfileplanet.oraThe value of the parameter remote_login_passwordfile is:
    *.remote_login_passwordfile='EXCLUSIVE'
    I start up the instance using the spfile.As a side observation, it appears you have two control files also in this directory. That is risky, and goes against the intent of having multiplexed the control file. Ideally they would be on separate disk devices - including separate controllers, but at the very least they should be in directories that are separate all the way back to the root directory. If you can't protect against hardware failure, at least protect against human failure.

  • Getting ORA-01031 while connect target

    Hi,
    I'm trying to perform a rman duplictate.
    I've created the orapwd file and setted the remote_login_passwordfile parameter as "EXCLUSIVE". I also have configured the connection to the target database on the tnsnames.ora file
    I'm getting this error:
    [server]> rman
    RMAN> CONNECT TARGET system/iwjIGPE@TARGET_DB
    RMAN-00571: ======================================
    RMAN-00569: ==== ERROR MESSAGE STACK FOLLOWS ===========
    RMAN-00571: ======================================
    ORA-01031: insufficient privileges
    RMAN> exit
    Recovery Manager complete.
    .... But I can connect remotely though sqlplus:
    [server]> sqlplus system/iwjIGPE@TARGET_DB
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Sep 13 13:04:32 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    SQL> exit
    thanks for your help!

    Hi again!
    I'm trying to follow the steps you propose:
    [server]> rman target sys/c9vhLZT0@TARGET_DB auxiliary /
    Recovery Manager: Release 11.2.0.2.0 - Production on Thu Sep 13 13:29:07 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN-00571: ===================================
    RMAN-00569: === ERROR MESSAGE STACK FOLLOWS =========
    RMAN-00571: ===============================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01017: invalid username/password; logon denied
    I'm sure that the password is correct. I've re-created the password file and the error continues.
    I'm still able to connect from sqlplus ...
    [server]> echo $ORACLE_SID
    AUX
    [server]> sqlplus
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Sep 13 13:31:35 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter user-name: sys@TARGET_DB as sysdba
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    SQL >
    I've granted the sysdba role to system:
    SYS @ TARGET_DB > select * from v$pwfile_users;
    USERNAME SYSDB SYSOP SYSAS
    SYS TRUE TRUE FALSE
    SYSTEM TRUE FALSE FALSE
    I'm not able to connect either with sys not with system users
    Thanks a lot
    Edited by: user11978261 on Sep 13, 2012 4:41 AM

  • ORA-01031 SYSMAN Insufficient Privileges Creating a new user

    I have installed Oracle 11g R2 onto Windows 7 64bit
    I then created a new database, at the end it moaned about the service and listener was not running or allocated to each other and also there was no web admin tool available.
    To resolve this I managed to use Net Configuration Assistant to get the listener sorted.
    I then had to run:
    set ORACLE_HOSTNAME=localhost
    set ORACLE_SID=mydb
    set ORACLE_UNQNAME=mydb
    I then ran
    emca -config dbcontrol db -repos recreate
    This gave me the web admin tool to create a new user.
    I logged in as SYSMAN tried to create a new user and got the "ORA-01031 Insufficient Privileges, you do not have enough privileges to perform this operation." error
    Can someone please help.
    Thanks

    It isn't that simple. As SYSMAN used for 11.2.0.3 database control:
    orcl>  select privilege from user_sys_privs;
    PRIVILEGE
    CREATE PUBLIC SYNONYM
    SELECT ANY DICTIONARY
    UNLIMITED TABLESPACE
    ALTER SESSION
    orcl>but as SYSMAN used for 12.1 Cloud Control:SQL> select privilege from user_sys_privs;
    PRIVILEGE
    ALTER USER
    DROP USER
    CREATE SESSION
    CREATE PUBLIC SYNONYM
    CREATE JOB
    CREATE MATERIALIZED VIEW
    SELECT ANY DICTIONARY
    CREATE TABLE
    ALTER SESSION
    CREATE USER
    CREATE SYNONYM
    DROP PUBLIC SYNONYM
    MANAGE SCHEDULER
    CREATE VIEW
    CREATE DATABASE LINK
    15 rows selected.
    SQL>so you have to be a bit careful when you give a yes/no answer.
    Edited by: JohnWatson on Nov 12, 2012 11:38 AM
    Forgot to include a quote: this is replying to the question about whether SYSMAN can create users.

Maybe you are looking for

  • CC desktop app Mac sign in problem - stuck in a loop

    When i try to sign in on the desktop app Mac it says I have signed out and I need to sign in again. This is a perpetual loop. mac_os_10.7.5 many thanks for any help. StuArt1201

  • Upgrade to Tiger. DV device not recognized.

    I recently upgraded to Tiger and lost the ability for FCP Express (FCP-X)HD to read my DV device (Sony GV-D300 NTSC). I also notice my Sony is no longer on the list of acceptable devices, though it worked before (when I had Panther). I have had lots

  • What to do when you are finished with a project

    I just purchased adobe photoshop elements 11 and edited my first photo and now i am finished with it.  How do i get that photo to re save as a new JPEG file?  If i go to mmyu media organizer it says that it is currnetly being edited, but im done and

  • Cannot download a .jnlp file

    I'm encountering an error while downloading a .jnlp file. Everytime I try to download a .jnlp file it just shows me the source code for the jnlp.

  • Adding parameters to button programmatically

    H All, I have an requirement to pass the parameters of an single row selected by user to the next page. It is an advance table in iReceivables page. I have created an button in the advance table using personalization and when the user clicks on the b