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

Similar Messages

  • 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

  • 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

  • Check database with error "ORA-01031: insufficient privileges"

    Dear Gurus,
            I ran "Check database" in DB13 but I got error "ORA-01031: insufficient privileges"
    BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
    BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:
    'PREPARE stmt_5 STATEMENT FROM'
    'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDER BY OBJNAME'
    ORA-01031: insufficient privileges
    BR0806I End of BRCONNECT processing: cecxekdh.chk 2010-03-31 12.37.00
           Note I try to execute sapdba_role.sql (with command "sqlplus /nolog @sapdba_role.sql SR3") as Note 134592 both login 'oradev' and 'devadm' but it seem to do nothing (not found sapdba_role.log)
          Please advice.
    Best regards,
    Choosak B.
    Ps.
    detailed log of /oracle/DEV/sapcheck/cecxekdh.chk
    BR0801I BRCONNECT 7.00 (40)
    BR0477I Oracle pfile /oracle/DEV/102_64/dbs/initDEV.ora created from spfile /oracle/DEV/102_64/dbs/spfileDEV.ora
    BR0805I Start of BRCONNECT processing: cecxekdh.chk 2010-03-31 12.30.53
    BR0484I BRCONNECT log file: /oracle/DEV/sapcheck/cecxekdh.chk
    BR0101I Parameters
    Name                           Value
    oracle_sid                     DEV
    oracle_home                    /oracle/DEV/102_64
    oracle_profile                 /oracle/DEV/102_64/dbs/initDEV.ora
    sapdata_home                   /oracle/DEV
    sap_profile                    /oracle/DEV/102_64/dbs/initDEV.sap
    system_info                    devadm/oradev sapdev SunOS 5.10 Generic_142900-03 sun4v
    oracle_info                    DEV 10.2.0.4.0 8192 7465 94896497 sapdev UTF8 UTF8
    sap_info                       701 SAPSR3 0002LK0003DEV0011N11827599290015Maintenance_ORA
    make_info                      sun_64 OCI_102 Feb 21 2009
    command_line                   brconnect -u / -jid CHECK20100331123000 -c -f check
    alert_log                      /oracle/DEV/saptrace/background/alert_DEV.log
    BR0280I BRCONNECT time stamp: 2010-03-31 12.30.56
    BR0813I Schema owners found in database DEV:
    DBSNMP, DIP, OPS$DEVADM, OPS$ORADEV, OPS$SAPSERVICEDEV, ORACLE_OCM, OUTLN, SAPSR3*, SYS, SYSTEM,
    TSMSYS
    BR0118I Tablespaces and data files
    Tablespace     Status     File                                               Status     Id.        Size      MaxSize     IncrSize  BlkSize      Device  Type  Link
    PSAPSR3        ONLINE+    /oracle/DEV/sapdata2/sr3_1/sr3.data1               ONLINE+     4   2411732992  10485760000     20971520     8192    16777219  FILE  NOLINK
    SYSTEM         ONLINE+    /oracle/DEV/sapdata1/system_1/system.data1         SYSTEM+     1   1017126912  10485760000     20971520     8192    16777219  FILE  NOLINK
    BR0119I Redo log files
    File                                          Status  Group       Size       Device  Type  Link
    /oracle/DEV/origlogA/log_g11m1.dbf            INUSE      1    52429312     16777218  FILE  NOLINK
    /oracle/DEV/mirrlogA/log_g11m2.dbf            INUSE      1    52429312     16777218  FILE  NOLINK
    /oracle/DEV/origlogB/log_g12m1.dbf            INUSE      2    52429312     16777218  FILE  NOLINK
    /oracle/DEV/mirrlogB/log_g12m2.dbf            INUSE      2    52429312     16777218  FILE  NOLINK
    /oracle/DEV/origlogA/log_g13m1.dbf            INUSE      3    52429312     16777218  FILE  NOLINK
    /oracle/DEV/mirrlogA/log_g13m2.dbf            INUSE      3    52429312     16777218  FILE  NOLINK
    /oracle/DEV/origlogB/log_g14m1.dbf            INUSE      4    52429312     16777218  FILE  NOLINK
    /oracle/DEV/mirrlogB/log_g14m2.dbf            INUSE      4    52429312     16777218  FILE  NOLINK
    BR0120I Control files
    File                                                Size       Device  Type  Link
    /oracle/DEV/origlogA/cntrl/cntrlDEV.dbf         15024128     16777218  FILE  NOLINK
    /oracle/DEV/origlogB/cntrl/cntrlDEV.dbf         15024128     16777218  FILE  NOLINK
    /oracle/DEV/sapdata1/cntrl/cntrlDEV.dbf         15024128     16777219  FILE  NOLINK
    BR0982I Database disk volumes
    Directory / Raw disk                          Device      Total[KB]      Free[KB]    Used[%]   MaxNeed[KB]   MaxMiss[KB]
    /oracle/DEV/102_64                          16777218     480700086     404332206      15.89             0             0
    /oracle/DEV                                 16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/mirrlogA                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/mirrlogB                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/origlogA                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/origlogB                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/sapdata1                        16777219     591212116     404332206      31.61     240019884             0
    /oracle/DEV/sapdata2                        16777219     591212116     404332206      31.61     240019884             0
    /oracle/DEV/sapdata3                        16777219     591212116     404332206      31.61     240019884             0
    /oracle/DEV/sapdata4                        16777219     591212116     404332206      31.61     240019884             0
    /oracle/DEV/saparch                         16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/sapbackup                       16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/sapcheck                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/sapreorg                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/saptrace                        16777218     480700086     404332206      15.89             0             0
    /oracle/DEV/oraarch                         16777218     480700086     404332206      15.89             0             0
    BR0280I BRCONNECT time stamp: 2010-03-31 12.31.29
    BR0814I Number of tables in schema of owner SAPSR3: 74582
    BR0836I Number of info cube tables found for owner SAPSR3: 49
    BR0814I Number of tables/partitions in schema of owner SYS: 625/189
    BR0814I Number of tables/partitions in schema of owner SYSTEM: 134/27
    BR0280I BRCONNECT time stamp: 2010-03-31 12.32.28
    BR0815I Number of indexes in schema of owner SAPSR3: 89159
    BR0815I Number of indexes/partitions in schema of owner SYS: 678/199
    BR0815I Number of indexes/partitions in schema of owner SYSTEM: 175/32
    BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
    BR0816I Number of segments in schema of owner DBSNMP: 25
    BR0816I Number of segments in schema of owner OPS$DEVADM: 1
    BR0816I Number of segments in schema of owner OUTLN: 9
    BR0816I Number of segments/LOBs in schema of owner SAPSR3: 168369/2314
    BR0816I Number of segments/LOBs in schema of owner SYS: 1831/87
    BR0816I Number of segments/LOBs in schema of owner SYSTEM: 353/22
    BR0816I Number of segments in schema of owner TSMSYS: 4
    BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
    BR0961I Number of conditions found in DBCHECKORA: 118
    BR0983I Tablespace fragmentation
    Tablespace    Files   Tables  Indexes    Extents     Total[KB]   Used[%]     Free[KB]   FreeExt.   MaxSize[KB]   MaxAlloc[KB]   Used[%]       Free[KB]       Largest[KB]
    PSAPSR3          16    74248    88689     209864     54138880     94.51      2970752        240     163840000+     109701120+    31.23+     112671872+       9246720:7966720:7946240:7905280:7905280+
    PSAPSR3701       14        0        0          0     54466560      0.00     54465664         20     143360000+      88893440+     0.00+     143359104+       9021440:8192000:8192000:8192000:8192000+
    PSAPSR3701X       4      310      445      12190     68342784     94.20      3962240          7      68342784              0     94.20        3962240        1298432:1191936:979968:163776:163776
    PSAPSR3USR        1       24       25         51        51200      6.50        47872          1      10240000+      10188800+     0.03+      10236672+      10188800+:47872:0:0:0
    PSAPTEMP          1        0        0          0      1433600      0.00      1433600          0      10240000+       8806400+     0.00+      10240000+       8806400+:0:0:0:0
    PSAPUNDO          1        0        0          0      7823360      0.00      7823296        406      10240000+       2416640+     0.00+      10239936+       2416640+:2041792:1814464:1433536:603072
    SYSAUX            1      254      284       2059       307200     93.35        20416         16      10240000+       9932800+     2.80+       9953216+       9932800+:13248:3072:1024:640
    SYSTEM            1      505      569       2926       993280     98.91        10816          2      10240000+       9246720+     9.59+       9257536+       9246720+:10176:640:0:0
    Total:           39    75341    90012     227090    187556864     62.29     70734656        692     426742784      239185920     27.38      309920576       60157952:19463744:18936384:17695616:16864768
    BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
    BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:
    'PREPARE stmt_5 STATEMENT FROM'
    'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDER BY OBJNAME'
    ORA-01031: insufficient privileges
    BR0806I End of BRCONNECT processing: cecxekdh.chk 2010-03-31 12.37.00
    BR0280I BRCONNECT time stamp: 2010-03-31 12.37.00
    BR0804I BRCONNECT terminated with errors

    Hi,
           It solved after change permission of directory that sapdba_role.sql kept to oradev:dba after that it can write sapdba_role.log.
          Thank you for your guideline.
          Now, I can ran 'Check database' via DB13 without that error.
    Best regards,
    Choosak B.

  • ORA-01031: insufficient privileges when running adgrants_nt PATCH 6510214

    Hi all,
    I need to clone an Oracle Applications R12 from production to development, so for that I am using Metalink document ID 406982.1 (C;loning Oracle Applications Release 12 with Rapid Clone).
    In the document, the step 3 is to "Apply the latest AD patch" and the things get hotter here, since when trying to apply the patch, the pre req is to run the script adgrants_nt.sql, it returns an error (ORA-01031: insufficient privileges) and aborts.
    After some searching in google and metalink and OTN forums, the solution was to create an ora_dba group and add the user to that group and set sqlnet.ora to use NTS. I did all that and the error does not go away.
    so, what can I do to complete the clone process?
    thank you very much,
    Hassane Cabir

    hi Hassane;
    I need to clone an Oracle Applications R12 from production to development, so for that I am using Metalink document ID 406982.1 (C;loning Oracle Applications Release 12 with Rapid Clone).If your release 12.0.6 then i belive you can pass AD patch part
    In the document, the step 3 is to "Apply the latest AD patch" and the things get hotter here, since when trying to apply the patch, the pre req is to run the script adgrants_nt.sql, it returns an error (ORA-01031: insufficient privileges) and aborts.You try to apply this patch your production, so then be sure patch folder has r/w permisson to your application user(for instance applmgr) then try again please
    After some searching in google and metalink and OTN forums, the solution was to create an ora_dba group and add the user to that group and set sqlnet.ora to use NTS. I did all that and the error does not go away.You dont need to create one other group,issue is:
    su - applmgr(your apps user)
    id
    uid=1002(oracle) gid=1010(dba)
    it gives you your user's group (for instance dba,install etc)
    then issue chown -R applmgr:dba /u01.......(your patch location)
    I suggest change your entery on sqlnet.ora file
    Regard
    Helios

  • Scheduled Batch jobs error : ora-01031 insufficient privileges

    I have created a batch job that runs my database backups on a windows 2000 server. This job works perfect from the command line with the following syntax:
    coldbackup.bat PROD
    I have tried to schedule this backup to run every evening as follows:
    at 01:00 /every:M,T,W,Th,F,S C:\coldbackup.bat PROD
    The batch job does run every morning but generates an error when trying to shutdown the database. The error is ora-01031 insufficient privileges and seems to be related to the 'connect / as sysdba' command. The job has been scheduled using the local 'Administrator' user, which have been added to the ORA_DBA group.
    I have thought of one solution and that entails hard-coding the username and password into the script, but that creates a security risk.
    Can someone explain this behaviour and possible provide a good solution.
    Thank you

    Solution: Yes, I have found the solution to my problem.
    I was trying to schedule the batch job from the command line and in doing so the job was running in a 'system' user.
    When I scheduled the job from the control panel --> schedule tasks I was able to enter the 'run as' username and password.

  • BRBACKUP: ORA-01031: insufficient privileges

    Hello,
    where I try to make a online control file backup test, with command "brback -u / -d disk -t online -m 0 -c", it comes always the error message:
    root@odrt88:/oracle/IH3/102_64/cpu/CPUJul2006 > su - oraih3
    odrt88:oraih3 51> brbackup -u / -d disk -t online -m 0 -c
    BR0051I BRBACKUP 7.00 (11)
    BR0055I Start of database backup: bdtsqfrg.pnd 2006-10-16 15.08.04
    BR0280I BRBACKUP time stamp: 2006-10-16 15.08.04
    BR0301W SQL error -1031 at location BrbDbLogOpen-5
    ORA-01031: insufficient privileges
    BR0324W Insertion of database log header failed
    BR0280I BRBACKUP time stamp: 2006-10-16 15.08.04
    BR0319I Control file copy created: /oracle/IH3/sapbackup/cntrlIH3.dbf 12664832
    BR0280I BRBACKUP time stamp: 2006-10-16 15.08.04
    BR0301W SQL error -1031 at location BrDbfInfoGet-30
    ORA-01031: insufficient privileges
    BR0280I BRBACKUP time stamp: 2006-10-16 15.08.04
    BR0301W SQL error -1031 at location BrDbfInfoGet-31
    ORA-01031: insufficient privileges
    BR0280I BRBACKUP time stamp: 2006-10-16 15.08.04
    BR0301E SQL error -1031 at location BrComprDurGet-1
    ORA-01031: insufficient privileges
    BR0314E Collection of information on database files failed
    BR0280I BRBACKUP time stamp: 2006-10-16 15.08.04
    BR0301W SQL error -1031 at location BrbDbLogOpen-5
    ORA-01031: insufficient privileges
    BR0324W Insertion of database log header failed
    BR0056I End of database backup: bdtsqfrg.pnd 2006-10-16 15.08.04
    BR0280I BRBACKUP time stamp: 2006-10-16 15.08.04
    BR0054I BRBACKUP terminated with errors
    The system is Netweaver 2004s SR1 Enterprise Portal on Oracle 10.2.0.2.0 on SLES 9(SP3 x86_64).
    I have check the user and group. <sapid>adm belongs to groups sapsys, oper, dba, sapinst and ora<dbsid> belongs to dba, oper, sapinst.
    Is there anybody has idea? Any answer is appreciated!
    Rongfeng

    I'm facing the same error when trying to backup the DB with brtools :
    <i>BR0280I BRBACKUP time stamp: 2007-07-13 14.26.48
    BR0301E SQL error -1017 at location BrDbConnect-2
    ORA-01017: invalid username/password; logon denied
    BR0310E Connect to database instance H40 failed
    BR0280I BRBACKUP time stamp: 2007-07-13 14.26.49
    BR0301E SQL error -1017 at location BrDbConnect-2
    ORA-01017: invalid username/password; logon denied
    BR0310E Connect to database instance H40 failed</i>
    I used the sapdba_role.sql for oracle 9 and got same errors too:
    <i>old   1: grant ALL on &User..DBAOBJL to sapdba
    new   1: grant ALL on SAPR3.DBAOBJL to sapdba
    grant ALL on SAPR3.DBAOBJL to sapdba
    ERROR at line 1:
    ORA-00942: table or view does not exist
    old   1: grant ALL on &User..DBAPHAL to sapdba
    new   1: grant ALL on SAPR3.DBAPHAL to sapdba
    grant ALL on SAPR3.DBAPHAL to sapdba
    ERROR at line 1:
    ORA-00942: table or view does not exist
    old   1: grant ALL on &User..DBAGRP to sapdba
    new   1: grant ALL on SAPR3.DBAGRP to sapdba
    grant ALL on SAPR3.DBAGRP to sapdba
    ERROR at line 1:
    ORA-00942: table or view does not exist
    old   1: grant ALL on &User..DBAERR to sapdba
    new   1: grant ALL on SAPR3.DBAERR to sapdba
    grant ALL on SAPR3.DBAERR to sapdba
    ERROR at line 1:
    ORA-00942: table or view does not exist
    old   1: grant ALL on &User..DBATRIAL to sapdba
    new   1: grant ALL on SAPR3.DBATRIAL to sapdba
    grant ALL on SAPR3.DBATRIAL to sapdba
    ERROR at line 1:
    ORA-00942: table or view does not exist</i>
    All other has Granted succeefully.
    System info :
    R/3 4.0B
    Oracle9.0.1.0
    Win2K3
    Brtools 6.40
    SIDadm user is in all important groups.
    Any suggestions?
    Thanks in advance,
    Zacharias

  • 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

  • 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

  • Error while Creating Master Repository: ORA-01031: insufficient Privileges

    Hi,
    I'm trying to install ODI into my VM.
    I have done the installation and while creating Master Repository, I'm getting following error:
    ORA-01031: insufficient Privileges
    I'm using Oracle & have created user as ODI_MASTER with Admin Privileges.
    I'll be using it to load metadata onto planning (Version 11.1.2)
    Is there anything that I'm missing out on.
    Jitendra.

    Seems missing grants on the user you are using to create Master Repository.
    you are using Oracle .. grant connect, resource to <your_user>. These two rolesa have sufficient access to db to create the master repository.
    execuute the sql from sys user
    Regards,
    Amit
    Edited by: amitgupta1202 on 20 Aug, 2009 10:42 PM

  • Ora-01031: Insufficient Privileges error during 10g install on Suse 9.1

    I have tried installing Oracle 10g on Suse 9.1 Professional several times. Although I have tried to carefully follow the instructions in the installation guide, I get the following error.
    When the Database Configuration Assistant start during the initial installation, I receive the error -> Ora-01031: Insufficient Privileges.
    I created the oinstall and dba group according to the installation guide and made oracle a member with oinstall being the primary group. I also ran -> chown -R oracle:oinstall -> on the Oracle_Base folder to which I want to install the software and oradata files. Similarly, I ran -> chmod -R 775 -> on that folder. During the install I ran the script -> oracle_base/oraInventory/orainstRoot.sh -> during the installation when prompted.
    I would really appreciate any help that any of you could provide. Thank you so much in advance.
    -Daniel

    I'm logged in as oracle when I perform the installation but as soon as the database configuration assistant tries to create the database I get this error. I had made oracle a member of oinstall and dba just as it was desribed in the instructions. (At one point I even tried giving oracle root, which didn't seem to work either. I have since reinstalled the OS.)
    Thank you for helping me with this!

  • Ora-01031: Insufficient Privileges during 10g install on Suse 9.1

    I have tried installing Oracle 10g on Suse 9.1 Professional several times. Although I have tried to carefully follow the instructions in the installation guide, I get the following error.
    When the Database Configuration Assistant start during the initial installation, I receive the error -> Ora-01031: Insufficient Privileges.
    I created the oinstall and dba group according to the installation guide and made oracle a member with oinstall being the primary group. I also ran -> chown -R oracle:oinstall -> on the Oracle_Base folder to which I want to install the software and oradata files. Similarly, I ran -> chmod -R 775 -> on that folder. During the install I ran the script -> oracle_base/oraInventory/orainstRoot.sh -> during the installation when prompted.
    I would really appreciate any help that any of you could provide. Thank you so much in advance.
    -Daniel

    I'm logged in as oracle when I perform the installation but as soon as the database configuration assistant tries to create the database I get this error. I had made oracle a member of oinstall and dba just as it was desribed in the instructions. (At one point I even tried giving oracle root, which didn't seem to work either. I have since reinstalled the OS.)
    Thank you for helping me with this!

  • 11.2.0.1 :ORA-01031: insufficient privileges / as sysdba

    Hi All,
    I installed 11.2.0.1 $ORACLE_HOME in process of performing database upgrade in 11i applications environment.
    Installation went successfully, while installing i have to select group name as "other" as it was not listing the dba group in installation screen. I manually changed the group to dba after Installation.
    Now when im trying to login as /sysdba its getting error-ed out:
    bash-3.00$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jun 5 08:53:35 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    - proper oracle home, sid, path is set
    - listener is up and running
    what could be the problem?
    Thanks in advance for all you inputs.

    Prathmesh wrote:
    You do this by running the utility orapwd from a command line.
    orapwd file=$ORACLE_HOME/dbs/orapwsid password=secure entries=5Dear Prathmesh "sqlplus / as sysdba" command do not use passwordfile or this is not password file authentication,this is OS authentication.Pls see http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dba.htm#sthref149

  • Resolving problem with ORA-01031: insufficient privileges

    hello i just to write a few word about my installation of oracle database 9i
    My installation is on a Red Hat AS3
    I have a problem with the error :ORA-01031: insufficient privileges
    The one who read this know what about i tell.
    The authorization is only for the user which Group is DBA as you can read everywhere.
    but me when i tried groupadd dba => it tells group already exist.
    but i can't find the group dba in the file /etc/group.
    So i tried to make my user 'oracle' works with the 'already group exist' dba .
    useradd -g dba oracle
    but when i tried to start the database i create i have the message. : ORA-01031: insufficient privileges
    i tried to add manualy the group dba to /etc/group (as i can read in websites)
    and add a user manualy (/etc/passwd).
    But does works.
    I try all i can during 1 days long.
    I was really upset because nothing that i read work.
    finaly I go to the RedHat Menu (things i don't really do normaly on LINUX) and go to 'SYSTEM SETTINGS' and choose 'User and Group'
    Here i can see my user 'Oracle' I get the property of the user .
    there is a tab group ( 'select the group that the user will be member of:')
    None of them where name DBA so i decidied to select all of them and tried.
    MAGIC!!! then it works!!!
    ps: after when i see the list of the group I saw that one of them is named 'SYS' . I really think that it is the one group i had to select. but don't know.
    Now It is working for me so... And good luck for you. bye.

    Errors
    ORA-01031 "insufficient privileges"
    Symptoms
    During database upgrade phase using DBUA , it fails with error
    ORA-1031 Insufficient privileges
    Connection from sqlplus also fails with same error
    $ sqlplus /nolog
    SQLPLUS "conn / as sysdba"
    ORA-1031 Insufficient privileges
    Changing the REMOTE_LOGIN_PASSWORDFILE to SHARED / NONE does not make differen
    Cause
    ORACLE_HOME owner oramigts is part of OS group "dba" ,but config.s shows group "g680"
    The 'OSDBA' and 'OSOPER' groups are chosen at installation time and usually both default to the group 'dba'.
    These groups are compiled into the 'oracle' executable and so are the same for all databases running from a given ORACLE_HOME directory.
    The actual groups being used for OSDBA and OSOPER can be checked thus:
    cd $ORACLE_HOME/rdbms/lib
    cat config.[cs]
    Solution
    To implement the solution, please execute the following steps:
    1. Checked the ORACLE_HOME owner.
    echo $ORACLE_HOME
    /h02/app/oracle/product/9.2.0_64
    cd / h02/app/oracle/product/
    ls -l
    drwxr-xr-x 58 oramigts dba 1024 Jan 2 2004 9.2.0_64
    2.ORACLE_HOME software owner "oramigts" is part of group "dba"
    3.Checked file $ORACLE_HOME/rdbms/lib/config.s
    [If your platform has config.c:
    Due to the way different compilers under different architectures generate
    assembler code, it's not possible to give a universal rule.]
    It shows dba group as "g680" where software owner is part of "dba" group
    You can more find detail on config.s / config.c in the following doc.
    Note 50507.1 SYSDBA and SYSOPER Privileges in Oracle
    4. Modified the config.s for correct group.
    .ascii "g680\0"
    to
    .ascii "dba\0"
    7. mv config.o config.o.bak
    8. make -f ins_rdbms.mk config.o ioracle
    9. Checked the file config.o is created at $ORACLE_HOME/rdbms/lib
    10. Connected / as sysdba thru Sqlplus from 9.2 Home, which connected sucessfully.

  • ORA-01031: insufficient privileges after changing group.

    I installed oracle 10g with oracle:oinstall as owner and I was able to connect using "sqlplus / as sysdba".
    But today I chaged owner of 10g software owner to oracle:dba.
    Now when I am trying "sqlplus / as sysdba".
    ERROR:
    ORA-01031: insufficient privileges
    But I am able to connect with "sqlplus sys/password as sysdba".
    linux1:(oracle):DEV +-> id
    uid=175(oracle) gid=115(dba) groups=115(dba)
    What to do to have OS authen working?
    Thanks

    Most probably this is what the user means :-
    1. Installation was done with oracle:oinstall a year back.
    oracle as the user and oinstall as the group owner.
    At that time sqlplus "/ as sysdba" was working fine for him
    2. He probably wanted his setting to be oracle:dba and he issued the following command:-
    chown -R oracle:dba $ORACLE_HOME
    Now the issue is that he cannot use sqlplus "/ as sysdba" however sqlplus sys/connpass works just fine.
    He probably wants to know why his settings are not working now.
    Have you read metalink for that error ORA-1031, there is a whole set of document available to diagonise this issue.

Maybe you are looking for