ALLOnl+LOG Backup via DB13 failed
Hi!
I have planned each week a ALL Online Backup with LOG.
When the action has been performed the backup failed and I get the following error:
BR0301W SQL error -1031 at location saplikey_read-1, SQL statement:
'OPEN curs_122 CURSOR FOR'
'SELECT SELECT LIKEY, VALUE FROM SAP_SAPLIKEY ORDER BY LIKEY'
ORA-01031: insufficient privileges
BR1301W Error message from likeywlib: likey_init: likeyche_fill_buffer: couldn't get the list of all records from the persistence.
BR1302W Initialization of license key library likeywlib failed, return code 1
BR1304W Checking SAP license failed at location BrLicCheck-104
BR0602W No valid SAP license found - please contact SAP
I checked via tcode SLICENSE and detected that a valid SAP license exist.
Question:
How can I solve this problem?
Thank you very much!
regards
Holger
Hello Holger,
before you can perform a backup the BR*Tools are checking the valid licenses. The PUBLIC synonym SAP_SAPLIKEY is used for that.
Your user that is performing this action is not allowed to query the PUBLIC synonym (and the corresponding base table). This can have different reasons (wrong synonym, sapconn or sapdba role script was not executed, etc.).
Normally the BR*Tools are run under <SID>adm, if you schedule the backup via DB13. So please check all these stuff (#1028220, #834917, #480266).
I also have investigated a topic like that with another user in the forum... please also check this thread:
Re: DB13: ORA-01031: insufficient privileges
Regards
Stefan
Similar Messages
-
Whole online backup from DB13 failed due to processing error
Hello!
I have difficulty by execution of Whole database online backup from DB13 via FTP on the remote target. The backup goes very slow and breaks after a while.
The BRBACKUP action log looks as follows:
backup_mode ALL
backup_type online
backup_dev_type stage
stage_root_dir /sap/DEVB
compress no
stage_copy_cmd ftp
remote_host 192.168.200.3
remote_user sapbackup
#FILE..... E:\ORACLE\DEV\SAPDATA2\SR3_10\SR3.DATA10
#SAVED.... /sap/DEVB/bdwkuudu/SR3.DATA10 #1/6
BR0280I BRBACKUP time stamp: 2007-10-23 01.44.35
BR0063I 6 of 41 files processed - 12000.047 MB of 93092.766 MB done
BR0204I Percentage done: 12.89%, estimated end time: 23:06
BR0001I ******____________________________________________
BR0202I Saving E:\ORACLE\DEV\SAPDATA2\SR3_6\SR3.DATA6
BR0203I to /sap/DEVB/bdwkuudu/SR3.DATA6 ...
#FILE..... E:\ORACLE\DEV\SAPDATA2\SR3_6\SR3.DATA6
#SAVED.... /sap/DEVB/bdwkuudu/SR3.DATA6 #1/7
BR0280I BRBACKUP time stamp: 2007-10-23 02.38.05
BR0063I 7 of 41 files processed - 14000.055 MB of 93092.766 MB done
BR0204I Percentage done: 15.04%, estimated end time: 21:36
BR0001I ********__________________________________________
BR0202I Saving E:\ORACLE\DEV\SAPDATA2\SR3_7\SR3.DATA7
BR0203I to /sap/DEVB/bdwkuudu/SR3.DATA7 ...
<b>BR0278E Command output of 'F:\usr\sap\DEV\SYS\exe\uc\NTAMD64\sapftp.exe -v -n -i 192.168.200.3 -u H:\oracle\DEV\sapbackup\.bdwkuudu.ftp -b -c put E:\ORACLE\DEV\SAPDATA2\SR3_7\SR3.DATA7 /sap/DEVB/bdwkuudu/SR3.DATA7':
Connected to 192.168.200.3 Port 21.
220-FTP server ready.
220 This is a private system - No anonymous login
331 User sapbackup OK. Password required
230-User sapbackup has group access to: administrator
230-This server supports FXP transfers
230-OK. Current restricted directory is /
230-************************************************
230-* Use SITE command to change client codepage: *
230-* ie, site codepage [client codepage] *
230 ************************************************
200 TYPE is now 8-bit binary
200 PORT command successful
150 Connecting to port 4977
NiWrite error: -6, bytes to send: 32767 bytes written: 0
BR0280I BRBACKUP time stamp: 2007-10-23 03.08.37
BR0279E Return code from 'F:\usr\sap\DEV\SYS\exe\uc\NTAMD64\sapftp.exe -v -n -i 192.168.200.3 -u H:\oracle\DEV\sapbackup\.bdwkuudu.ftp -b -c put E:\ORACLE\DEV\SAPDATA2\SR3_7\SR3.DATA7 /sap/DEVB/bdwkuudu/SR3.DATA7': 1
BR0222E Copying E:\ORACLE\DEV\SAPDATA2\SR3_7\SR3.DATA7 to/from /sap/DEVB/bdwkuudu/SR3.DATA7 failed due to previous errors </b>
BR0280I BRBACKUP time stamp: 2007-10-23 03.08.43
BR0317I 'Alter tablespace PSAPSR3 end backup' successful
BR0056I End of database backup: bdwkuudu.ans 2007-10-23 03.08.37
BR0280I BRBACKUP time stamp: 2007-10-23 03.08.43
BR0054I BRBACUP terminated with errors
Any helpful information will be appreciated.
regards!
Thomthis post is duplicated at Re: Backup to remote stage failed due to RFC error
please only post your question once and only in 1 forum.
thanks. -
Errors in Offline Backup via DB13 SAP & Oracle on Linux
OS: Linux Database : Oracle Systems Affected : Production & Disaster Recovery Server
Hi
We have offline backup scheduled every friday via SAP the backup runs fine & copies all the files in the backup directory but when i go see the backup logs in DB 14 i see the Offline Backup ending with Error Code 0005 & when i see the Detail logs i see following in red
BR0278E Command output of '/oracle/UHP/102_64/bin/sqlplus /nolog < /oracle/UHP/sapbackup/.beelhrfo.spi':
BR0279E Return code from '/oracle/UHP/102_64/bin/sqlplus /nolog < /oracle/UHP/sapbackup/.beelhrfo.spi': 0
BR0302E SQLPLUS call for database instance UHP failed
BR0306E Start and open of database instance UHP failed
Also if i check the BRARCHIVE i see them ending with following errors in Detail Log
BR0278E Command output of 'LANG=C cd /oracle/UHP/sapreorg && LANG=C cp spaceUHP.log paramUHP.log /backup/UHPARCH//UHP':
cp: cannot create regular file `/backup/UHPARCH//UHP/spaceUHP.log': Permission denied
cp: cannot create regular file `/backup/UHPARCH//UHP/paramUHP.log': Permission denied
BR0280I BRARCHIVE time stamp: 2010-10-30 23.02.40
BR0279E Return code from 'LANG=C cd /oracle/UHP/sapreorg && LANG=C cp spaceUHP.log paramUHP.log /backup/UHPARCH//UHP': 1
BR0222E Copying space_log to/from /backup/UHPARCH//UHP failed due to previous errors
BR0202I Saving /oracle/UHP/saparch/aeelofvf.svd
BR0203I to /backup/UHPARCH//UHP ...
BR0202I Saving /oracle/UHP/saparch/archUHP.log
BR0203I to /backup/UHPARCH//UHP ...
BR0278E Command output of 'LANG=C cp /oracle/UHP/saparch/archUHP.log /backup/UHPARCH//UHP':
cp: cannot create regular file `/backup/UHPARCH//UHP/archUHP.log': Permission denied
BR0280I BRARCHIVE time stamp: 2010-10-30 23.02.40
BR0279E Return code from 'LANG=C cp /oracle/UHP/saparch/archUHP.log /backup/UHPARCH//UHP': 1
BR0222E Copying /oracle/UHP/saparch/archUHP.log to/from /backup/UHPARCH//UHP failed due to previous errors
Please also note that we have a Disaster Recovery Server too & the above mentioned errors are in our (Production )Primary Database & once this backu finished the DR Server stops getting any log files, this happens only when this offline backup on every friday runs,
Issues
The backup ends with errors although the backup file is generated & all data is copied
DR Server dont get redo log files after this offline backup on every fridayfor the Cp errors i will see the permissions in backup/UHP ( this error is happening in online backup ) my main concern is the error occured in offline backup as it is somehow connected with our DR SERVER NOT GETTING THE LOG FILES EVEN AFTER THE SYSTEM IS UP ( yes if the primary is down no logs will be shipped to standby i know that but even after the primary is up after a offline backup via SAP via DB 13 the standby dont get any log files unless i restart the database and SAP )
So the error in the offline backup mentioned above in my post occurred at 29 OCT 15: 45 20
BR0302E SQLPLUS call for database instance UHP failed
BR0306E Start and open of database instance UHP failed
after this my primary database comes up & sap starts but the DR server dont get any logs & also the backup logs show the above errors in red
Given below is the text from Oracle alert file for the same time duration when the system tries to start the database & the above mentioned error comes up in opening the database time Stamp : OCT 29 15: 45 20
Deprecated system parameters with specified values:
log_archive_start
End of deprecated system parameter listing
This is the only oracle alert log errors i can find relevant to database instance errors from DB 14
moreover in the alert file it also starts the data broker service relevant to i guess DR server in that all seems fine it starts everything then it gives this error & then keeps giving errors ( from oracle alert log file )
Error 12154 received logging on to the standby
Fri Oct 29 15:45:37 2010
Errors in file /oracle/UHP/saptrace/background/uhp_arc0_12086.trc:
ORA-12154: TNS:could not resolve the connect identifier specified
FAL[server, ARC0]: Error 12154 creating remote archivelog file 'UHR'
FAL[server, ARC0]: FAL archive failed, see trace file.
Fri Oct 29 15:45:37 2010
Errors in file /oracle/UHP/saptrace/background/uhp_arc0_12086.trc:
ORA-16055: FAL request rejected
ARCH: FAL archive failed. Archiver continuing
Fri Oct 29 15:45:37 2010
ORACLE Instance UHP - Archival Error. Archiver continuing
& then keep on saying given below error in oracle alert log file
Fri Oct 29 15:51:32 2010
Errors in file /oracle/UHP/saptrace/background/uhp_arc8_12102.trc:
ORA-12154: TNS:could not resolve the connect identifier specified
PING[ARC8]: Heartbeat failed to connect to standby 'UHR'. Error is 12154.
Thanks for your help again i would appreciate a little more assistance on this.
Edited by: Prashant Shandilya on Oct 31, 2010 12:18 PM -
hello,
if i try to use DB13 for relo log backup it gives error as
Job started
Step 001 started (program RSDBAJOB, variant &0000000000286, user name BASIS)
Execute logical command BRARCHIVE On host dmrctst
Parameters: -u / -c force -p initQAS.sap -cds -v QAS_TUE2_00
BR002I BRARCHIVE 6.10 (76)
BR157E Value 'QAS_TUE2_00' for option '-v' longerthan 10 characters
BR007I End of offline redo log processing: adxynlbm.log 2008-05-19 18.39.22
BR280I Time stamp 2008-05-19 18.39.22
BR005I BRARCHIVE terminated with errors
External program terminated with exit code 3
BRARCHIVE returned error status E
Job finished
how should i take backup of redo logs,we are using 4.6C version?
-saurabh"BR157E Value 'QAS_TUE2_00' for option '-v' longerthan 10 characters"
This is the pertinent bit. Your naming convention for your media does not comply with the limitations ..... i.e, change your tape name to be 10 or less characters. -
Error ORA-01031: insufficient privileges when backup via DB13
Hi expert,
Currently, I have system on SuSE 10 SP2 with ECC6 and Oracle 10.2 installed.
Database backup works fine when using BRTOOLS from command line.
Error like this :
BR0278E Command output of 'SHELL=/bin/sh /oracle/I20/920_32/bin/rman
nocatalog':
Recovery Manager: Release 9.2.0.4.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
RMAN>
RMAN> connect target /;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-01031: insufficient privileges
RMAN> *end-of-file*
happened when I try to schedule backup through DB13.
I try to solved this with SAP Note 776505 but still doesn't work.
Any suggestion ?
ardhianHi,
Execute the following command at sql prompt.
grant dba,resource,connect,sapdba to OPS$<SID>ADM OPS$ORA<SID>
grant dba,resource,connect,sapdba to O OPS$ORA<SID>
grant dba,resource,connect,sapdba to SAPSR3 or SAP<SID>(YOUR SCHEMA NAME)
Also check owner of SAPUSER table
SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'SAPUSER';
If it returns value OPS$<SID>ADM than its ok, otherwise you have to drop this & recreate with command
CREATE TABLE "OPS$QASADM".SAPUSER
(USERID VARCHAR2(256), PASSWD VARCHAR2(256));
INSERT INTO "OPS$<sid>ADM".SAPUSER VALUES ('<sapowner>',
'<password>');
For more info go through the snote 400241
[https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=400241]
Thanks & Regards
Karan -
Wireless Time Machine Backup via AEBS Failing
I just bought a Airport Extreme Base Station (5th Generation) so that I can use an external hard drive (Western Digital My Passport SE) to wirelessly backup my Mac Book Pro. I've been using the external hard drive as my time machine via USB cable and it works fine. However if I connect the external hard drive to the AEBS, the TM software says that the "disk is unavailable", even though I can selected the external drive as a TM disk in the TM preferences and the Mac Book Pro can read and write from the external hard drive wirelessly using the airport. The only function not working is the TM wirelessly.
Has Apple blocked this functionality? I called Apple Care and they said it is unsupported and that they will only help if I buy the time capsule.
This is what I have tried from of posted that have failed with the same error "disk is unavaiable":
Updated firmware on AEBS and external drive
Reformatted the external drive using the Mac Book Pro disk utility to MAC OS (Journaled)
Erased old backups and started the TM wirelessly from scratch
Started TM through USB, canceled then tried wirelessly
Tried this terminal command: sudo defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
Turned off the wireless signal and connect AEBS via Ethernet cable to the Mac Book and started the TM
Used another external hard drive (Seagate 500 gig)
I'm stuck! Any ideas?I'm afraid that you are not going to like this answer, but it will explain the difficulties that you...and almost all other users who try this....will experience sooner or later.
Apple does not support Time Machine backups to a drive at the USB port of the AirPort Extreme
Reference this Apple Support Document:
http://docs.info.apple.com/article.html?path=Mac/10.6/en/15139.html
All you can really do if you want to continue to try to backup using Time Machine to a disk at the USB port of the AirPort Extreme is connect the drive directly to your Mac and run Disk Utility to "repair disk" and/or "repair disk permissions".
This will likely get you going again....until the backup becomes corrupted again....which might be a few days, a few weeks, or even a few months. Eventually, Disk Utility will not be able to repair the disk.
You might want to consider a secondary backup plan if you elect to contine to try the backups through the AirPort Extreme. -
Dear Team,
I am using HP-UX with Oracle. When I am doing Full Online backup via db13 . It give error
BR0428W File /oracle/PRD/sapreorg/sr3700.data11.Z will be overwritten
BR0202I Saving /oracle/PRD/sapreorg/sr3.data1.Z
BR0203I to /dev/rmt/0mn ...
BR0278E Command output of 'LANG=C dd obs=128k bs=128k if=/oracle/PRD/sapreorg/sr3.data1.Z of=/dev/rmt/0mn':
1190+0 records in
1189+1 records out
I/O error
BR0280I BRBACKUP time stamp: 2009-07-15 03.12.35
BR0279E Return code from 'LANG=C dd obs=128k bs=128k if=/oracle/PRD/sapreorg/sr3.data1.Z of=/dev/rmt/0mn': 2
BR0222E Copying /oracle/PRD/sapreorg/sr3.data1.Z to/from /dev/rmt/0mn failed due to previous errors
BR0280I BRBACKUP time stamp: 2009-07-15 03.12.37
BR0317I 'Alter tablespace PSAPSR3 end backup' successful
BR0056I End of database backup: bebadoop.fnt 2009-07-15 03.12.35
But archive log is working fine.
RajHi,
What is the pathc level of BR*Tools. Check if this Note 994136 - Backup to hard disk fails with error BR0278E SAP note helps you.
I/O error
Also check OS logs.
Thanks
Sushil -
Full Online + REDO Log backup failing
Hi Experts,
We have a failing backup when running a 'Full Online + REDO Logs' scheduled via DB13 (ERP6/Windows 2008/Oracle 10.2.0.4)
Whilst it is successful in backing up the datafiles and the REDO logs to the remote destination, it fails to catalog the backup, displaying the following message:
ORA-19625: error identifying file
Backup_Destination\BEFSDJTA\SR3.DATA10
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.
RMAN>
Recovery Manager complete.
BR0280I BRBACKUP time stamp: 2011-04-21 07.20.49
BR0279E Return code from 'F:\oracle\SID\102\BIN\rman nocatalog': 1
BR0536E RMAN call for database instance EQ1 failed
BR0280I BRBACKUP time stamp: 2011-04-21 07.20.49
BR0532E Cataloging backups of all database files failed
From what I understand, RMAN runs under the OracleService<SID> service, which calls the oracle.exe process, which is owned by the local user SYSTEM. This accounts for the access denied problem when accessing the remote destination using the RMAN utility.
As a test, I'm aware that if I change the ownership of oracle.exe to a non-local, domain user (<SID>adm), I can run RMAN commands without the permission denied error occuring. (performed this on a Sandbox)
The problem when I use this <SID>adm account as the oracle.exe owner, is that the SAP application Work Processes won't connect to oracle.
My questions are:
Is it a valid workaround to change the process owner of oracle.exe to something other than the local SYSTEM user?
If so, what are the criteria that need to be met for the new domain user to ensure that the SAP application is stable?
Does anyone know of an alternative workaround?
Thanks,
Chris WHi Markus,
Thanks for the response.
I've managed to get the SAP application to run with Oracle using the <SID>adm account as the OracleService<SID> owner.
The original problem with the SAP work processes in connecting with the Oracle database was due to the Oracle listener services also being owned by local user SYSTEM.
I changed the listener services ownership to <SID>adm (as well as the OracleService<SID>) and this allowed the connection between the SAP work processes and Oracle.
Also, I gave the domain <SID>adm account local administrator rights (same as SYSTEM) and have seen no problems since the switch.
I can also access a remote host using the RMAN utility - problem appears to be solved.
Chris -
Hi everyone,
When I'm scheduling Archive log backup through DB13 the backup are failing.
Here is the logfile of the failed Redo log backup file.
2008-09-03 14:45:05 Job started
2008-09-03 14:45:05 Step 001 started (program RSDBAJOB, variant &0000000000014, user ID ROHANKU)
2008-09-03 14:45:05 Execute logical command BRARCHIVE On host ncsdev12
2008-09-03 14:45:05 Parameters:-u / -jid LOG__20080903144505 -c force -p initRD1.sap -cds
2008-09-03 14:45:53 BR0002I BRARCHIVE 7.00 (24)
2008-09-03 14:45:53 BR0006I Start of offline redo log processing: adystlhx.cds 2008-09-03 14.45.05
2008-09-03 14:45:53 BR0484I BRARCHIVE log file: /hcs/oracle/RD1/saparch/adystlhx.cds
2008-09-03 14:45:53 BR0477I Oracle pfile /hcs/oracle/RD1/102_64/dbs/initRD1.ora created from spfile /lms/oracle/RD1/102_64/dbs/spfileRD1.ora
2008-09-03 14:45:53
2008-09-03 14:45:53 BR0280I BRARCHIVE time stamp: 2008-09-03 14.45.07
2008-09-03 14:45:53 BR0008I Offline redo log processing for database instance: RD1
2008-09-03 14:45:53 BR0009I BRARCHIVE action ID: adystlhx
2008-09-03 14:45:53 BR0010I BRARCHIVE function ID: cds
2008-09-03 14:45:53 BR0048I Archive function: copy_delete_save
2008-09-03 14:45:53 BR0011I 1 offline redo log file found for processing, size 41.846 MB
2008-09-03 14:45:53 BR0130I Backup device type: util_file
2008-09-03 14:45:53 BR0109I Files will be saved by backup utility
2008-09-03 14:45:53 BR0134I Unattended mode with 'force' active - no operator confirmation allowed
2008-09-03 14:45:53
2008-09-03 14:45:53 BR0280I BRARCHIVE time stamp: 2008-09-03 14.45.07
2008-09-03 14:45:53 BR0229I Calling backup utility with function 'backup'...
2008-09-03 14:45:53 BR0278I Command output of '/usr/sap/RD1/SYS/exe/run/backint -u RD1 -f backup -i /lms/oracle/RD1/saparch/.adystlhx.lst -t file -p
2008-09-03 14:45:53 ERROR - Failed to get the policy method type: LNSDQP10-SAP
2008-09-03 14:45:53 ERROR: incorrect format or option in .utl file (-p)
2008-09-03 14:45:53 BR0280I BRARCHIVE time stamp: 2008-09-03 14.45.52
2008-09-03 14:45:53 BR0279E Return code from '/usr/sap/RD1/SYS/exe/run/backint -u RD1 -f backup -i /lms/oracle/RD1/saparch/.adystlhx.lst -t file -p
2008-09-03 14:45:53
2008-09-03 14:45:53 BR0232E 0 of 1 file saved by backup utility
2008-09-03 14:45:53 BR0280I BRARCHIVE time stamp: 2008-09-03 14.45.52
2008-09-03 14:45:53 BR0231E Backup utility call failed
2008-09-03 14:45:53
2008-09-03 14:45:53 BR0016I 0 offline redo log files processed, totalsize 0.000 MB
2008-09-03 14:45:53
2008-09-03 14:45:53 BR0007I End of offline redo log processing: adystlhx.cds 2008-09-03 14.45.53
2008-09-03 14:45:53 BR0280I BRARCHIVE time stamp: 2008-09-03 14.45.53
2008-09-03 14:45:53 BR0005I BRARCHIVE terminated with errors
2008-09-03 14:45:53 External program terminated with exit code 5
2008-09-03 14:45:53 BRARCHIVE returned error status E
2008-09-03 14:45:53 Job finished
Can you please help me out.
Thanks in Advance.
Regards,
RohanHi Rohan,
Are you using any backup software to manage SAP Backups? Has anything changed? Any upgrades done to backup software?
2008-09-03 14:45:53 BR0278I Command output of '/usr/sap/RD1/SYS/exe/run/backint -u RD1 -f backup -i /lms/oracle/RD1/saparch/.adystlhx.lst -t file -p
2008-09-03 14:45:53 ERROR - Failed to get the policy method type: LNSDQP10-SAP
2008-09-03 14:45:53 ERROR: incorrect format or option in .utl file (-p)
Cheers,
Nisch -
Backup Not Starting for 'Whole database offline + redo log backup' @ DB13
Hi Experts,
I am not able to perform 'Whole database offline + redo log backup' by DB13.
I have recently configured my 'init<SID>.sap' to take 'Whole database online + redo log backup' and its working perfectly fine.
I tried taking test backup for 'Whole database offline + redo log backup' but it didn't even started.
Thus I created another profile with name init<SID>back.sap and changed the Parameter
from 'backup_type = online' to 'backup_type = offline' and also tried by 'backup_type = offline_force'
rest all parameters being same as the profile init<SID>.sap
Kindly Suggest as I need to take set the backup Strategy as Mon-Fri -> 'Whole database offline + redo log backup' and Sat -> 'Whole database offline + redo log backup'
One more Query : While taking the redo log backup by DB13 why is it that some times it only saves the Files and some time it
saves and delete the files from the '/oracle/<SID>/oraarch' location. Please throw some light over this matter also.
Thanks,
JiteshHi Mr Bhavik,
Thanks for your reply.. Here are the details you have asked for.
1.My SAP BASIS Patch Level is : 10. ( We shall be updating it by the end of this Year)
2. Br*tools version is :
BRTOOLS 7.00 (11)
kernel release 700
patch level 11
3. I don't have any file with name alert<dbsid>.log file (located at /oracle/<SID>/saptrace/background/) but i do have alert_<SID>.log
I execute the command more -p G alert_JMD.log
after my 'Whole database offline + redo log backup' again failed at DB13 but I was not able to see any specific complains while executing the above action.
I got the Error Detailed Log in DB13 as :
Detail log: beeneedv.aft
BR0051I BRBACKUP 7.00 (20)
BR0055I Start of database backup: beeneedv.aft 2010-11-08 13.16.43
BR0484I BRBACKUP log file: /oracle/JMD/sapbackup/beeneedv.aft
BR0280I BRBACKUP time stamp: 2010-11-08 13.16.43
BR0261E BRBACKUP cancelled by signal 13
BR0056I End of database backup: beeneedv.aft 2010-11-08 13.16.44
BR0280I BRBACKUP time stamp: 2010-11-08 13.16.45
BR0054I BRBACKUP terminated with errors
4. No I have not yet Tried 'execute such Offline+REdo log backups using brback command', will Try and post it Definately
5. Query : select grantee, granted_role from dba_role_privs;
result :
SQL> select grantee, granted_role from dba_role_privs;
GRANTEE GRANTED_ROLE
SYS SAPDBA
SYS EXP_FULL_DATABASE
SYS CONNECT
IMP_FULL_DATABASE SELECT_CATALOG_ROLE
DBSNMP OEM_MONITOR
SAPSR3 CONNECT
OPS$SAPSERVICEJMD SAPDBA
SYS SELECT_CATALOG_ROLE
DBA DELETE_CATALOG_ROLE
DBA EXECUTE_CATALOG_ROLE
SYSTEM DBA
GRANTEE GRANTED_ROLE
OPS$ORAJMD SAPDBA
SAPDBA GATHER_SYSTEM_STATISTICS
SYS SCHEDULER_ADMIN
SYS AQ_USER_ROLE
SYS GATHER_SYSTEM_STATISTICS
SYS DELETE_CATALOG_ROLE
DBA GATHER_SYSTEM_STATISTICS
DBA IMP_FULL_DATABASE
EXECUTE_CATALOG_ROLE HS_ADMIN_ROLE
IMP_FULL_DATABASE EXECUTE_CATALOG_ROLE
OPS$JMDADM CONNECT
GRANTEE GRANTED_ROLE
SYS LOGSTDBY_ADMINISTRATOR
SYS EXECUTE_CATALOG_ROLE
SYS RESOURCE
DBA SCHEDULER_ADMIN
DBA SELECT_CATALOG_ROLE
EXP_FULL_DATABASE EXECUTE_CATALOG_ROLE
SAPDBA SELECT_CATALOG_ROLE
SYS SAPCONN
SYS OEM_ADVISOR
SYS IMP_FULL_DATABASE
SELECT_CATALOG_ROLE HS_ADMIN_ROLE
GRANTEE GRANTED_ROLE
OUTLN RESOURCE
LOGSTDBY_ADMINISTRATOR RESOURCE
SAPSR3 RESOURCE
OPS$SAPSERVICEJMD RESOURCE
SYS RECOVERY_CATALOG_OWNER
DBA EXP_FULL_DATABASE
EXP_FULL_DATABASE SELECT_CATALOG_ROLE
TSMSYS RESOURCE
OPS$ORAJMD RESOURCE
SAPCONN SELECT_CATALOG_ROLE
SYS OEM_MONITOR
GRANTEE GRANTED_ROLE
SYS AQ_ADMINISTRATOR_ROLE
SYS DBA
SYSTEM AQ_ADMINISTRATOR_ROLE
OPS$ORAJMD CONNECT
OPS$JMDADM SAPDBA
OPS$JMDADM RESOURCE
SAPSR3 SAPCONN
SYS HS_ADMIN_ROLE
SYSTEM SAPDBA
OPS$SAPSERVICEJMD CONNECT -
Tran log backup fail after setting a DB offline
This is strange. SQL 2005 SP3 (build 4340). Full backup job and tran log backup job are separate maint plans/Agent jobs as opposed to multiple steps in one maint plan (don't ask me... I didn't set it up that way.)
I set a database XYZ offline last night at around 9pm. It was last backed up at 8pm (full recovery mode). My tran log backup started failing then. This morning, I detached the database. Tran log backup job still failing.
I finally realized it had something to do with database XYZ so I re-attached it. Tran log backup working now. The weird thing is that XYZ had not been selected only specific databases, and the detached database isn't selected. I
tried setting to simple recovery mode and doing a final full backup before detaching, but tran log job still fails. How can I get rid of database XYZ without the tran job failing? Thanks.I have encountered this problem. I concur with EA. But you would need to modify the maintenance plan and save it (uncheck and check a database again) to rectify the problem (if you just open the maintenance plan and save it, it will still fail)
Satish Kartan http://www.sqlfood.com/ -
Redo log backup failing with BR253E errno 2:
Hi all,
I am able to take online as well as offline backup through sapdba , but unfortunately from last 7 days my redo log backup is failing after online backup is complete with below mentioned error. I also tried to start redo log backup seperately but failed as below...
BR002I BRARCHIVE 6.20 (18)
BR006I Start of offline redo log processing: adwpawsw.sve 2007-11-13 21.33.22
BR280I Time stamp 2007-11-13 21.33.25
BR008I Offline redo log processing for database instance: PRD
BR009I BRARCHIVE action ID: adwpawsw
BR010I BRARCHIVE function ID: sve
BR048I Archive function: save
BR011I 195 offline redo log files found for processing, total size 9469.831 MB
BR112I Files will not be compressed
BR130I Backup device type: disk
BR106I Files will be saved on disk in directory: F:\oracle\PRD\sapbackup
BR126I Unattended mode active - no operator confirmation required
BR202I Saving init_ora
BR203I to F:\oracle\PRD\sapbackup\PRD ...
BR202I Saving o:\orcle\prd\920\DATABASE\initPRD.sap
BR203I to F:\oracle\PRD\sapbackup\PRD ...
BR280I Time stamp 2007-11-13 21.33.26
BR198I Profiles saved successfully
BR252E Function fopen() failed for 'F:\oracle\PRD\sapbackup\.PRD/oraarch/PRDarch
ARC10479.001' at location arch_process-4
BR253E errno 2: No such file or directory
BR121E Processing log file F:\oracle\PRD\sapbackup\.PRD/oraarch/PRDarchARC10479.
001 failed
BR016I 0 offline redo log files processed, total size 0.000 MB
BR007I End of offline redo log processing: adwpawsw.sve 2007-11-13 21.33.26
BR280I Time stamp 2007-11-13 21.33.26
BR005I BRARCHIVE terminated with errors
End of output from program 'BRARCHIVE' -
SAPDBA: Execution of BRARCHIVE failed.
(2007-11-13 21.33.27)
Press <return> to continue ...
SAPDBA: Last line from BRARCHIVE summary log:
'#* PRD disk adwpawsw sve 2007-11-13 21.33.22 2007-11-13 21.33.26
5 ........... -
c 6.20 (18)'
Press <return> to continue ...
Appreciate your quick replies.
Best Regards,
AjitRUnfortunately backlogs point to directory
<b>'F:\oracle\PRD\sapbackup\.PRD</b>
But i have my logfiles getting archived at D:\oracle\PRD\oraarch
and they are supposed to be backed up at F:\oracle\PRD\sapbackup
Below is my init.sap file for your ref, i cant find where this <b>.PRD</b> folder came from
backup mode [all | all_data | full | incr | sap_dir | ora_dir
| <tablespace_name> | <file_id> | <file_id1>-<file_id2>
| <generic_path> | (<object_list>)]
default: all
backup_mode = all
restore mode [all | all_data | full | incr | incr_only | incr_full
| <tablespace_name> | <file_id> | <file_id1>-<file_id2>
| <generic_path> | (<object_list>)]
redirection with '=' is not supported here - use option '-m' instead
default: all
restore_mode = all
backup type [offline | offline_force | offline_standby | offline_split
| offline_stop | online | online_cons | online_split]
default: offline
backup_type = offline
backup device type
[tape | tape_auto | tape_box | pipe | pipe_auto | pipe_box | disk
| disk_copy | disk_standby | stage | stage_copy | stage_standby
| util_file | util_file_online | rman_util | rman_disk | rman_stage
| rman_prep]
default: tape
#backup_dev_type = tape
backup_dev_type = disk
backup root directory [<path_name> | (<path_name_list>)]
default: %SAPDATA_HOME%\sapbackup
#backup_root_dir = D:\oracle\PRD\sapbackup
backup_root_dir = F:\oracle\PRD\sapbackup
stage root directory [<path_name> | (<path_name_list>)]
default: value of the backup_root_dir parameter
#stage_root_dir = D:\oracle\PRD/sapbackup
stage_root_dir = F:\oracle\PRD\sapbackup
compression flag [yes | no | hardware | only]
default: no
compress = no
compress command
first $-character is replaced by the source file name
second $-character is replaced by the target file name
<target_file_name> = <source_file_name>.Z
for compress command the -c option must be set
recommended setting for brbackup -k only run:
"%SAPEXE%\mkszip -l 0 -c $ > $"
no default
compress_cmd = "@SAPEXE@\mkszip -c $ > $"
uncompress command
first $-character is replaced by the source file name
second $-character is replaced by the target file name
<source_file_name> = <target_file_name>.Z
for uncompress command the -c option must be set
no default
uncompress_cmd = "@SAPEXE@\uncompress -c $ > $"
directory for compression [<path_name> | (<path_name_list>)]
default: value of the backup_root_dir parameter
#compress_dir = D:\oracle\PRD/sapreorg
compress_dir = F:\oracle\PRD\sapreorg
brarchive function [save | second_copy | double_save | save_delete
| second_copy_delete | double_save_delete | copy_save
| copy_delete_save | delete_saved | delete_copied]
default: save
archive_function = save
directory for archive log copies to disk
default: first value of the backup_root_dir parameter
#archive_copy_dir = D:\oracle\PRD/sapbackup
archive_copy_dir = F:\oracle\PRD\sapbackup
directory for archive log copies to stage
should contain <SID> subdirectory
default: first value of the stage_root_dir parameter
#archive_stage_dir = D:\oracle\PRD/sapbackup
archive_stage_dir = f:\oracle\PRD\sapbackup
new database home directory for disk_copy | disk_standby
no default
new_db_home = X:\oracle\C11
stage database home directory for stage_copy | stage_standby
default: value Cof the new_db_home parameter
stage_db_home = /oracle/C11
original database home directory for split mirror disk backup
no default
orig_db_home = /oracle/C11 -
Problem with Whole Database Online+Redo log Backup
Dear Marcus Sir,
I am facing while taking "Whole Database Online+Redo log Backup" through DB13 T-Code.
Below is the "Problem part of the Backup log", however if you need I will send you full log.
Hope you will find out problem soon
#FILE..... /oracle/ANP/sapdata2/sr3_8/sr3.data8
#SAVED.... sr3.data8 ANPB260810/12
BR0280I BRBACKUP time stamp: 2010-08-27 11.03.22
BR0063I 9 of 51 files processed - 19400.070 MB of 135986.469 MB done
BR0204I Percentage done: 14.27%, estimated end time: 11:47
BR0001I *******___________________________________________
BR0202I Saving /oracle/ANP/sapdata2/sr3_9/sr3.data9
BR0203I to /dev/rmt0.1 ...
BR0278E Command output of 'LANG=C dd obs=1024K bs=1024K if=/oracle/ANP/sapdata2/sr3_9/sr3.data9 of=/dev/rmt0.1':
dd read error: I/O error
462+0 records in
462+0 records out
BR0280I BRBACKUP time stamp: 2010-08-27 11.03.36
BR0279E Return code from 'LANG=C dd obs=1024K bs=1024K if=/oracle/ANP/sapdata2/sr3_9/sr3.data9 of=/dev/rmt0.1': 2
BR0222E Copying /oracle/ANP/sapdata2/sr3_9/sr3.data9 to/from /dev/rmt0.1 failed due to previous errors
BR0280I BRBACKUP time stamp: 2010-08-27 11.03.41
BR0317I 'Alter tablespace PSAPSR3 end backup' successful
BR0056I End of database backup: bedziydp.ant 2010-08-27 11.03.36
BR0280I BRBACKUP time stamp: 2010-08-27 11.03.41
BR0054I BRBACKUP terminated with errors
Warm Regards
AhsanHi,
since you are getting a read error, it might as well be, that your datafile is defective.
Try the same dd-command to /dev/null, to see if it is possible to read the entire file.
First make sure that your null-device is existing, otherwise you might face a root-fs full problem.
dd obs=1024K bs=1024K if=/oracle/ANP/sapdata2/sr3_9/sr3.data9 of=/dev/null
or try a dbverify on it, which would also read the entire file and do a checksum test.
brbackup -c -u / -m /oracle/ANP/sapdata2/sr3_9/sr3.data9 -t online -w only_dbv
Good luck
Volker -
Hi
I am trying to take "redo log backup" through db13 but it show following error and terminate.
BR0252E Function fopen() failed for '/oracle/SEP/saparch/aeatzgjn.cds' at location file_printout-4
BR0253E errno 2: No such file or directory
External program terminated with exit code 5
Regards
Vikramhi,
set your ORACLE_HOME properly. also check file initPRD.sap
set SAPCHECK for user SAPservicePRD and try again.
SAP Note 656365 - Error due to missing BRCONNECT functions
SAP Note: 12741
can you look at this
[http://help.sap.com/saphelp_nw70/helpdata/en/65/96f1e4a6974512962197918624e1c5/content.htm]
Regards,
Muralidhar -
DB13: Execute Redo log backup of remote Oracle 11g database fails
Dear Experts,
First of all I have to state I am not very experienced in administrating (Oracle) databases, but I would like to ask you all the following:
We run two SAP Systems with each their own database on the same host:
1. SAP SRM ABAP system on Oracle 11g
2. SAP NetWeaver WebAS Java (Portal) on Oracle 11g
We would like to schedule backups of the Java database in transaction code DB13 on the SRM ABAP system.
Actions already taken:
- We have maintained the proper database connection to the Java database and have set file system permissions correctly (according SAP Note 102570). Connection in transaction DB02 is fine and stats are showing for both databases.
- We have maintained enviroment settings for <SID>_ORACLE_HOME and <SID>_SAPDATA_HOME and for the shell (csh).
- Destination SAPXPG_DBDEST_<host> is maintained in SM59.
When we schedule a Redo log backup of Java System in DB13 and execute immediately, we receive the following error:
Process died due to signal 11
SXPG_COMMAND_EXECUTE mislukt voor BRARCHIVE - oorzaak: unknown
Any tips?
Thanks in advance & Best regards,
Jan LarosHi Eduardo,
Thank you for your reply.. Today I am at another customer, so I can not check it. But is seems to me that the BRTOOLS are up-to-date as we installed the system fresh and imported the Support Package and kernel updates right afterwards.
I will check which BRTOOLS are used tonight, anyway.
Best regards,
Jan
Maybe you are looking for
-
I am using this program to parse a XML file and that's the error I am getting.... Code: import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.do
-
Is there a way to import - export routes or locations from HERE from-to other devices? I have a lot of routes created with different softwares and would like to import them on my Nokia phone. Igor http://jenga.wordpress.com
-
CANT FIND adobe photoshop express editor FOR WIN 7 64 BIT
%ANY IDEAS%?
-
hola buenas tardes no puedo instalar aplication manager. los quiero instalar en win 8
-
How can I extract trading data within sales data
hi experts, How can I extract trading data (2LIS_46_ITM) with sales data (2lis_11_VAITM) ? I want only one data source and extract data of both data source. I have noticed that many fields are common but other fields are not common. M