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
Similar Messages
-
BR0301E SQL error -1031 at location BrInitOraCreate-1
when i am performing database backup through brtools 6.4 i am facing this error
complete error list is
BR0291I BRBACKUP will be started with options '-p initDCTEST.sap -d disk -t offline -m all -k no -e
0 -l E'
BR0280I BRTOOLS time stamp: 2005-10-18 16.23.43
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRTOOLS time stamp: 2005-10-18 16.23.47
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
BR0051I BRBACKUP 6.40 (3)
BR0169W Value 'ibs=' of parameter/option 'dd_in_flags' ignored for 'Windows NT' - 'bs=' assumed
BR0055I Start of database backup: bdrbziml.afd 2005-10-18 16.23.47
BR0280I BRBACKUP time stamp: 2005-10-18 16.23.48
BR0301E SQL error -1031 at location BrInitOraCreate-1
ORA-01031: insufficient privileges
BR0303E Determination of RDBMS version failed
BR0280I BRBACKUP time stamp: 2005-10-18 16.23.48
BR0301W SQL error -942 at location BrbDbLogOpen-1
ORA-00942: table or view does not exist
BR0324W Insertion of database log header failed
BR0056I End of database backup: bdrbziml.afd 2005-10-18 16.23.48
BR0280I BRBACKUP time stamp: 2005-10-18 16.23.48
BR0054I BRBACKUP terminated with errors
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
BR0292I Execution of BRBACKUP terminated with return code 3 -
BR0301E SQL error -1031 at location dblog_cleanup-5
BR0301E SQL error -1031 at location dblog_cleanup-5
ORA-01031: insufficient privileges
BR0280I BRCONNECT time stamp: 2010-10-09 21.10.16
BR0301E SQL error -1031 at location dblog_cleanup-6
ORA-01031: insufficient privileges
Kindly suggest me how to resolve this alert in DB13 clean up logsHi,
Have you made any changes to you environmentals ?
I had a similar problem for example when I had TNS_ADMIN set when I removed it it was fine
Mark -
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 -
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
Hernandohello, 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 -
Update statistics ends with error
Hi Techies
Few months back our BI system got crashed then ,we re-install the system & restore the database,Now the issue is whenever we are running the update statistics it gives the following error & terminates with error.
BR0301E SQL error -20000 at location stats_ind_collect-2, SQL statement:
'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPSR3"', INDNAME => '"/BIC/B0000598000KE"', ESTIMATE_PERCENT => NULL, DEGREE => NULL,
ORA-20000: index "SAPSR3"."/BIC/B0000598000KE" or partition of such index is in unusable state
ORA-06512: at "SYS.DBMS_STATS", line 10613
ORA-06512: at "SYS.DBMS_STATS", line 10648
ORA-06512: at line 1
BR0886E Checking/collecting statistics failed for index SAPSR3./BIC/B0000598000KE
BR0301E SQL error -20000 at location stats_tab_collect-18, SQL statement:
'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BIC/B0000598000"', ESTIMATE_PERCENT => 30, METHOD_OPT => 'FOR A
ORA-20000: index "SAPSR3"."/BIC/B0000598000KE" or partition of such index is in unusable state
ORA-06512: at "SYS.DBMS_STATS", line 13159
ORA-06512: at "SYS.DBMS_STATS", line 13179
ORA-06512: at line 1
BR0886E Checking/collecting statistics failed for table SAPSR3./BIC/B0000598000
Environment Details
OS-AIX 5.3
DB-Oracle 10.2.0.2.0
SAP-SAP Netweaver 2004s
BI-SAP Netweaver BI 7.0
Quick response appreciated
Thanks
VijayHi,
ORA-20000: index "SAPSR3"."/BIC/B0000598000KE" or partition of such index is in unusable state
rebuild the index using BRTOOLS.
Run brtools
select 3 --> SEGMENT MANGEMENT --> 2 - Rebuild indexes --> 7 ~ Index names (index)
provide your index name here SAPSR3"."/BIC/B0000598000KE
and rebuild the index
after running rebuild index , start again Update Statistics.
it will run succesful
Thanks
Anil -
DBcheck get failed from db13 with error BR0301E SQL error -1031
Hi,
I am executing DBcheck from db13 but it gets failed with error "BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement".
Here is the job logs:
Job started
Step 001 started (program RSDBAJOB, variant &0000000000424, user ID SVKM_BASIS2)
Execute logical command BRCONNECT On host svkmeccdbci
Parameters: -u / -jid CHECK20110930103211 -c -f check
BR0801I BRCONNECT 7.00 (40)
BR0477I Oracle pfile /oracle/SEP/102_64/dbs/initSEP.ora created from spfile /oracle/SEP/102_64/dbs/spfileSEP.ora
BR0805I Start of BRCONNECT processing: cegwudvg.chk 2011-09-30 10.32.12
BR0484I BRCONNECT log file: /oracle/SEP/sapcheck/cegwudvg.chk
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.12
BR0813I Schema owners found in database SEP:
DBSNMP, DIP, OPS$ORASEP, OPS$SAPSERVICESEP, OPS$SEPADM, ORACLE_OCM, OUTLN, SAPSR3*, SYS, SYSTEM,
TSMSYS
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.20
BR0814I Number of tables in schema of owner SAPSR3: 77207
BR0836I Number of info cube tables found for owner SAPSR3: 49
BR0814I Number of tables/partitions in schema of owner SYS: 625/189
BR0814I Number of tables/partitions in schema of owner SYSTEM: 134/27
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.29
BR0815I Number of indexes in schema of owner SAPSR3: 92099
BR0815I Number of indexes/partitions in schema ofowner SYS: 678/199
BR0815I Number of indexes/partitions in schema ofowner SYSTEM: 175/32
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
BR0816I Number of segments in schema of owner DBSNMP: 25
BR0816I Number of segments in schema of owner OPS$SEPADM: 1
BR0816I Number of segments in schema of owner OUTLN: 9
BR0816I Number of segments/LOBs in schema of owner SAPSR3: 174072/2383
BR0816I Number of segments/LOBs in schema of owner SYS: 1838/87
BR0816I Number of segments/LOBs in schema of owner SYSTEM: 353/22
BR0816I Number of segments in schema of owner TSMSYS: 4
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
BR0961I Number of conditions found in DBCHECKORA:118
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:
'PREPARE stmt_5 STATEMENT FROM'
'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDE
ORA-01031: insufficient privileges
BR0806I End of BRCONNECT processing: cegwudvg.chk2011-09-30 10.32.52
BR0280I BRCONNECT time stamp: 2011-09-30 10.32.52
BR0804I BRCONNECT terminated with errors
External program terminated with exit code 3
BRCONNECT returned error status E
Job finished
Please help.
Thanks in advanced.
OceanDear,
Thanks for the reply.
I have checked the note you have mention, but it show it is for SAP Release 6.20 or lower.
we have ECC6 EHP4 release 700.
So, please advise, should i go for that note and perform the required action ?
Thanks. -
Hi all,
we get this error aftter importing sapdba role according note 134592, all requirements according note 834917 are met. It works with ops$, with ORASID, but not for SIDADM !
brconnect -u / -f check works also
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
BR0002I BRARCHIVE 7.20 (6)
BR0006I Start of offline redolog processing: aeeicwva.svd 2010-10-12 16.49.46
BR0484I BRARCHIVE log file: /oracle/SOL/saparch/aeeicwva.svd
BR0280I BRARCHIVE time stamp: 2010-10-12 16.49.47
BR0301E SQL error -1031 at location BrInitOraCreate-2, SQL statement:
'CONNECT / AT PROF_CONN IN SYSOPER MODE'
ORA-01031: insufficient privileges
BR0303E Determination of Oracle version failed
BR0007I End of offline redolog processing: aeeicwva.svd 2010-10-12 16.49.47
BR0280I BRARCHIVE time stamp: 2010-10-12 16.49.47
BR0005I BRARCHIVE terminated with errors
Thanks in advance
Thomascscappwin024:/etc # cat SuSE-release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 3
cscappwin024:soladm 52> brarchive -u / -c force -p initSOL.sap -sd
BR0002I BRARCHIVE 7.20 (6)
BR0006I Start of offline redolog processing: aeeirbat.svd 2010-10-15 13.58.23
BR0484I BRARCHIVE log file: /oracle/SOL/saparch/aeeirbat.svd
BR0280I BRARCHIVE time stamp: 2010-10-15 13.58.23
BR0301E SQL error -1031 at location BrInitOraCreate-2, SQL statement:
'CONNECT / AT PROF_CONN IN SYSOPER MODE'
ORA-01031: insufficient privileges
BR0303E Determination of Oracle version failed
BR0007I End of offline redolog processing: aeeirbat.svd 2010-10-15 13.58.23
BR0280I BRARCHIVE time stamp: 2010-10-15 13.58.23
BR0005I BRARCHIVE terminated with errors
Kind regards
Thomas -
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,
ManojHello ,
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 -
Hi,
I'm getting following error while executing db-checks with brtools:
BR0484I BRCONNECT log file: G:\oracle\PMT\sapcheck\cdxarbyz.chk
BR0280I BRCONNECT time stamp: 2008-01-14 14.58.19
BR0301W SQL error -1031 at location brc_dblog_open-1, SQL statement:
'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20080114145813', 'chk', 'PMT', 'DATABASE', '9999', ' ', 'cdxarbyz', '7.00 (26) check')'
ORA-01031: insufficient privileges
BR0324W Insertion of database log header failed
I have already run sapdba_role.sql and sapconn_role.sql on the database for the SAPSID
for sapdba_role.sql
sqlplus /nolog @sapdba_role SAPR3
for sapconn_role.sql
sqlplus /nolog @sapconn_role
Can somebody please help?I thought the format for running sapdba_role.sql was to uise only the suffix.
So if you schema is SAPSR3 then you only need to give SR3.
View the sapdba_role.sql and you will see the proper format.
Also be sure the permissions on the br* binaries are correct and they have different owners/ sticky bits set. -
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
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXHi,
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 -
DB13 - Scheduled Update Statistics not run - Error
Hello gurus,
I´m faccing with an error in DB13, I scheduled Update statistics every day but it did not run due an error.
I think this may resulted because an authorization problem.
In /usr/sap is with this permissions:
drwxr-xr-x 15 orad01 dba 4096 Oct 18 16:34 sap
The /oracle/D01/sapcheck is with the following permissions:
drwxr-xr-x 2 orad01 dba 4096 Nov 14 20:28 sapcheck
Inside of sapcheck directory I can see the following files with permissions:
-rw-r--r-- 1 orad01 dba 32262 Oct 14 13:16 ceeimamu.sta
-rw-r--r-- 1 orad01 dba 2705 Oct 15 17:42 ceeisafo.sta
-rw-r--r-- 1 orad01 dba 2705 Oct 15 17:50 ceeisazq.sta
-rw-r--r-- 1 orad01 dba 1932 Oct 15 17:58 ceeisbie.sta
-rw-r--r-- 1 orad01 dba 1791 Oct 15 22:16 ceeisyhm.sta
-rw-r--r-- 1 orad01 dba 1931 Oct 15 22:24 ceeisyta.sta
-rw-r--r-- 1 orad01 dba 19394261 Oct 15 23:45 ceeiszph.sta
-rw-r--r-- 1 orad01 dba 1930 Nov 9 11:27 ceenjunx.sta
-rw-r--r-- 1 orad01 dba 1790 Nov 9 11:38 ceenjvuv.sta
-rw-r--r-- 1 orad01 dba 143103 Nov 9 11:40 ceenjwnr.sta
-rw-r--r-- 1 d01adm sapsys 521 Nov 16 14:46 ceeosxxw.sta
-rw-r--r-- 1 d01adm sapsys 521 Nov 16 14:49 ceeosydo.sta
-rw-r--r-- 1 d01adm sapsys 521 Nov 16 14:54 ceeosyqi.sta
-rw-r--r-- 1 d01adm sapsys 521 Nov 16 15:57 ceeotefd.sta
-rw-r--r-- 1 orad01 dba 18530 Nov 16 16:27 ceeotgun.sta
-rw-r--r-- 1 orad01 dba 996 Nov 16 16:27 connD01.log
In DB13 at details error, it show the following statements:
Job executado
Etapa 001 executada (program.RSDBAJOB, variante &0000000000016, nome usuário XNSJAD)
Execução do comando lógico BRCONNECT No host segoviad04
Parâmetros: -u / -jid STATS20101123153214 -c -f stats -t ALL
BR0801I BRCONNECT 7.20 (7)
BR0301E SQL error -2133 at location BrOraThrEnable-1, SQL statement:
'ENABLE THREADS'
BR0806I End of BRCONNECT processing: ceeqbmqh.sta2010-11-23 15.32.15
BR0280I BRCONNECT time stamp: 2010-11-23 15.32.15
BR0804I BRCONNECT terminated with errors
External program terminated with exit code 3
BRCONNECT returned error status E
Job encerrado
Can you help me please!? I do not know how to solve this situation...
Best regards,
João Dimas - PortugalThis wasn´t a new installation... this was a migration from windows/sql server to linux/oracle... and after that migration process I made an oracle upgrade to 11.2g and during this oracle upgrade we upgrade the BRtools to 7.20 version.
I set up other job from DB13 (Verify database) and also it not ran well, it show an error too, but a diferent one:
Parameters:-u / -jid VERIF20101110030000 -c force -w only_dbv -p initD01.sap -m ALL
BR0051I BRBACKUP 7.20 (7)
BR0055I Start of database backup: beeqitms.dbv 2010-11-25 03.00.06
BR0484I BRBACKUP log file: /oracle/D01/sapbackup/beeqitms.dbv
BR0477I Oracle pfile /oracle/D01/112_64/dbs/initD01.ora created from spfile /oracle/D01/112_64/dbs/spfileD01.ora
BR0068E SAP system is running or SAP user is connected to database D01 - database cannot be shut down
BR1025I Please shut down SAP system first or use the 'offline_force' option
BR0056I End of database backup: beeqitms.dbv 2010-11-25 03.00.09
BR0280I BRBACKUP time stamp: 2010-11-25 03.00.09
BR0054I BRBACKUP terminated with errors
External program terminated with exit code 3
BRBACKUP returned error status E
I also checked the permissions in /usr/sap folder and sub folders as per the link you put here... and everything is well... but tell me one thing which owner/group must have set in /usr/sap/ directory? In that help sap link it doesn´t show any suggestion in this column, so I don´t know in this case which owner and group must have set... In my case the /usr/sap/ and dba as group:
drwxr-xr-x 28 orad01 dba 4096 Nov 23 15:20 D01
Kind regards,
João Dimas - Portugal -
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 kizilbash400241 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 -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 -
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 errorsMamun,
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
-
How can I put my itunes library on my Airport Time Capsule 3TB and still play thru Apple TV?
I am trying to free up space on my 1TB iMac and would like to put iTunes/burned movies/music to Airport Time Capsule 3tb. At the same time I would like tobe able to play said media through my Apple TV.
-
How do i find the total numbers of songs in my itunes music library?
I scrolled to the bottom of the music listing to no avail. I clicked on the various tabs, i.e., file, view, edit, etc., also without success. The only way I was able to find the information was to print-out the first page of the list of songs from
-
Process order dates in ECC and APO are not matching.
Hi We are sending Planning order to ECC there we convert to process order.I see there is diffrent start and end dates in APO and ECC. But I see in CCR report I get error message material ABC has a different receipt date in SAP APO and SAP R/3. I am n
-
How to raise Alerts for Sender File Channel
Hi All, For Sender File Channels , we can find out the status of the adapter through RWB as to whether it is Content Conversion related exception or Folder path not found exception & etc . I wanted to know as to whether there is any way where can ras
-
HT201343 can i turn off my imac monitor while airplay from it to my tv?
can i turn off my imac monitor while airplay from it to my tv?