BRTOOLS; SQL error -1031

Hi,
I'm getting following error while executing db-checks with brtools:
BR0484I BRCONNECT log file: G:\oracle\PMT\sapcheck\cdxarbyz.chk
BR0280I BRCONNECT time stamp: 2008-01-14 14.58.19
BR0301W SQL error -1031 at location brc_dblog_open-1, SQL statement:
'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20080114145813', 'chk', 'PMT', 'DATABASE', '9999', ' ', 'cdxarbyz', '7.00 (26) check')'
ORA-01031: insufficient privileges
BR0324W Insertion of database log header failed
I have already run sapdba_role.sql and sapconn_role.sql on the database for the SAPSID
for sapdba_role.sql
sqlplus /nolog @sapdba_role SAPR3
for sapconn_role.sql
sqlplus /nolog @sapconn_role
Can somebody please help?

I thought the format for running sapdba_role.sql was to uise only the suffix.
So if you schema is SAPSR3 then you only need to give SR3.
View the sapdba_role.sql and you will see the proper format.
Also be sure the permissions on the br* binaries are correct and they have different owners/ sticky bits set.

Similar Messages

  • BR0301E SQL error -1031 at location BrInitOraCreate-1

    when i am performing database backup through brtools 6.4 i am facing this error

    complete error list is
    BR0291I BRBACKUP will be started with options '-p initDCTEST.sap -d disk -t offline -m all -k no -e
    0 -l E'
    BR0280I BRTOOLS time stamp: 2005-10-18 16.23.43
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRTOOLS time stamp: 2005-10-18 16.23.47
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    BR0051I BRBACKUP 6.40 (3)
    BR0169W Value 'ibs=' of parameter/option 'dd_in_flags' ignored for 'Windows NT' - 'bs=' assumed
    BR0055I Start of database backup: bdrbziml.afd 2005-10-18 16.23.47
    BR0280I BRBACKUP time stamp: 2005-10-18 16.23.48
    BR0301E SQL error -1031 at location BrInitOraCreate-1
    ORA-01031: insufficient privileges
    BR0303E Determination of RDBMS version failed
    BR0280I BRBACKUP time stamp: 2005-10-18 16.23.48
    BR0301W SQL error -942 at location BrbDbLogOpen-1
    ORA-00942: table or view does not exist
    BR0324W Insertion of database log header failed
    BR0056I End of database backup: bdrbziml.afd 2005-10-18 16.23.48
    BR0280I BRBACKUP time stamp: 2005-10-18 16.23.48
    BR0054I BRBACKUP terminated with errors
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    BR0292I Execution of BRBACKUP terminated with return code 3

  • BR0301W SQL error -1031 at location BrbDbLogOpen-5

    HI Experts,
    When I am trying to backup the oracle database through brtools I am getting ORA-01031 error.
    I am trying to do tht through sapadm user.
    BR0051I BRBACKUP 7.00 (6)
    BR0055I Start of database backup: bebaqawf.and 2009-07-17 15.54.33
    BR0477I Oracle pfile F:\ORACLE\HWS\102\database\initHWS.ora created from spfile
    F:\ORACLE\HWS\102\database\spfileHWS.ora
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.37
    BR0301W SQL error -1031 at location BrbDbLogOpen-5
    ORA-01031: insufficient privileges
    BR0324W Insertion of database log header failed
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.38
    BR0319I Control file copy created: F:\oracle\HWS\sapbackup\cntrlHWS.dbf 12664832
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.38
    BR0301W SQL error -1031 at location BrDbfInfoGet-30
    ORA-01031: insufficient privileges
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.38
    BR0301W SQL error -1031 at location BrDbfInfoGet-31
    ORA-01031: insufficient privileges
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.38
    BR0301E SQL error -1031 at location BrComprDurGet-1
    ORA-01031: insufficient privileges
    BR0314E Collection of information on database files failed
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.38
    BR0301W SQL error -1031 at location BrbDbLogOpen-5
    ORA-01031: insufficient privileges
    BR0324W Insertion of database log header failed
    BR0056I End of database backup: bebaqawf.and 2009-07-17 15.54.38
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.38
    BR0054I BRBACKUP terminated with errors
    Regards,
    Rahul.

    Simply your user doesn't have enough rights...
    Read
    SAP Note 91216 - BRBACKUP/SAPDBA: ORA-01031 Insufficient privileges
    SAP Note 1028220 - ORA-01031: Insufficient privileges despite SAPCONN role
    Regards
    Juan

  • Update statistics - BR301E SQL error -1031 at location stats_tab_collect-3

    Hi,
    I'm having this error when update statistics is run:
    +BR301E SQL error -1031 at location stats_tab_collect-3+
    +ORA-01031: insufficient privileges+
    +ORA-06512: at "SYS.DBMS_STATS", line 10301+
    +ORA-06512: at "SYS.DBMS_STATS", line 10315+
    +ORA-06512: at line 1+
    The SAP was using the analyze table and I have changed to use DBMS_STATS. And now is returning this error.
    Any Idea ?
    Many Thanks.

    Hi Rui,
    Take a look at "Note 351163 - Creating ORACLE DB statistics using DBMS_STATS".
    Best regards,
    Orkun Gedik

  • BR0301E SQL error -1031 at location dblog_cleanup-5

    BR0301E SQL error -1031 at location dblog_cleanup-5
    ORA-01031: insufficient privileges
    BR0280I BRCONNECT time stamp: 2010-10-09 21.10.16
    BR0301E SQL error -1031 at location dblog_cleanup-6
    ORA-01031: insufficient privileges
    Kindly suggest me how to resolve this alert in DB13 clean up logs

    Hi,
    Have you made any changes  to you environmentals ?
    I had a similar problem for example when I had TNS_ADMIN set when I removed it it was fine
    Mark

  • DBcheck get failed from db13 with error BR0301E SQL error -1031

    Hi,
    I am executing DBcheck from db13 but it gets failed with error "BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement".
    Here is the job logs:
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000424, user ID SVKM_BASIS2)
    Execute logical command BRCONNECT On host svkmeccdbci
    Parameters: -u / -jid CHECK20110930103211 -c -f check
    BR0801I BRCONNECT 7.00 (40)
    BR0477I Oracle pfile /oracle/SEP/102_64/dbs/initSEP.ora created from spfile /oracle/SEP/102_64/dbs/spfileSEP.ora
    BR0805I Start of BRCONNECT processing: cegwudvg.chk 2011-09-30 10.32.12
    BR0484I BRCONNECT log file: /oracle/SEP/sapcheck/cegwudvg.chk
    BR0280I BRCONNECT time stamp: 2011-09-30 10.32.12
    BR0813I Schema owners found in database SEP:
    DBSNMP, DIP, OPS$ORASEP, OPS$SAPSERVICESEP, OPS$SEPADM, ORACLE_OCM, OUTLN, SAPSR3*, SYS, SYSTEM,
    TSMSYS
    BR0280I BRCONNECT time stamp: 2011-09-30 10.32.20
    BR0814I Number of tables in schema of owner SAPSR3: 77207
    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: 2011-09-30 10.32.29
    BR0815I Number of indexes in schema of owner SAPSR3: 92099
    BR0815I Number of indexes/partitions in schema ofowner SYS: 678/199
    BR0815I Number of indexes/partitions in schema ofowner SYSTEM: 175/32
    BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
    BR0816I Number of segments in schema of owner DBSNMP: 25
    BR0816I Number of segments in schema of owner OPS$SEPADM: 1
    BR0816I Number of segments in schema of owner OUTLN: 9
    BR0816I Number of segments/LOBs in schema of owner SAPSR3: 174072/2383
    BR0816I Number of segments/LOBs in schema of owner SYS: 1838/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: 2011-09-30 10.32.52
    BR0961I Number of conditions found in DBCHECKORA:118
    BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
    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') ORDE
    ORA-01031: insufficient privileges
    BR0806I End of BRCONNECT processing: cegwudvg.chk2011-09-30 10.32.52
    BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    Job finished
    Please help.
    Thanks in advanced.
    Ocean

    Dear,
    Thanks for the reply.
    I have checked the note you have mention, but it show it is for SAP Release 6.20 or lower.
    we have ECC6 EHP4 release 700.
    So, please advise, should i go for that note and perform the required action ?
    Thanks.

  • BR0301E SQL error -1031

    Hi all,
    we get this error aftter importing sapdba role according note 134592, all requirements according note 834917 are met.  It works with ops$, with ORASID, but not for SIDADM !
    brconnect -u / -f check works also
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    BR0002I BRARCHIVE 7.20 (6)
    BR0006I Start of offline redolog processing: aeeicwva.svd 2010-10-12 16.49.46
    BR0484I BRARCHIVE log file: /oracle/SOL/saparch/aeeicwva.svd
    BR0280I BRARCHIVE time stamp: 2010-10-12 16.49.47
    BR0301E SQL error -1031 at location BrInitOraCreate-2, SQL statement:
    'CONNECT / AT PROF_CONN IN SYSOPER MODE'
    ORA-01031: insufficient privileges
    BR0303E Determination of Oracle version failed
    BR0007I End of offline redolog processing: aeeicwva.svd 2010-10-12 16.49.47
    BR0280I BRARCHIVE time stamp: 2010-10-12 16.49.47
    BR0005I BRARCHIVE terminated with errors
    Thanks in advance
    Thomas

    cscappwin024:/etc # cat SuSE-release
    SUSE Linux Enterprise Server 10 (x86_64)
    VERSION = 10
    PATCHLEVEL = 3
    cscappwin024:soladm 52> brarchive -u / -c force -p initSOL.sap -sd
    BR0002I BRARCHIVE 7.20 (6)
    BR0006I Start of offline redolog processing: aeeirbat.svd 2010-10-15 13.58.23
    BR0484I BRARCHIVE log file: /oracle/SOL/saparch/aeeirbat.svd
    BR0280I BRARCHIVE time stamp: 2010-10-15 13.58.23
    BR0301E SQL error -1031 at location BrInitOraCreate-2, SQL statement:
    'CONNECT / AT PROF_CONN IN SYSOPER MODE'
    ORA-01031: insufficient privileges
    BR0303E Determination of Oracle version failed
    BR0007I End of offline redolog processing: aeeirbat.svd 2010-10-15 13.58.23
    BR0280I BRARCHIVE time stamp: 2010-10-15 13.58.23
    BR0005I BRARCHIVE terminated with errors
    Kind regards
    Thomas

  • Brtools - SQL error -12705 ?????

    These are the NLS values that are valid.
    SQL> SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER = 'NLS_CHARACTERSET';
    VALUE
    UTF8
    gtbwdb1 25: echo $NLS_LANG
    AMERICAN_AMERICA.UTF8
    I am using Oracle 9.2.0.7 on HP-UX 11.11

    1st question is the kernel that you are using
    SAP BASIS 640, level: 19, Support Pack: SAPKB64019
    2nd question is the user that tries to execute brtools
    both oraewp & ewpadm
    3rd question is the environment variables of that user
    oraewp env...
    TZ=MST7
    HOME=/oracle/EWP
    SHELL=/usr/bin/csh
    PATH=/oracle/EWP/920_64/bin:/oracle/EWP:/usr/sap/EWP/SYS/exe/runU:/usr/sap/EWP/S
    YS/exe/run:/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/contrib/bin:/usr/local/bin:.
    LOGNAME=oraewp
    SAPSYSTEMNAME=EWP
    DIR_LIBRARY=/usr/sap/EWP/SYS/exe/run
    SHLIB_PATH=/usr/sap/EWP/SYS/exe/run:/usr/sap/EWP/SYS/exe/runU
    THREAD=NOPS
    dbms_type=ORA
    dbs_ora_tnsname=EWP
    dbs_ora_schema=SAPEWP
    ORACLE_PSRV=EWP
    ORACLE_SID=EWP
    DB_SID=EWP
    ORACLE_HOME=/oracle/EWP/920_64
    ORACLE_BASE=/oracle
    ORA_NLS33=/oracle/EWP/920_64/ocommon/nls/admin/data
    NLS_LANG=AMERICAN_AMERICA.UTF8
    SAPDATA_HOME=/oracle/EWP
    TERM=xterm
    WINDOWID=4194319
    DISPLAY=7.248.9.148:0.0
    COLUMNS=80
    LINES=24
    4th question is the version of your oracle client
    How can you tell what client you are using?
    Final question, what is the output of "ls -l /oracle/client/92x_64"
    ls -l /oracle/client/92x_64
    total 48
    drwxrwxr-x   5 oraewq     dba           4096 Jan 10  2007 jdbc
    drwxrwxr-x   2 oraewq     dba           4096 Jan 10  2007 lib
    drwxrwxr-x   3 oraewq     dba           4096 Jan 10  2007 network
    drwxrwxr-x   3 oraewq     dba           4096 Jan 10  2007 ocommon
    drwxrwxr-x   4 oraewq     dba           4096 Jan 10  2007 oracore
    drwxrwxr-x   3 oraewq     dba           4096 Jan 10  2007 rdbms

  • BRBACKUP fails with 'BR0301W SQL error -980 at location BrbDbLogOpen'

    Hello mates,
    BRBACKUP on our Portal systems fails with the following error:
    EP Version: 600
    Platform: HP-Unix (ia64 hp server rx7640)
    Oracle: 920_64
    BRTOOLS 6.40 (40)
    BR0301W SQL error -980 at location BrbDbLogOpen
    BR0324W Insertion of database log header failed
    Here is the exerpt from the logfile:
    ==============================================
    BR0051I BRBACKUP 6.40 (40)
    BR0055I Start of database backup: bdyxzsml.anf 2008-10-01 08.04.51
    BR0477I Oracle pfile /oracle/GGF/920_64/dbs/initGGF.ora created from spfile /oracle/GGF/920_64/dbs/spfileGGF.ora
    BR0925I Public synonym SAP_SDBAH created successfully for table SAPGGFDB.SDBAH
    BR0925I Public synonym SAP_SDBAD created successfully for table SAPGGFDB.SDBAD
    BR0925I Public synonym SAP_MLICHECK created successfully for table SAPGGFDB.MLICHECK
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0301W SQL error -980 at location BrbDbLogOpen-5
    ORA-00980: synonym translation is no longer valid
    BR0324W Insertion of database log header failed
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0319I Control file copy created: /oracle/GGF/sapbackup/cntrlGGF.dbf 8052736
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0301W SQL error -980 at location BrDbfInfoGet-30
    ORA-00980: synonym translation is no longer valid
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0301W SQL error -980 at location BrDbfInfoGet-31
    ORA-00980: synonym translation is no longer valid
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0301E SQL error -980 at location BrComprDurGet-1
    ORA-00980: synonym translation is no longer valid
    BR0314E Collection of information on database files failed
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0301W SQL error -980 at location BrbDbLogOpen-5
    ORA-00980: synonym translation is no longer valid
    BR0324W Insertion of database log header failed
    BR0056I End of database backup: bdyxzsml.anf 2008-10-01 08.04.51
    BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
    BR0054I BRBACKUP terminated with errors
    ============================================
    I am not able to find any relevant solutions in SMP so far.
    Please help find a solution.
    Thanks & Regards,
    Manoj

    Hello ,
    Am trying to take the online backup using brtools in my portal server but giving below error:
    BR0051I BRBACKUP 7.00 (24)
    BR0055I Start of database backup: bdzqskqc.and 2009-01-08 17.44.50
    BR0484I BRBACKUP log file: /oracle/EPP/sapbackup/bdzqskqc.and
    BR0477I Oracle pfile /oracle/EPP/102_64/dbs/initEPP.ora created from spfile /oracle/EPP/102_64/dbs/spfileEPP.ora
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0301W SQL error -1031 at location BrbDbLogOpen-5, SQL statement:
    'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20090108174450', 'and', 'EPP', ' ', '99
    , ' ', 'bdzqskqc', '#    0     0     0         0                0        0                0  ALL          online
    disk             ---k-c 7.00 (24)')'
    ORA-01031: insufficient privileges
    BR0324W Insertion of database log header failed
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0319I Control file copy created: /oracle/EPP/sapbackup/cntrlEPP.dbf 7397376
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0301W SQL error -1031 at location BrDbfInfoGet-32, SQL statement:
    'DELETE FROM SAP_SDBAH WHERE BEG > '10000000000000' AND BEG < '20071205000000''
    ORA-01031: insufficient privileges
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0301W SQL error -1031 at location BrDbfInfoGet-33, SQL statement:
    'DELETE FROM SAP_SDBAD WHERE BEG > '10000000000000' AND BEG < '20071205000000''
    ORA-01031: insufficient privileges
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0301E SQL error -1031 at location BrComprDurGet-1, SQL statement:
    'OPEN curs_6 CURSOR FOR'
    'SELECT FUNCT, POS, LINE FROM SAP_SDBAD WHERE BEG = '00000000000001' AND (FUNCT = 'CMP' OR FUNCT = 'CMP' OR FUNCT = 'DC
    OR FUNCT = 'DCM') ORDER BY FUNCT'
    ORA-01031: insufficient privileges
    BR0314E Collection of information on database files failed
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0301W SQL error -1031 at location BrbDbLogOpen-5, SQL statement:
    'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20090108174450', 'and', 'EPP', ' ', '99
    , ' ', 'bdzqskqc', '7.00 (24)')'
    ORA-01031: insufficient privileges
    BR0324W Insertion of database log header failed
    BR0056I End of database backup: bdzqskqc.and 2009-01-08 17.44.50
    BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
    BR0054I BRBACKUP terminated with errors
    Please suggest/guide
    Regards,
    AMS Team

  • Brtools, PIT recovery fails after roll forward,  BR0301E SQL error -1722 at

    Running R/3 6.20/0019 with Oracle 9.2.0.8 on AIX 5.3
    Brtools to restore and recover to point in time, this rolls through 300+ archive logs, and a datafile was added to an index tablespace after the backup, but this appears to be delt with successfully when applying the logs.
    when I try to open the database through brtools I get the error:
    BR0280I BRRECOVER time stamp: 2007-03-26 11.57.22
    BR0595I Selecting indexes with NOLOGGING created during or after the selected backup bduuxcqq.anf 2007-03-14 20.00.00 ...
    BR0285I This function can take several seconds/minutes - be patient...
    BR0280I BRRECOVER time stamp: 2007-03-26 11.57.28
    BR0301E SQL error -1722 at location BrIndNologGet-8
    ORA-01722: invalid number
    BR0669I Cannot continue due to previous warnings or errors - you can go back to repeat the last action
    I can open the database from SQLPLUS, but Brtools fails.
    Thank you.

    Randy,
    This sounds like an issue with the BRTOOLs then. 1722 is a rare error where the SQL statement attempts to convert a string into a number - like a date in this instance.
    You may need to open a ticket with SAP Support and have them look at the issue, as you may need  a fix for the toolset itself.
    Sorry I could not be of more assisatance Randy.
    -Tim

  • Backup via Cron job - SQL ERROR: ORA-01031: insufficient privileges

    Hi,
    We are Using Oracle RAC - linux - SAP EP . We have scheduled online backup through crontab .
    Always we are getting below error when the backup job runs via crontab
    ================
    BR0278E Command output of '/usr/sap/EP1/SYS/exe/run/brtools -f printcmd -U /oracle/EP1/sapbackup/.begpjvay.003 'archive log list;' 'exit;' | /oracle/EP1/102_6
    4/bin/sqlplus /nolog':
    SQL*Plus: Release 10.2.0.5.0
    Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.
    SQL> ERROR:
    ORA-01031: insufficient privileges
    SQL> ORA-01012: not logged on
    SQL>
    BR0280I BRBACKUP time stamp: 2011-08-22 02.00.12
    BR0279E Return code from '/usr/sap/EP1/SYS/exe/run/brtools -f printcmd -U /oracle/EP1/sapbackup/.begpjvay.003 'archive log list;' 'exit;' | /oracle/EP1/102_64
    /bin/sqlplus /nolog': 0
    BR0302E SQLPLUS call for database instance EP12 failed
    =====================
    whereas if i trigger the same commend
    brbackup -u / -c force -t online -m all -p <init*.sap> manually it end successfully.
    Kindly can anyone help over below issue.
    Regards,
    Ayyappan

    Hi Ayyappan,
    Thanks in Advance,
    We are also having same scenario with RAC and Linux, we are trying to configure backup and getting the same error could you please guide me how u resolved the issue, please help....
    Regards,
    Sumeesh

  • BR0301E SQL error -12705 at location BrDbConnect-2

    Hi All,
       We are getting the below error while running the backup through cron. The backup runs fine when manually executed or through brtools.
       There are 2 databases on this server and we have upgraded one database(R3S) to 9.2.0.8 and the other database which is causing problem is on 9.2.0.7.
       The error log:
    BR0051I BRBACKUP 6.40 (44)
    BR0055I Start of database backup: bdycqvwn.anf 2008-06-10 11.05.01
    BR0484I BRBACKUP log file: /oracle/REH/sapbackup/bdycqvwn.anf
    BR0280I BRBACKUP time stamp: 2008-06-10 11.05.02
    BR0301E SQL error -12705 at location BrDbConnect-2
    ORA-12705: invalid or unknown NLS parameter value specified
    BR0310E Connect to database instance REH failed
    BR0280I BRBACKUP time stamp: 2008-06-10 11.05.02
    BR0301E SQL error -12705 at location BrDbConnect-2
    ORA-12705: invalid or unknown NLS parameter value specified
    BR0310E Connect to database instance REH failed
    BR0056I End of database backup: bdycqvwn.anf 2008-06-10 11.05.02
    BR0280I BRBACKUP time stamp: 2008-06-10 11.05.02
    BR0054I BRBACKUP terminated with errors
    Any help will be much appreciated.
    Regards
    Amit.

    The NLS values are
    NLS_LANGUAGE                   AMERICAN
    NLS_TERRITORY                  AMERICA
    NLS_CHARACTERSET               WE8DEC
    And env has been set to:
    HOME=/oracle/REH
    PATH=/oracle/REH/920_64/bin:.:/oracle/REH:/usr/sap/REH/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/perf/bin://opt/perl/bin:/opt/resmon/bin:/usr/sbin/diag/contrib:/opt/pred/bin:/opt/hparray/bin:/opt/graphics/common/bin:/opt/ignite/bin:/opt/networker/bin:/opt/OV/bin/OpC:/opt/OV/bin:/opt/prm/bin:/opt/ssh/bin
    LOGNAME=orareh
    SHELL=/bin/csh
    TERM=xterm
    COLUMNS=126
    LINES=45
    MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/usr/dt/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/samba/man:/opt/perf/man/%L:/opt/perf/man://opt/perl/man:/opt/resmon/share/man:/opt/pred/share/man/%L:/opt/pred/share/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/graphics/common/man:/opt/networker/man:/opt/prm/man/%L:/opt/prm/man:/opt/ssh/share/man
    TZ=EST5EDT
    SAPSYSTEMNAME=REH
    DIR_LIBRARY=/usr/sap/REH/SYS/exe/run
    SHLIB_PATH=/usr/sap/REH/SYS/exe/run:/oracle/REH/920_64/lib
    THREAD=NOPS
    dbms_type=ORA
    dbs_ora_tnsname=REH
    dbs_ora_schema=SAPREH
    ORACLE_PSRV=REH
    ORACLE_SID=REH
    DB_SID=REH
    ORACLE_HOME=/oracle/REH/920_64
    ORACLE_BASE=/oracle
    ORA_NLS33=/oracle/R3S/920_64/ocommon/nls/admin/data
    NLS_LANG=AMERICAN_AMERICA.WE8DEC
    SAPDATA_HOME=/oracle/REH
    Regards
    Amit.

  • SQL error -1017 at location db_connect-2

    I scheduled Check and update optimizer statistics job in DB13 and I get this error msg.
    BR0301E SQL error -1017 at location db_connect-2
    ORA-01017: invalid username/password; logon denied
    Connect to database instance BQ1 failed.........
    BRCONNECT returned error status E
    However, when i run the stats through BRTOOLS from the O.S. level it runs fine.
    Any help would be appreciated.
    Thanks.
    Shawn
    Message was edited by:
            shahid kizilbash

    400241 This note talks about the error which u have.
    The following three SAP Notes already mentioned describe the cause
    and solution for ORA-01017 and setting up the OPS$ mechanism.
    400241    Problems with ops$ or sapr3 connect to Oracle
    134592    Importing the SAPDBA role ( sapdba_role.sql)
    50088    Creating OPS$ users on Windows NT/Oracle
    You run the sapdba_role.sql (as mentioned in the note 134592) once you
    have created the OPS$ user.
    Thanks
    Subbu

  • SQL error -20000 at location stats_oradict_collect-4

    Hi,
    I have just upgraded BRTOOLS (6.4 to 7.10), but having following error while updating statistics for Oracle Dictionary, do you have any clue ?
    oranq2> brconnect -u / -c -f stats -t ORADICT_STATS
    BR0801I BRCONNECT 7.10 (24)
    BR0805I Start of BRCONNECT processing: cebcpkml.sta 2009-07-27 21.12.35
    BR0484I BRCONNECT log file: /oracle/NQ2/sapcheck/cebcpkml.sta
    BR0280I BRCONNECT time stamp: 2009-07-27 21.12.37
    BR0807I Name of database instance: NQ2
    BR0808I BRCONNECT action ID: cebcpkml
    BR0809I BRCONNECT function ID: sta
    BR0810I BRCONNECT function: stats
    BR0812I Database objects for processing: ORADICT_STATS
    BR1314I Oracle dictionary statistics will be collected with default options
    BR0126I Unattended mode active - no operator confirmation required
    BR0280I BRCONNECT time stamp: 2009-07-27 21.12.37
    BR1311I Starting collection of Oracle dictionary statistics...
    BR0285I This function can take several seconds/minutes - be patient...
    BR0280I BRCONNECT time stamp: 2009-07-27 21.13.04
    BR0301E SQL error -20000 at location stats_oradict_collect-4, SQL statement:
    'BEGIN DBMS_STATS.GATHER_DICTIONARY_STATS (ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE AUTO', GRANULAR                                                          ITY => 'ALL', CASCADE => TRUE, OPTIONS => 'GATHER', NO_INVALIDATE => FALSE); END;'
    ORA-20000: Insufficient privileges to analyze an object in Dictionary Schema
    ORA-06512: at "SYS.DBMS_STATS", line 13367
    ORA-06512: at "SYS.DBMS_STATS", line 13726
    ORA-06512: at "SYS.DBMS_STATS", line 16029
    ORA-06512: at "SYS.DBMS_STATS", line 16071
    ORA-06512: at line 1
    BR1313E Collection of Oracle dictionary statistics failed
    BR0806I End of BRCONNECT processing: cebcpkml.sta 2009-07-27 21.13.04
    BR0280I BRCONNECT time stamp: 2009-07-27 21.13.04
    BR0804I BRCONNECT terminated with errors

    Mamun,
    Try by executing catalog.sql. Also check below mention sap note  & thread.
    SAP Note 948197 Merge fix for DBMS_STATS package on Oracle 9.2.x and 10.2.x
    Re: Job BI_PROCESS_ODSACTIVAT terminated
    Thanks,
    Sushil

  • BR0301W SQL error -1012 at location db_file_switch-15, SQL statement:

    Dear all ,
    offline Backup finished with error .
    kindly find the below logs
    #BEGIN /oracle/IRP/sapdata3/undo_1/undo.data1
    BR0280I BRCONNECT time stamp: 2010-02-07 03.00.28
    BR0307I Shutting down database instance IRP ...
    BR0280I BRCONNECT time stamp: 2010-02-07 03.02.39
    BR0308I Shutdown of database instance IRP successful
    BR0280I BRCONNECT time stamp: 2010-02-07 03.02.39
    BR0301W SQL error -1012 at location db_file_switch-15, SQL statement:
    'SELECT NVL(BYTES, 0) FROM DBA_DATA_FILES WHERE FILE_ID = 2'
    ORA-01012: not logged on
    BR0280I BRCONNECT time stamp: 2010-02-07 03.02.39
    BKI0023I: Time: 02/07/10 03:04:09 Done: 9.766 GB (6.8 %) of 142.774 GB. Estimated end time: 02/07/10 03:58:24.
    BKI0053I: Time: 02/07/10 03:04:09 Object: 1 of 46 done: /oracle/IRP/sapdata3/undo_1/undo.data1 with: 9.766 GB saved with description IRP___A0G5CX5F1D.
    BR0280I BRCONNECT time stamp: 2010-02-07 03.04.11
    #END /oracle/IRP/sapdata3/undo_1/undo.data1
    BR0280I BRCONNECT time stamp: 2010-02-07 03.04.11
    BR0280I BRBACKUP time stamp: 2010-02-07 03.04.11
    #FILE..... /oracle/IRP/sapdata3/undo_1/undo.data1
    #SAVED.... IRP___A0G5CX5F1D
    BKI0027I: Time: 02/07/10 03:04:11 Object: 2 of 46 in process: /oracle/IRP/sapdata2/sr3700_5/sr3700.data5 Size: 4.336 GB, MGMNT-CLASS: WEEKLYMGMTCLASS, TSM-Server: PRODORADB_TDP@10
    BR0280I BRCONNECT time stamp: 2010-02-07 03.04.13
    #BEGIN /oracle/IRP/sapdata2/sr3700_5/sr3700.data5
    BR0280I BRCONNECT time stamp: 2010-02-07 03.04.13
    BR0301W SQL error -1012 at location db_file_switch-15, SQL statement:
    'SELECT NVL(BYTES, 0) FROM DBA_DATA_FILES WHERE FILE_ID = 28'
    ORA-01012: not logged on
    regards

    Hi
    Have a look at note : 1235951
    what version of the Brtools are you running ?
    Mark

Maybe you are looking for