BR0301E SQL error -27140 at location db_connect-2, SQL statement: DB13

Hello All,
We have ECC 6 with
Database Oracle: 10.2.0.2.0
OS: HP-UX
We are facing problem while running Check and Update Optimizer Statistics in DB13. The Job Log says
Job started
Step 001 started (program RSDBAJOB, variant &0000000000003, user ID LARJHD01)
Execute logical command BRCONNECT On host madsappr
Parameters: -u / -jid STATS20090519130903 -c -f stats -t ALL
SXPG_COMMAND_EXECUTE(LONG)
COMMANDNAME = BRCONNECT
OPERATINGSYSTEM = ANYOS
TARGETSYSTEM = madsappr
DESTINATION =
BR0801I BRCONNECT 7.00 (24)
BR0805I Start of BRCONNECT processing: ceapnjyf.sta 2009-05-19 13.09.05
BR0484I BRCONNECT log file: /oracle/PRD/sapcheck/ceapnjyf.sta
BR0280I BRCONNECT time stamp: 2009-05-19 13.09.07
BR0301E SQL error -27140 at location db_connect-2, SQL statement:
'CONNECT /'
ORA-27140: attach to post/wait facility failed
BR0310E Connect to database instance PRD failed
BR0280I BRCONNECT time stamp: 2009-05-19 13.09.07
BR0301E SQL error -27140 at location db_connect-2, SQL statement:
'CONNECT /'
ORA-27140: attach to post/wait facility failed
BR0310E Connect to database instance PRD failed
BR0806I End of BRCONNECT processing: ceapnjyf.sta2009-05-19 13.09.07
BR0280I BRCONNECT time stamp: 2009-05-19 13.09.07
BR0804I BRCONNECT terminated with errors
External program terminated with exit code 3
BRCONNECT returned error status E
Job finished
Please throw some light on this error.
=Alex Daniel=

Hi,
Please check below links.
DB13 Jobs are Failing and Brconnect does not work
Re: Error in CHECKDB
http://ora-exp.blogspot.com/2006/12/solution-of-ora-27140-attach-to.html
Thanks,
Sushil

