Skip to Content
author's profile photo Former Member
Former Member

ORA-01031: insufficient privileges

Hi All,

This is the issue i am facing in DB13.............

BR0301E SQL error -1031 at location BrDdartRead-1, SQL statement:

'PREPARE stmt_6 STATEMENT FROM'

'SELECT TABART FROM "SAPRDC".DDART ORDER BY TABART'

ORA-01031: insufficient privileges

As per the Note:834917

i have checked the role is active. Oracle version is 10.2.0.2.0

SQL> select * from DBA_ROLE_PRIVS where granted_role = 'SAPCONN';

GRANTEE GRANTED_ROLE ADM DEF

-


-


--- ---

SAPRDC SAPCONN NO YES

SYS SAPCONN YES YES

Still i am unable to identify where the actual issue is and what the steps need to perform to resolve the issue. As it is a training system.

Plz help me...

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 05, 2008 at 01:31 PM

    Hi,

    Try

    If you are on UNIX then

    grant connect, resource, SAPDBA to OPS$ORASID with admin option;

    OR On Windows

    Try

    grant connect, resource, SAPDBA to OPS$<Domain>SAPServiceSID with admin option;

    check.

    Thanks,

    Shambo

    Edited by: Shambo on Aug 6, 2008 6:34 AM

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      SQL> SELECT GRANTED_ROLE FROM DBA_ROLE_PRIVS WHERE GRANTEE = 'OPS$SIDADM';

      try below query,

      SQL> grant connect, resource, SAPDBA,SAPCONN to OPS$ORASID with admin option;

      SQL> SELECT GRANTED_ROLE FROM DBA_ROLE_PRIVS WHERE GRANTEE = 'OPS$ORASID';

      SQL>Commit;

      Lets try this & let me know

  • Posted on Aug 05, 2008 at 01:37 PM

    Hello,

    have you already checked sapnote #900525?

    Regards

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 06, 2008 at 06:06 AM

    Hi Sonu prasad,

    Note 900525 - BRCONNECT fails with ORA-01031 at location BrDdartRead-1

    and also try to (re)execute the sql script SAPDBA_ROLE.SQL ,You can find it on kernel directory

    Please check the below mentioned forums:

    ORA-01031: insufficient privileges

    Data protector backup failed....

    please follow the above your problem will resolve.

    Thanks

    Kishore

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.