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

Similar Messages

  • 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

  • BR error  BR0301W SQL error -980 at location BrDbfInfoGet-33  ,  ORA-00980

    Hi  <br/>
    i get this error by all kind backup and by checkdb, verify db<br/>
    <br/>
    Oracle 10.2.0.4, RHEL 4 32bit, <br/>
    Netweaver 2004s (7)<br/>
    <br/>
    I have one Oracle NW7  for Netweaver PI (NW7) and Portal  (EP7)<br/>
    <br/>
    <br/>
    <br/>
    BR0051I BRBACKUP 7.00 (18)<br/>
    BR0055I Start of database backup: bedxcwak.afd 2010-08-15 12.21.54<br/>
    BR0477I Oracle pfile /oracle/NW7/102_32/dbs/initNW7.ora created from spfile /oracle/NW7/102_32/dbs/spfileNW7.ora<br/>
    <br/>
    BR0925I Public synonym SAP_SDBAH created successfully for table SAPSR9DB.SDBAH<br/>
    BR0925I Public synonym SAP_SDBAD created successfully for table SAPSR9DB.SDBAD<br/>
    BR0925I Public synonym SAP_MLICHECK created successfully for table SAPSR9DB.MLICHECK<br/>
    BR0925I Public synonym SAP_SAPLIKEY created successfully for table SAPSR9DB.SAPLIKEY<br/>
    BR0280I BRBACKUP time stamp: 2010-08-15 12.21.55<br/>
    BR0301W SQL error -980 at location BrbDbLogOpen-5, SQL statement:<br/>
    'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20100815122154', 'afd', 'NW7', ' ', '9999', ' ', 'bedxcwak', ' ')'<br/>
    ORA-00980: synonym translation is no longer valid<br/>
    BR0324W Insertion of database log header failed<br/>
    BR0280I BRBACKUP time stamp: 2010-08-15 12.21.56<br/>
    BR0301W SQL error -980 at location BrDbfInfoGet-32, SQL statement:<br/>
    'DELETE FROM SAP_SDBAH WHERE BEG > '10000000000000' AND BEG < '20090711000000''<br/>
    ORA-00980: synonym translation is no longer valid<br/>
    BR0280I BRBACKUP time stamp: 2010-08-15 12.21.56<br/>
    BR0301W SQL error -980 at location BrDbfInfoGet-33, SQL statement:<br/>
    'DELETE FROM SAP_SDBAD WHERE BEG > '10000000000000' AND BEG < '20090711000000''<br/>
    ORA-00980: synonym translation is no longer valid<br/>
    BR0280I BRBACKUP time stamp: 2010-08-15 12.21.56<br/>
    BR0301E SQL error -980 at location BrComprDurGet-1, SQL statement:<br/>
    'OPEN curs_6 CURSOR FOR'<br/>
    'SELECT FUNCT, POS, LINE FROM SAP_SDBAD WHERE BEG = '00000000000001' AND (FUNCT = 'CMP' OR FUNCT = 'CMP' OR FUNCT = 'DUS' OR FUNCT = 'DUM') ORDER BY FUNCT'<br/>
    ORA-00980: synonym translation is no longer valid<br/>
    BR0314E Collection of information on database files failed<br/>
    BR0280I BRBACKUP time stamp: 2010-08-15 12.21.56<br/>
    BR0301W SQL error -980 at location BrbDbLogOpen-5, SQL statement:<br/>
    'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20100815122154', 'afd', 'NW7', ' ', '9999', ' ', 'bedxcwak', ' ')'
    ORA-00980: synonym translation is no longer valid<br/>
    BR0324W Insertion of database log header failed<br/>
    <br/>
    BR0056I End of database backup: bedxcwak.afd 2010-08-15 12.21.56<br/>
    BR0280I BRBACKUP time stamp: 2010-08-15 12.21.56<br/>
    BR0054I BRBACKUP terminated with errors<br/>
    <br/>
    ###############################################################################<br/>
    <br/>
    <br/>
    Please help<br/>
    <br/>
    BR <br/>
    Dawid<br/>

    after aply this Snote i get this by trying backup my DB <b/>
    Job log
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000029, user ID GLOMBDAW)
    Execute logical command BRBACKUP On host nw2004s
    Parameters:-u / -jid ALL__20100815175009 -c force -t online -m all -p initNW7.sap
    BR0051I BRBACKUP 7.00 (18)
    BR0055I Start of database backup: bedxdzeb.and 2010-08-15 17.50.13
    BR0280I BRBACKUP time stamp: 2010-08-15 17.50.13
    BR0301E SQL error -942 at location BrDbConnect-4,SQL statement:
    'SELECT NAME, NVL(RESETLOGS_CHANGE#, 0), NVL(TO_NUMBER(TO_CHAR(RESETLOGS_TIME, 'YYYYMMDDHH24MISS')), 0), NVL(TO_NUMBER(TO_CHAR(C
    ORA-00942: table or view does not exist
    BR0310E Connect to database instance NW7 failed
    BR0280I BRBACKUP time stamp: 2010-08-15 17.50.13
    BR0301E SQL error -942 at location BrDbConnect-4,SQL statement:
    'SELECT NAME, NVL(RESETLOGS_CHANGE#, 0), NVL(TO_NUMBER(TO_CHAR(RESETLOGS_TIME, 'YYYYMMDDHH24MISS')), 0), NVL(TO_NUMBER(TO_CHAR(C
    ORA-00942: table or view does not exist
    BR0310E Connect to database instance NW7 failed
    BR0056I End of database backup: bedxdzeb.and 2010-08-15 17.50.13
    BR0280I BRBACKUP time stamp: 2010-08-15 17.50.13
    BR0054I BRBACKUP terminated with errors
    External program terminated with exit code 3
    BRBACKUP returned error status E
    Job finished

  • 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

  • BR0301E SQL error -942 at location db_connect-4

    Hi All
    We are getting the next error when we try to execute the BRCONNECT tools:
    Job started                                                                             
    Step 001 started (program RSDBAJOB, variant &0000000000294, user ID IU3269)             
    Execute logical command BRCONNECT On host qassap                                        
    Parameters: -u / -c -f stats -t ALL                                                     
    BR0801I BRCONNECT 6.40 (32)                                                             
    BR0805I Start of BRCONNECT processing: cdwnmcsr.sta 2007-11-05 13.30.37                 
    BR0280I BRCONNECT time stamp: 2007-11-05 13.30.38                                       
    BR0301E SQL error -942 at location db_connect-4                                         
    ORA-00942: table or view does not exist                                                 
    BR0310E Connect to database instance QUA failed                                         
    BR0280I BRCONNECT time stamp: 2007-11-05 13.30.38                                       
    BR0301W SQL error -942 at location brc_dblog_open-1                                     
    ORA-00942: table or view does not exist                                                 
    BR0324W Insertion of database log header failed                                         
    BR0806I End of BRCONNECT processing: cdwnmcsr.sta2007-11-05 13.30.38                    
    BR0280I BRCONNECT time stamp: 2007-11-05 13.30.38                                       
    BR0804I BRCONNECT terminated with errors                                                
    External program terminated with exit code 3                                            
    BRCONNECT returned error status E                                                       
    Job finished                                                                               
    Best Regards
    Reynaldo Rebolledo.

    Hi Juan
    The actual error that we have is the next:
    Job started                                                                               
    Step 001 started (program RSDBAJOB, variant &0000000000297, user ID IU3269)                            
    Execute logical command BRCONNECT On host qassap                                                       
    Parameters: -u / -c -f stats -t ALL                                                                    
    BR0801I BRCONNECT 6.40 (32)                                                                            
    BR0252E Function fopen() failed for '/oracle/QUA/920_64/dbs/initQUA.sap' at location BrInitSapRead-1   
    BR0253E errno 2: No such file or directory                                                             
    BR0159E Error reading BR*Tools profile /oracle/QUA/920_64/dbs/initQUA.sap                              
    BR0280I BRCONNECT time stamp: 2007-11-06 18.14.36                                                      
    BR0301E SQL error -942 at location db_connect-4                                                        
    ORA-00942: table or view does not exist                                                                
    BR0310E Connect to database instance QUA failed                                                        
    BR0806I End of BRCONNECT processing: cdwnrzsy.log2007-11-06 18.14.32                                   
    BR0280I BRCONNECT time stamp: 2007-11-06 18.14.36                                                      
    BR0804I BRCONNECT terminated with errors                                                               
    External program terminated with exit code 3                                                           
    BRCONNECT returned error status E                                                                      
    Job finished                                                                               
    The last week we made a refresh of PROD to QUA, the error is when try to run the stadistics on QUA, then we get the error and we found the initPDC.sap and we rename inside of the file and the file from PDC to QUA and then we get the error that we send in the first message. Today we deleted the file initQUA.sap and get this error. Can you help us.
    Best Regards
    Reynaldo Rebolledo

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

    Hi,
    I want to management and monitoring to a oracle remote database (JAVA database). I´ve made the connection from dbacockpit and I´ve put the user of schema sapsr3db and the connection it´s succesfully established
    -- MESSAGE Database connection Java_db established successfully
    But I want to schedule the administrative actions for DB, via DB13 I´ve always the next message error:
    Parameters:-u / -jid LOG__20110501373222 -sid D10 -c force -p initepd.sap -sd
    BR0002I BRARCHIVE 7.00 (52)
    BR0252E Function fopen() failed for 'F:oracleorasap102databaseinitepd.sap' at location BrInitSapRead-1
    BR0253E errno 13: Permission denied
    BR0159E Error reading BR*Tools profile F:oracleorasap102databaseinitepd.sap
    BR0280I BRARCHIVE time stamp: 2011-05-01
    BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310W Connect to database instance D10 failed
    BR0007I End of offline redo log processing: aefuiaiw.log 2011-05-01
    BR0280I BRARCHIVE time stamp: 2011-05-01
    BR0005I BRARCHIVE terminated with errors
    External program terminated with exit code 3
    BRARCHIVE returned error status E
    I´ve found several notes with this error 480266 , 400241, 113747, 651351 but I´m not sure that It´s the same error.
    More thanks.

    <owner> | (<owner_list>)
    default: all SAP owners
    next_owner = sapr3
    database objects to adapt next extents
    all | all_ind | special | [<owner>.]<table> | [<owner>.]<index>
    | [<owner>.][<prefix>]*[<suffix>] | <tablespace> | (<object_list>)
    default: all abjects of selected owners, example:
    next_table = (SDBAH, SAPR3.SDBAD)
    database objects to be excluded from adapting next extents
    all_part | [<owner>.]<table> | [<owner>.]<index>
    | [<owner>.][<prefix>]*[<suffix>] | <tablespace> | (<object_list>)
    default: no exclusion, example:
    next_exclude = (SDBAH, SAPR3.SDBAD)
    database objects to get special next extent size
    all_sel:<size>[/<limit>] | [<owner>.]<table>:<size>[/<limit>]
    | [<owner>.]<index>:<size>[/<limit>]
    | [<owner>.][<prefix>]*[<suffix>]:<size>[/<limit>]
    | (<object_size_list>)
    default: according to table category, example:
    next_special = (SDBAH:100K, SAPR3.SDBAD:1M/200)
    maximum next extent size
    default: 2 GB - 5 * <database_block_size>
    next_max_size = 1G
    maximum number of next extents
    default: 0 - unlimited
    next_limit_count = 300
    database owner of objects to update statistics
    <owner> | (<owner_list>)
    default: all SAP owners
    stats_owner = sapr3
    database objects to update statistics
    all | all_ind | all_part | missing | info_cubes | dbstatc_tab
    | dbstatc_mon | dbstatc_mona | [<owner>.]<table> | [<owner>.]<index>
    | [<owner>.][<prefix>]*[<suffix>] | <tablespace> | (<object_list>)
    | harmful | locked | system_stats | oradict_stats | oradict_tab
    default: all abjects of selected owners, example:
    stats_table = (SDBAH, SAPR3.SDBAD)
    database objects to be excluded from updating statistics
    all_part | info_cubes | [<owner>.]<table> | [<owner>.]<index>
    | [<owner>.][<prefix>]*[<suffix>] | <tablespace> | (<object_list>)
    default: no exclusion, example:
    stats_exclude = (SDBAH, SAPR3.SDBAD)
    method for updating statistics for tables not in DBSTATC
    E | EH | EI | EX | C | CH | CI | CX | A | AH | AI | AX | E= | C= | =H
    | =I | =X | +H | +I
    default: according to internal rules
    stats_method = E
    sample size for updating statistics for tables not in DBSTATC
    P<percentage_of_rows> | R<thousands_of_rows>
    default: according to internal rules
    stats_sample_size = P10
    number of buckets for updating statistics with histograms
    default: 75
    stats_bucket_count = 75
    threshold for collecting statistics after checking
    <threshold> | (<threshold> [, all_part:<threshold>
    | info_cubes:<threshold> | [<owner>.]<table>:<threshold>
    | [<owner>.][<prefix>]*[<suffix>]:<threshold>
    | <tablespace>:<threshold> | <object_list>])
    default: 50%
    stats_change_threshold = 50
    number of parallel threads for updating statistics
    default: 1
    stats_parallel_degree = 1
    processing time limit in minutes for updating statistics
    default: 0 - no limit
    stats_limit_time = 0
    parameters for calling DBMS_STATS supplied package
    all:R|B[<buckets>|A|S|R]:0|<degree>A|D
    | all_part:R|B[<buckets>|A|S|R]:0|<degree>A|D
    | info_cubes:R|B:A|D|0|<degree>
    | [<owner>.]<table>:R|B[<buckets>|A|S|R]:0|<degree>A|D
    | [<owner>.][<prefix>]*[<suffix>]:R|B[<buckets>|A|S|R]:0|<degree>A|D
    | (<object_list>) | NO
    R|B[<buckets>|A|S|R]:
    'R' - row sampling, 'B' - block sampling,
    <buckets> - histogram buckets count, 'A' - auto buckets count,
    'S' - skew only, 'R' - repeat
    <degree>A|D:
    <degree> - dbms_stats parallel degree, '0' - table degree,
    'A' - auto degree, 'D' - default degree
    default: ALL:R:0
    stats_dbms_stats = ([ALL:R:1,][<owner>.]<table>:R:<degree>,...)
    definition of info cube tables
    default | rsnspace_tab | [<owner>.]<table>
    | [<owner>.][<prefix>]*[<suffix>] | (<object_list>) | null
    default: rsnspace_tab
    stats_info_cubes = (/BIC/D, /BI0/D, ...)
    special statistics settings
    (<table>:[<owner>]:<active>:[<method>]:[<sample>], ...)
    stats_special = (<special_list>)
    recovery type [complete | dbpit | tspit | reset | restore | apply
    | disaster]
    default: complete
    recov_type = complete
    directory for brrecover file copies
    default: $SAPDATA_HOME/sapbackup
    recov_copy_dir = E:\oracle\D10\sapbackup
    time period for searching for backups
    0 - all available backups, >0 - backups from n last days
    default: 30
    recov_interval = 30
    degree of paralelism for applying archive log files
    0 - use Oracle default parallelism, 1 - serial, >1 - parallel
    default: Oracle default
    recov_degree = 0
    number of lines for scrolling in list menus
    0 - no scrolling, >0 - scroll n lines
    default: 20
    scroll_lines = 20
    time period for displaying profiles and logs
    0 - all available logs, >0 - logs from n last days
    default: 30
    show_period = 30
    directory for brspace file copies
    default: $SAPDATA_HOME/sapreorg
    space_copy_dir = E:\oracle\D10\sapreorg
    directory for table export dump files
    default: $SAPDATA_HOME/sapreorg
    exp_dump_dir = E:\oracle\D10\sapreorg
    database tables for reorganization
    [<owner>.]<table> | [<owner>.][<prefix>]*[<suffix>]
    | [<owner>.][<prefix>]%[<suffix>] | (<table_list>)
    no default
    reorg_table = (SDBAH, SAPR3.SDBAD)
    database indexes for rebuild
    [<owner>.]<index> | [<owner>.][<prefix>]*[<suffix>]
    | [<owner>.][<prefix>]%[<suffix>] | (<index_list>)
    no default
    rebuild_index = (SDBAH0, SAPR3.SDBAD0)
    database tables for export
    [<owner>.]<table> | [<owner>.][<prefix>]*[<suffix>]
    | [<owner>.][<prefix>]%[<suffix>] | (<table_list>)
    no default
    exp_table = (SDBAH, SAPR3.SDBAD)
    database tables for import
    <table> | (<table_list>)
    no default
    do not specify table owner in the list - use -o|-owner option for this
    imp_table = (SDBAH, SDBAD)

  • SQL error -1017 at location BrDbConnect-2, SQL statement:

    Hi,
      I get follwoing error while trying brarchiev.
      How do i fix this ?
    brarchive
    BR0002I BRARCHIVE 7.00 (18)
    BR0252E Function fopen() failed for '/oracle/XID/saparch/adyveabv.sve' at location main-5
    BR0253E errno 13: Permission denied
    BR0121E Processing of log file /oracle/XID/saparch/adyveabv.sve failed
    BR0280I BRARCHIVE time stamp: 2008-09-16 20.13.19
    BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT system/*******'
    ORA-01017: invalid username/password; logon denied
    BR0310W Connect to database instance XID failed
    BR0007I End of offline redo log processing: adyveabv.sve 2008-09-16 20.13.19
    BR0280I BRARCHIVE time stamp: 2008-09-16 20.13.19
    BR0005I BRARCHIVE terminated with errors
    3
    Thansk,
    Suman

    Hi,
    I think you did not specify any user on the command line, then BRCONNECT will use the default "SYSTEM/MANAGER"
    As you change the default, BR* fails.
    1) It is totally NOT recommended to use BR* from the command line, it is prefered to be used from the DB13 scheduling tool.
    2) you have to indicate to the BR* tool the user that has to be "used" to connect to the database. This is done with the parameter:
    -u <user>/<password>
    3) I recommend you to create the ops$<sid>adm user ( see note 361641 and 50088 ) and, if you do not use DB13, call the tool with thecommand
            brarchive -u / -s -p initBWP.sap.ssl2020.dd -c
    Please make sure that you have configured the OPS$ user correctly as per following notes:-
    400241    Problems with ops$ or sapr3 connect to Oracle
    50088    Creating OPS$ users on Windows NT/Oracle
    134592    Importing the SAPDBA role ( sapdba_role.sql)
    If the config of the OPS$ user is done correctly and follow the notes above,the issue will be resolved.
    Thanks & Regards,
    Pradeep Srigiri

  • BRCONNECT fails with SQL error -942 at location ora_vers_get-1

    BR0801I BRCONNECT 6.40 (34)
    BR0280I BRCONNECT time stamp: 
    BR0301E SQL error -942 at location ora_vers_get-1
    ORA-00942: table or view does not exist
    BR0303E Determination of RDBMS version failed
    BR0280I BRCONNECT time stamp: 
    BR0301W SQL error -942 at location brc_dblog_open-1
    ORA-00942: table or view does not exist
    BR0324W Insertion of database log header failed
    BR0806I End of BRCONNECT processing: cdvvpgqj.log2007-
    BR0280I BRCONNECT time stamp: 
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    The same command if I am executing from CMD line, it runs fine, but only through DB13 it gives me the problem. I have just applied the note : 400421.

    Hi Deepak,
    Thanks for the reply. Actually that note is of no use to me becuase I have mess up with note no. 400241.
    If I run the command of brconnect -u/ -c -f stats -t ALL, it run successfully. Only through DB13 it is having problem,
    I think I am confused with the owner of SAPUSER and T000 in the query of note 400241.
    select owner from dba_Tables where table_name='T000'
    returns SAPDEV
    select owner from dba_Tables where table_name='SAPUSER'
    returns OPS$SANDBOX\SNXADM( done a system refresh)
    SELECT OWNER, TABLE_OWNER, TABLE_NAME FROM DBA_SYNONYMS
    WHERE SYNONYM_NAME = 'SAPUSER';
    return
    OPS$SANDBOX\SAPSERVICESNX      OPS$SANDBOX\SNXADM        SAPDEV
    synonyms also okay
    OPS$SANDBOX\SAPSERVICESNX     sap
    I doubt if there is any problem with OPS$ mechanism autho.... But I have alreay given select, update, resource to OPS$SANDBOX\SAPSERVICESNX    
    Any idea what might be the problem?

  • ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified:

    "ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
    I use the procedure to convert the documents if it is not already converted before using procedure as follows
    PROCEDURE "STARDOC"."HTMLOUTPUT" (
    "DOCID" IN NUMBER) IS
    mklob clob;
    doccount number;
    errorcode number;
    errormessage varchar2(200);
    BEGIN -- executable part starts here
    SELECT COUNT(document_id) INTO doccount FROM docviewhtml where document_id=docid;
    --dbms_output.put_line(doccount);
    if doccount=0 then
         dbms_output.put_line('Document Not Found: Converting '||docid);
         --If document is not found run document coversion routine
         ctx_doc.filter('idxdocuments',docid, mklob,FALSE);
         INSERT INTO docviewhtml(document_id, html) VALUES (docid, mklob);
         COMMIT;
    elsif doccount=1 then
         --return;
         dbms_output.put_line('Document Found');
         --if document id found then return the document content
         null;
    else
         --dbms_output.put_line('Error occured');
         --need to deal with duplicate documents
         null;
    end if;
    dbms_lob.freetemporary(mklob);
    EXCEPTION
    --rollback when an exception occurs
         WHEN OTHERS THEN
              errorcode:=SQLCODE;
              errormessage:=SQLERRM;     
              dbms_output.put_line(sqlcode || ':' ||sqlerrm);
              ROLLBACK;
              LOGERROR(errorcode,errormessage);
    END "HTMLOUTPUT";
    i get the error when i convert large documents
    "ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
    what is wrong. please help!

    "ORA-06502: PL/SQL: numeric or value error: invalid
    LOB locator specified: ORA-22275"
    PROCEDURE "STARDOC"."HTMLOUTPUT" (
    "DOCID" IN NUMBER) IS
    mklob clob;
         ctx_doc.filter('idxdocuments',docid, mklob,FALSE);
    INSERT INTO docviewhtml(document_id, html) VALUES (docid, mklob);I think You forget to initialize variable mklob.
    You can do it, assigning the empty_clob().

  • Update statistic error "BR0301E SQL error -904 at location ..."

    How do I fix this error in when running update statistics in DB13?
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    BR0886E Checking/collecting statistics failed for index SAPEWD./BIC/DZEW_C0055~01
    BR0280I BRCONNECT thread 2: time stamp: 2007-08-10 07.24.29
    BR0850I 6 of 87 objects processed - 0.051 of 0.745 units done
    BR0204I Percentage done: 6.90%, estimated end time: 7:24
    BR0001I ***_______________________________________________
    BR0280I BRCONNECT thread 2: time stamp: 2007-08-10 07.24.29
    BR0301E SQL error -904 at location stats_ind_collect-2
    ORA-00904: : invalid identifier
    ORA-06512: at "SYS.DBMS_STATS", line 8426
    ORA-06512: at "SYS.DBMS_STATS", line 8446
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for index SAPEWD./BIC/DZEW_C0056~0
    BR0280I BRCONNECT thread 2: time stamp: 2007-08-10 07.24.29
    BR0301E SQL error -904 at location stats_ind_collect-2
    ORA-00904: : invalid identifier
    ORA-06512: at "SYS.DBMS_STATS", line 8426
    ORA-06512: at "SYS.DBMS_STATS", line 8446
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for index SAPEWD./BIC/DZEW_C0056~01
    BR0280I BRCONNECT thread 2: time stamp: 2007-08-10 07.24.29
    BR0301E SQL error -904 at location stats_ind_collect-2
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Hi,
    with 9.2.0.7 there is a bug with dbms_stats you should then apply the note
    Note 898244 - ORA-904 with the DBMS_STATS package
    you have to install the patch 4627335 or patchset 9.2.0.8 and run @?/rdbms/admin/prvtstat.plb afterwhile
    Thanks

  • 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 -1587 at location BrCtlCopy-1, SQL statement:

    Hello Guru's
    My backup is getting failed...... and the error description as follows,
    BR0051I BRBACKUP 7.00 (32)
    BR0189W Expiration period equal 0 - backup volumes could be immediately overwritten
    BR0055I Start of database backup: behpdcsz.ant 2012-01-05 11.09.09
    BR0484I BRBACKUP log file: /oracle/SID/sapbackup/behpdcsz.ant
    BR0477I Oracle pfile /oracle/SID/102_64/dbs/initSID.ora created from spfile /oracle/SID/102_64/dbs/spfileSID.ora
    BR0280I BRBACKUP time stamp: 2012-01-05 11.09.10
    BR0301E SQL error -1587 at location BrCtlCopy-1, SQL statement:
    '/* BRBACKUP */ ALTER DATABASE BACKUP CONTROLFILE TO '/oracle/SID/sapbackup/cntrlSID.dbf''
    ORA-01587: error during control file backup file copy
    ORA-27091: unable to queue I/O
    ORA-27072: File I/O error
    IBM AIX RISC System/6000 Error: 25: Not a typewriter
    Additional information: 7
    Additional information: 899
    Additional information: 819200
    BR0320E Copying of control file to /oracle/SID/sapbackup/cntrlSID.dbf failed
    BR0314E Collection of information on database files failed
    BR0056I End of database backup: behpdcsz.ant 2012-01-05 11.09.10
    BR0280I BRBACKUP time stamp: 2012-01-05 11.09.10
    BR0054I BRBACKUP terminated with errors
    Please helpme,
    Thanks in Advance.
    lakshmi P.

    Hello Friends,
    Solved.....
    Reason is there is no sufficient space for /oracle/SID/sapbackup
    Lakshmi P

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

  • BR0301E SQL error -1017 at location BrDbConnect-2

    Hi,
    When we run brbackup as user brtadm and orabrt we get the error:
    BR0051I BRBACKUP 7.00 (11)
    BR0055I Start of database backup: bdujhhla.qub 2007-01-12 17.28.02
    BR0280I BRBACKUP time stamp: 2007-01-12 17.28.02
    BR0301E SQL error -1017 at location BrDbConnect-2
    ORA-01017: invalid username/password; logon denied
    BR0310E Connect to database instance BRT failed
    BR0280I BRBACKUP time stamp: 2007-01-12 17.28.03
    BR0301E SQL error -1017 at location BrDbConnect-2
    ORA-01017: invalid username/password; logon denied
    BR0310E Connect to database instance BRT failed
    We try to create ops$orabrt user according to oss note 776505. But we get the error message:
    create user ops$orabrt identified externally temporary tablespace psaptemp;
    ERROR at line 1:
    ORA-01920: user name 'OPS$ORABRT' conflicts with another user or role name
    How can we solve this problem?
    Best Regards...

    Hi,
    You are getting the error: ORA-01920: user name 'OPS$ORABRT' conflicts with another user or role name
    because you already have that user, to check if the OPS$ user is present run this query:
    SELECT * from dba_users;
    you should be able to find the OPS$ user, its also possible that due to some configuration issue while installing oracle, the OPS$ user doesn't have the 'Externally' attribute to it.
    You can grant the required attributes using 'ALTER USER'
    Note 620540 - Authentication Troubleshooting Guide
    The above mentioned SAP Note clearly describes the issue you are facing.
    Regards,
    Siddhesh

Maybe you are looking for