Similar Messages

  • BR0301E SQL error -1017 at location db_connect-2 during DB13

    While executing the check database through DB13 following error is showing by this t-code
    08.12.2009     08:00:30     Job started
    08.12.2009     08:00:30     Step 001 started (program RSDBAJOB, variant &0000000000178, user ID 11001481)
    08.12.2009     08:00:31     Execute logical command BRCONNECT On host eccect
    08.12.2009     08:00:31     Parameters: -u / -jid CHECK20091013080000 -c -f check
    08.12.2009     08:00:31     SXPG_COMMAND_EXECUTE(LONG)
    08.12.2009     08:00:31     COMMANDNAME = BRCONNECT
    08.12.2009     08:00:31     OPERATINGSYSTEM = ANYOS
    08.12.2009     08:00:31     TARGETSYSTEM = eccect
    08.12.2009     08:00:31     DESTINATION =
    08.12.2009     08:00:31     BR0801I BRCONNECT 7.00 (33)
    08.12.2009     08:00:31     BR0805I Start of BRCONNECT processing: cecbuhnj.chk 2009-12-08 08.00.31
    08.12.2009     08:00:31     BR0484I BRCONNECT log file: /oracle/ECT/sapcheck/cecbuhnj.chk
    08.12.2009     08:00:31     BR0280I BRCONNECT time stamp: 2009-12-08 08.00.31
    08.12.2009     08:00:31     BR0301E SQL error -1017 at location db_connect-2,SQL statement:
    08.12.2009     08:00:31     'CONNECT /'
    08.12.2009     08:00:31     ORA-01017: invalid username/password; logon denied
    08.12.2009     08:00:31     BR0310E Connect to database instance ECT failed
    08.12.2009     08:00:31     BR0280I BRCONNECT time stamp: 2009-12-08 08.00.31
    08.12.2009     08:00:31     BR0301E SQL error -1017 at location db_connect-2,SQL statement:
    08.12.2009     08:00:31     'CONNECT /'
    08.12.2009     08:00:31     ORA-01017: invalid username/password; logon denied
    08.12.2009     08:00:31     BR0310E Connect to database instance ECT failed
    08.12.2009     08:00:31     
    08.12.2009     08:00:31     BR0806I End of BRCONNECT processing: cecbuhnj.chk2009-12-08 08.00.31
    08.12.2009     08:00:31     BR0280I BRCONNECT time stamp: 2009-12-08 08.00.31
    08.12.2009     08:00:31     BR0804I BRCONNECT terminated with errors
    08.12.2009     08:00:31     External program terminated with exit code 3
    08.12.2009     08:00:31     BRCONNECT returned error status E
    08.12.2009     08:00:32     Job finished
    This ECT client i have made through system copy while restoring the backup of Production server on this client afterward make a new client 500 (production client ) to new client 590. every thing is working fine. but while executing DB13 commands as well as backup through BR tools this error comes.
    Could somebody resolve this error , i will be very thankful
    Ravi kant Arya

    Friends
    a smal corretion here
    its not  OPS$ORA<SID>
    but OPS$<SID>ADM User to be created.
    I faced the same issue.
    resolved by following the note '
    SAP Note 400241 - Problems with ops$ or sapr3 connect to Oracle
    o Check whether creating the OPS$ mechanism in accordance with to
    Note 50088 (WINDOWS) or Note 361641 (UNIX) solves the problem.
    o The table SAPUSER must occur in the system only once and it must be
    assigned to the user OPS$<sid>ADM. Use the following query to check
    this:
    SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'SAPUSER';
    If the system returns an owner <owner> other than OPS$<sid>ADM, you
    must delete the relevant SAPUSER tables:
    DROP TABLE "<owner>".SAPUSER;
    If the system does not return OPS$<sid>ADM, you must create the
    table SAPUSER as <sid>adm and enter the password:
    CREATE TABLE "OPS$<sid>ADM".SAPUSER
    (USERID VARCHAR2(256), PASSWD VARCHAR2(256));
    INSERT INTO "OPS$<sid>ADM".SAPUSER VALUES ('<sapowner>',
    '<password>');

  • 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 -12705 at location db_connect-2

    Im getting below error when trying to initiate backup with DB13.
    BR0801I BRCONNECT 6.40 (26)
    BR0805I Start of BRCONNECT processing: cduyqhtg.chk 2007-07-30 15.32.00
    BR0280I BRCONNECT time stamp: 2007-07-30 15.32.00
    BR0301E SQL error -12705 at location db_connect-2
    ORA-12705: invalid or unknown NLS parameter value specified
    BR0310E Connect to database instance BRP failed
    BR0280I BRCONNECT time stamp: 2007-07-30 15.32.00
    BR0301E SQL error -12705 at location db_connect-2
    ORA-12705: invalid or unknown NLS parameter value specified
    BR0310E Connect to database instance BRP failed
    The NLS_LANG variable is set as NLS_LANG=AMERICAN_AMERICA.UTF8 with HP-UX .
    I have verified the environment (nota 602843).  The version Oracle is 9.2.0.6 and brconnect is 6.40 (15).
    This problem occurs since we changed the hardware.  Before, this system SAP shared with other 2 systems SAP, now the system that has east problem this in a new hardware

    Is the new hardware IA64 or PA-RISC?
    I suggest upgrading to the latest BR*TOOLS (patchlevel 44).
    Markus

  • 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

  • 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

  • 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

  • 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

  • R0301E SQL error -9218 at location BrInitOraCreate-5, SQL statement

    Hello,
    Could you help me please, I have this issue with the backup online.
    R0484I BRBACKUP log file: E:\oracle\<SID>\sapbackup\behaduyb.anf                                                                               
    R0280I BRBACKUP time stamp: 2011-10-18 03.00.11                                                                               
    R0301E SQL error -9218 at location BrInitOraCreate-5, SQL statement:                                                                         
    /* BRBACKUP AT PROF_CONN */ CREATE PFILE = 'E:\oracle\<SID>\112\database\sap<SID>.ora' FROM SPFILE = 'E:\oracle\<SID>\112\database\spfile<SID>.ora'' 
    RA-09218: sfrfs: failed to refresh file size                                                                               
    SD-04028: unable to write line to file                                                                               
    R0303E Determination of Oracle version failed                                                                               
    R0056I End of database backup: behaduyb.anf 2011-10-18 03.00.11                                                                               
    R0280I BRBACKUP time stamp: 2011-10-18 03.00.11                                                           
    Thanks a lot in advance.

    the problem is resolved
    the E: was full
    thxxx

  • BRconnect with error -1017 at location db_connect-2 when CE7.1Installtion

    Hi guys,
    I am experiencing some problems when I install the NW CE7.1 with SID CE1 on Windows server with oracle. Note,At this server , the PI7.1 have been installed with SID PI1, now I want to install the CE7.1 on that with MCOD,  the oracle db instance name is PID.When install the CE7.1,On the phase execute, it shows
    An error occurred while processing service SAP NetWeaver CE Productive Edition > Installation Options > Standard System > Standard System( Last error reported by the step :Process call 'E:\usr\sap\CE1\SYS\exe\uc\NTAMD64\brconnect.exe -u / -c -o summary -f stats -o SAPSR4DB -t all -p 2 -f nocasc' exits with error code 3. For details see log file(s) brconnect.log.). You may now
    u2022     choose Retry to repeat the current step.
    u2022     choose View Log to get more information about the error.
    u2022     stop the task and continue with it later.
    Log files are written to C:\Program Files/sapinst_instdir/CE71_PROD_ORA/INSTALL/ORA/STD/AS.
    The detailed log is below,
    BR0801I BRCONNECT 7.10 (3)
    BR0805I Start of BRCONNECT processing: cdyrdcop.sta 2008-08-26 00.03.23
    BR0252E Function fopen() failed for 'F:\oracle\PID\sapcheck\cdyrdcop.sta' at location main-11
    BR0253E errno 2: No such file or directory
    BR0121E Processing of log file F:\oracle\PID\sapcheck\cdyrdcop.sta failed
    BR0280I BRCONNECT time stamp: 2008-08-26 00.03.25
    BR0301E SQL error -1017 at location db_connect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310E Connect to database instance PID failed
    BR0806I End of BRCONNECT processing: cdyrdcop.sta 2008-08-26 00.03.24
    BR0280I BRCONNECT time stamp: 2008-08-26 00.03.25
    BR0804I BRCONNECT terminated with errors
    How to resolve this issue? Thanks in advance
    Roger

    Ashok,
    the log is below,
    4 ETW000 r3trans version 6.18 (release 710 - 28.07.08 - 15:52:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 26.08.2008 - 03:00:17
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: r3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Tue Aug 26 03:00:19 2008                               0  0.000000
    4 ETW000  [dev trc     ,00000]  db_con_init called                                     0  0.000000
    4 ETW000  [dev trc     ,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3
    4 ETW000                                                                               0  0.000000
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                              0  0.000000
    4 ETW000  [dev trc     ,00000]  Loading DB library 'dboraslib.dll' ...                 0  0.000000
    4 ETW000  [dev trc     ,00000]  load shared library (dboraslib.dll), hdl 0, addr 0000000187240000
    4 ETW000                                                                            8444  0.008444
    4 ETW000  [dev trc     ,00000]      using "E:\usr\sap\XID\SYS\exe\uc\NTAMD64\dboraslib.dll"
    4 ETW000                                                                              21  0.008465
    4 ETW000  [dev trc     ,00000]  Library 'dboraslib.dll' loaded                        32  0.008497
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library dboraslib.dll
    4 ETW000                                                                              22  0.008519
    4 ETW000  [dev trc     ,00000]  Version of 'dboraslib.dll' is "710.16", patchlevel (0.106)
    4 ETW000                                                                             179  0.008698
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library dboraslib.dll
    4 ETW000                                                                              20  0.008718
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library dboraslib.dll
    4 ETW000                                                                              52  0.008770
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              61  0.008831
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                               2  0.008833
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                        123  0.008956
    4 ETW000  [dev trc     ,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3
    4 ETW000                                                                              22  0.008978
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection:
    4 ETW000                                                                              18  0.008996
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              24  0.009020
    4 ETW000  [dev trc     ,00000]  DIR_CLIENT_ORAHOME is not set as profile nor env. parameter.
    4 ETW000                        Assuming using instant client with unspecified location.
    4 ETW000                                                                            1917  0.010937
    4 ETW000  [dev trc     ,00000]  -->oci_init1                                          39  0.010976
    4 ETW000  [dev trc     ,00000]  Oracle Client Version: '10.2.0.2.0'                27524  0.038500
    4 ETW000  [dev trc     ,00000]    Default connection: tnsname ='PID'                 151  0.038651
    4 ETW000  [dev trc     ,00000]  -->oci_initialize(con_hdl=0, char='', nchar='')       36  0.038687
    4 ETW000  [dev trc     ,00000]  application info callback registered                  15  0.038702
    4 ETW000  [dev trc     ,00000]  OCIEnvCreate(mode=16384=OCI_UTF16)                  8552  0.047254
    4 ETW000  [dev trc     ,00000]     OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrHp=0000000005C7F3D0)
    4 ETW000                                                                             179  0.047433
    4 ETW000  [dev trc     ,00000]     OCIHandleAlloc(OCI_HTYPE_ERROR, con_hdl=0, ErrBt=0000000005C82B98)
    4 ETW000                                                                              43  0.047476
    4 ETW000  [dev trc     ,00000]  Client character set UTF16 -> UTF8                   235  0.047711
    4 ETW000  [dev trc     ,00000]  Client NLS setting (OCINlsGetInfo): 'AMERICAN_AMERICA.UTF8'
    4 ETW000                                                                              26  0.047737
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPR3's password            25  0.047762
    4 ETW000  [dev trc     ,00000]  Connecting as /@PID on connection 0 (nls_hdl 0) ... (dbsl 710 250408)
    4 ETW000                                                                              32  0.047794
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet                   EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              31  0.047825
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      0000000005C771A0 0000000005C7F3D0 0000000005C82B98
    4 ETW000                                                                              25  0.047850
    4 ETW000  [dev trc     ,00000]     OCIHandleAlloc(OCI_HTYPE_SVCCTX, con_hdl=0, svchp=0000000005C82A58)
    4 ETW000                                                                               6  0.047856
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                       5  0.047861
    4 ETW000  [dev trc     ,00000]  Attaching to database server PID (con_hdl=0, svchp=0000000005C82A58, srvhp=0000000005C832D8)
    4 ETW000                                                                             421  0.048282
    4 ETW000  [dev trc     ,00000]  Assigning server context 0000000005C832D8 to service context 0000000005C82A58
    4 ETW000                                                                           59509  0.107791
    4 ETW000  [dev trc     ,00000]     OCIHandleAlloc(OCI_HTYPE_SESSION, con_hdl=0, usrhp=0000000005C7FBE8)
    4 ETW000                                                                             165  0.107956
    4 ETW000  [dev trc     ,00000]  Starting user session: OCISessionBegin(con_hdl=0, usr='/',svchp=0000000005C82A58, srvhp=0000000005C832D8, usrhp=0000000005C7FBE8)
    4 ETW000                                                                              26  0.107982
    4 ETW000  [dev trc     ,00000]     OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR
    4 ETW000                                                                           56858  0.164840
    4 ETW000  [dev trc     ,00000]     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:
    4 ETW000                                                                            1430  0.166270
    4 ETW000  [dev trc     ,00000]     ORA-01017: invalid username/password; logon denied                                                                       
    4 ETW000                                                                              25  0.166295
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                            1075  0.167370
    4 ETW000  [dev trc     ,00000]     set_ocica() -> SQL error code 1017                 27  0.167397
    4 ETW000  [dev trc     ,00000]  -->oci_get_errmsg (con_hdl=0, rc=1017)                15  0.167412
    4 ETW000  [dev trc     ,00000]     OCIErrorGet -> SQL error code: 1017               859  0.168271
    4 ETW000  [dev trc     ,00000]     ORA-01017: invalid username/password; logon denied                                                                       
    4 ETW000                                                                              55  0.168326
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                  17  0.168343
    4 ETW000  [dev trc     ,00000]  Connecting as SAPR3/<pwd>@PID on connection 0 (nls_hdl 0) ... (dbsl 710 250408)
    4 ETW000                                                                             808  0.169151
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet                   EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              30  0.169181
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      0000000005C771A0 0000000005C7F3D0 0000000005C82B98
    4 ETW000                                                                              25  0.169206
    4 ETW000  [dev trc     ,00000]  Assigning username to user session 0000000005C7FBE8
    4 ETW000                                                                              28  0.169234
    4 ETW000  [dev trc     ,00000]  Assigning password to user session 0000000005C7FBE8
    4 ETW000                                                                              61  0.169295
    4 ETW000  [dev trc     ,00000]  Starting user session: OCISessionBegin(con_hdl=0, usr=SAPR3/<pwd>, svchp=0000000005C82A58, srvhp=0000000005C832D8, usrhp=0000000005C7FBE8)
    4 ETW000                                                                              28  0.169323
    4 ETW000  [dev trc     ,00000]     OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR
    4 ETW000                                                                           15304  0.184627
    4 ETW000  [dev trc     ,00000]     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:
    4 ETW000                                                                             197  0.184824
    4 ETW000  [dev trc     ,00000]     ORA-01017: invalid username/password; logon denied                                                                       
    4 ETW000                                                                              21  0.184845
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'
    4 ETW000                                                                              51  0.184896
    4 ETW000  [dev trc     ,00000]     set_ocica() -> SQL error code 1017                 16  0.184912
    4 ETW000  [dev trc     ,00000]  -->oci_get_errmsg (con_hdl=0, rc=1017)                16  0.184928
    4 ETW000  [dev trc     ,00000]     OCIErrorGet -> SQL error code: 1017                55  0.184983
    4 ETW000  [dev trc     ,00000]     ORA-01017: invalid username/password; logon denied                                                                       
    4 ETW000                                                                              21  0.185004
    4 ETW000  [dev trc     ,00000]     DbSlConnect(con_hdl=-1) -> orc=0, 99=DBSL_ERR_DB
    4 ETW000                                                                              62  0.185066
    4 ETW000  [dblink      ,00000]  ***LOG BY2=>sql error 1017   performing CON          201  0.185267
    4 ETW000  [dblink      ,00000]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied
    4 ETW000                                                                              23  0.185290
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'PID'"
    *which password should be changed? i find below accounts from talbe adm_users.*
    SYS
    SYSTEM
    OPS$FGRW20806\SAPSERVICESR3
    OPS$FGRW20806\XIDADM
    OPS$FGRW20806\SAPSERVICEXID
    SAPSR3
    SAPSR3DB
    SAPSR4DB
    OUTLN
    DBSNMP

  • BRCONNECT with error -1017 at location db_connect-2 when installationsap

    Hi guys,
    I am experiencing some problems when I install the NW CE7.1 with SID CE1 on Windows server with oracle. Note,At this server , the PI7.1 have been installed with SID PI1, now I want to install the CE7.1 on that with MCOD,  the oracle db instance name is PID.When install the CE7.1,On the phase execute, it shows
    An error occurred while processing service SAP NetWeaver CE Productive Edition > Installation Options > Standard System > Standard System( Last error reported by the step :Process call 'E:\usr\sap\CE1\SYS\exe\uc\NTAMD64\brconnect.exe -u / -c -o summary -f stats -o SAPSR4DB -t all -p 2 -f nocasc' exits with error code 3. For details see log file(s) brconnect.log.). You may now
    u2022     choose Retry to repeat the current step.
    u2022     choose View Log to get more information about the error.
    u2022     stop the task and continue with it later.
    Log files are written to C:\Program Files/sapinst_instdir/CE71_PROD_ORA/INSTALL/ORA/STD/AS.
    The detailed log is below,
    BR0801I BRCONNECT 7.10 (3)
    BR0805I Start of BRCONNECT processing: cdyrdcop.sta 2008-08-26 00.03.23
    BR0252E Function fopen() failed for 'F:\oracle\PID\sapcheck\cdyrdcop.sta' at location main-11
    BR0253E errno 2: No such file or directory
    BR0121E Processing of log file F:\oracle\PID\sapcheck\cdyrdcop.sta failed
    BR0280I BRCONNECT time stamp: 2008-08-26 00.03.25
    BR0301E SQL error -1017 at location db_connect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310E Connect to database instance PID failed
    BR0806I End of BRCONNECT processing: cdyrdcop.sta 2008-08-26 00.03.24
    BR0280I BRCONNECT time stamp: 2008-08-26 00.03.25
    BR0804I BRCONNECT terminated with errors
    How to resolve this issue? Thanks in advance
    Roger

    Hi
    Can you please check the permission for the oracle file under /oracle/SID/102_64/bin . I think this is permission issue.
    Regards,
    Ershad Ahmed.

  • 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

  • SQL error -20003 at location stats_tab_collect-20

    Hello All,
    we are executing ths statistics with the followin command
    brconnect -u / -c -f stats -t all -f collect
    but the proccess report errors like:
    BR0301E SQL error -20003 at location stats_tab_collect-20, SQL statement:
    'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCMVWPRO"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14457
    ORA-06512: at "SYS.DBMS_STATS", line 14477
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCMVWPRO
    BR0301E SQL error -20003 at location stats_tab_collect-20, SQL statement:
    'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCTRGI"', ESTIMATE_PERCENT => 1, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14457
    ORA-06512: at "SYS.DBMS_STATS", line 14477
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCTRGI
    How we can fix this error?
    Thanks
    Hernando

    hello, to update, I receive the following recommendation
    The error "ORA-20003: Specified bug number (5099019) does not exist
    seems caused by fix of bug 5099019 is not installed correctly.
    Could you please first check if the merge fix 8299095 has been
    installed successfully? Check lsinventory and check if the post
    installation steps have been performed well.
    Post-install steps:
    startup database
    connect using sqlplus as SYSDBA
    start $ORACLE_HOME/rdbms/admin/dbmsstat.sql
    start $ORACLE_HOME/rdbms/admin/prvtstas.plb
    start $ORACLE_HOME/rdbms/admin/prvtstat.plb
    exit sqlplus
    Once those steps have been performed would you please check the databasefor invalid objects per the instructions in OSS note 648203?
    I followed the steps in recommendation:
    the fix is installed on patch 8599814.
    I started the DB and ran the SQL scripts:
    SQL> start $ORACLE_HOME/rdbms/admin/dbmsstat.sql
    Package created.
    No errors.
    Synonym created.
    Grant succeeded.
    create role gather_system_statistics
    ERROR at line 1:
    ORA-01921: role name 'GATHER_SYSTEM_STATISTICS' conflicts with another
    user or
    role name
    Grant succeeded.
    Grant succeeded.
    Library created.
    SQL> start $ORACLE_HOME/rdbms/admin/prvtstas.plb
    Package created.
    No errors.
    Package body created.
    No errors.
    SQL> start $ORACLE_HOME/rdbms/admin/prvtstat.plb
    Package body created.
    No errors.
    PL/SQL procedure successfully completed.
    According to note 648203 I search for invalid objects
    SQL> SELECT SUBSTR(OWNER, 1, 20) OWNER,SUBSTR(OBJECT_NAME, 1, 35)
    OBJECT_NAME,
    2 SUBSTR(OBJECT_TYPE, 1, 20) OBJECT_TYPE
    3 FROM DBA_OBJECTS
    4 WHERE STATUS = 'INVALID';
    no rows selected
    SQL> SELECT SUBSTR(COMP_ID, 1, 20) COMP_ID,
    2 SUBSTR(COMP_NAME, 1, 40) COMP_NAME,
    3 STATUS
    4 FROM DBA_REGISTRY;
    COMP_ID
    COMP_NAME
    STATUS
    CATALOG
    Oracle Database Catalog Views
    VALID
    CATPROC
    Oracle Database Packages and Types
    VALID
    SQL> SELECT O.NAME FROM OBJ$ O, REGISTRY$ R
    2 WHERE O.STATUS > 1 AND
    3 (O.CTIME BETWEEN R.DATE_LOADING AND R.DATE_LOADED OR
    4 O.MTIME BETWEEN R.DATE_LOADING AND R.DATE_LOADED OR
    5 O.STIME BETWEEN R.DATE_LOADING AND R.DATE_LOADED);
    no rows selected
    According to note 838725 I executed the following script:
    SQL> begin DBMS_STATS.GATHER_DICTIONARY_STATS(
    2 ESTIMATE_PERCENT => NULL,
    3 METHOD_OPT => 'FOR ALL COLUMNS SIZE AUTO',
    4 GRANULARITY => 'ALL',
    5 CASCADE => TRUE,
    6 OPTIONS => 'GATHER',
    7 NO_INVALIDATE => FALSE);
    8 end;
    9 /
    begin DBMS_STATS.GATHER_DICTIONARY_STATS(
    ERROR at line 1:
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14611
    ORA-06512: at "SYS.DBMS_STATS", line 14957
    ORA-06512: at "SYS.DBMS_STATS", line 17261
    ORA-06512: at "SYS.DBMS_STATS", line 17303
    ORA-06512: at line 1
    And, if I run the command from the same note
    volta:oracmd 53% brconnect -u / -c -f stats -t oradict_stats
    BR0801I BRCONNECT 7.00 (43)
    BR0805I Start of BRCONNECT processing: ceblmvwb.sta 2009-09-12 18.08.17
    BR0484I BRCONNECT log file: /oracle/CMD/sapcheck/ceblmvwb.sta
    BR0280I BRCONNECT time stamp: 2009-09-12 18.08.18
    BR0807I Name of database instance: CMD
    BR0808I BRCONNECT action ID: ceblmvwb
    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-09-12 18.08.18
    BR1311I Starting collection of Oracle dictionary statistics...
    BR0285I This function can take several seconds/minutes - be patient...
    BR0280I BRCONNECT time stamp: 2009-09-12 18.08.28
    BR0301E SQL error -20003 at location stats_oradict_collect-4, SQL
    statement:
    'BEGIN DBMS_STATS.GATHER_DICTIONARY_STATS (ESTIMATE_PERCENT => NULL,
    METHOD_OPT => 'FOR ALL COLUMNS SIZE AUTO', GRANULARITY => 'ALL',
    CASCADE => TRUE, OPTIONS => 'GATHER', NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14611
    ORA-06512: at "SYS.DBMS_STATS", line 14957
    ORA-06512: at "SYS.DBMS_STATS", line 17261
    ORA-06512: at "SYS.DBMS_STATS", line 17303
    ORA-06512: at line 1
    BR1313E Collection of Oracle dictionary statistics failed
    BR0806I End of BRCONNECT processing: ceblmvwb.sta 2009-09-12 18.08.28
    BR0280I BRCONNECT time stamp: 2009-09-12 18.08.28
    BR0804I BRCONNECT terminated with errors
    I couldn´t run the statistics from my system.
    Hernando

  • 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

Maybe you are looking for