cancel
Showing results for 
Search instead for 
Did you mean: 

BRARCHIVE Error after SAP Kernel Upgrade

Former Member
0 Kudos

Hi,

I upgraded recently the SAP Kernel on a DEV server, since then the backup of redo logs doesn't work. However the full backup is OK.

By running the brachive command :

brarchive -p initSID_arch.sap -r initSID_arch.utl -c force -u /

I get the following error :

BR0002I BRARCHIVE 7.10 (30)

BR0169I Value 'util_file_online' of parameter/option 'backup_dev_type/-d' ignored for 'brarchive' - 'util_file' assumed

BR0006I Start of offline redolog processing: aehbkicv.svd 2011-10-24 17.42.33

BR0484I BRARCHIVE log file: /oracle/SID/saparch/aehbkicv.svd

BR0477I Oracle pfile /oracle/SID/112_64/dbs/initSID.ora created from spfile /oracle/SID/112_64/dbs/spfileSID.ora

BR0280I BRARCHIVE time stamp: 2011-10-24 17.42.35

BR0008I Offline redolog processing for database instance: SID

BR0009I BRARCHIVE action ID: aehbkicv

BR0010I BRARCHIVE function ID: svd

BR0048I Archive function: save_delete

BR0011I 226 offline redolog files found for processing, total size 20473.177 MB

BR0130I Backup device type: util_file

BR0109I Files will be saved by backup utility at file level

BR0134I Unattended mode with 'force' active - no operator confirmation allowed

BR0280I BRARCHIVE time stamp: 2011-10-24 17.42.35

BR0229I Calling backup utility with function 'backup'...

BR0278I Command output of '/usr/sap/SID/SYS/exe/run/backint -u SID -f backup -i /oracle/SID/saparch/.aehbkicv.lst -t file -p /oracle/SID/112_64/dbs/initSID_arch.utl -c':

Cannot reopen backint log file as stderr.

Check whether path and permission are set properly. On Windows, "^M" in the line might cause problem.

Filename is /nsr/applogs/arch_backintSID.log

BR0280I BRARCHIVE time stamp: 2011-10-24 17.42.36

BR0279E Return code from '/usr/sap/SID/SYS/exe/run/backint -u SID -f backup -i /oracle/SID/saparch/.aehbkicv.lst -t file -p /oracle/SID/112_64/dbs/initSID_arch.utl -c': 2

BR0232E 0 of 226 files saved by backup utility

BR0280I BRARCHIVE time stamp: 2011-10-24 17.42.36

BR0231E Backup utility call failed

BR0016I 0 offline redolog files processed, total size 0.000 MB

BR0007I End of offline redolog processing: aehbkicv.svd 2011-10-24 17.42.36

BR0280I BRARCHIVE time stamp: 2011-10-24 17.42.36

BR0005I BRARCHIVE terminated with errors

I checked permissions, owners and all backup config files, everything seems to be OK.

Someone could help.

Many thanks in advance

Regards

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Deepak

I renamed the file arch_backintSID.log and it was recreated after starting archiving

It works now.

Many Thanks for your support

Regards,

Former Member
0 Kudos

Hi Deepak,

There is no extra characters like ^M in the file arch_backintSID.log.

Indeed the backup tool is not able to read this file, I will maybe try to rename it and restart archiving. The file should normally be recreated.

What do you think about that ?

Thanks

former_member188883
Active Contributor
0 Kudos

Hi Abdellatif ,

Please go ahead and try it. Update us with your findings on the same.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi

All these checks have been made :

Permissions/owner of /nsr/applogs/arch_backintSID.log have been checked and are OK.

Permissions/owner of the executable are also alright :

-rwsrwxr-x 1 oraSID sapsys 6484100 Jan 30 2010 /sapmnt/SID/exe/brarchive

-rwsrwxr-x 1 oraSID sapsys 6657295 Jan 30 2010 /sapmnt/SID/exe/brbackup

-rwsrwxr-x 1 oraSID sapsys 8559265 Jan 30 2010 /sapmnt/SID/exe/brconnect

-rwxr-xr-x 1 SIDadm sapsys 7246249 Jan 30 2010 /sapmnt/SID/exe/brrecover

-rwxr-xr-x 1 SIDadm sapsys 2704197 Jan 30 2010 /sapmnt/SID/exe/brrestore

-rwxr-xr-x 1 SIDadm sapsys 9074629 Jan 30 2010 /sapmnt/SID/exe/brspace

-rwxr-xr-x 1 SIDadm sapsys 3438384 Jan 30 2010 /sapmnt/SID/exe/brtools

-rwxrwxrwx 1 root system 1993504 Jul 14 2008 /sapmnt/SID/exe/backint

Thanks for each idea could help.

Regards

former_member188883
Active Contributor
0 Kudos

Hi,

Can you see the file arch_backintSID.log whether it has some extra characters like ^M. May be backup tool is not able to read this file.

Regards,

Deepak Kori

former_member188883
Active Contributor
0 Kudos

Hi Abdellatif,

Please ensure that backint executable has full permission (777) and root is the owner for the same.

Regards,

Deepak Kori

Former Member
0 Kudos

>>> Cannot reopen backint log file as stderr.

Check whether path and permission are set properly. On Windows, "^M" in the line might cause problem.

Filename is /nsr/applogs/arch_backintSID.log

Hello,

Did you check the permissions/owner of /nsr/applogs/arch_backintSID.log ?

Also please verify the permissions/owner of brarchive executable

113747 Permissions for DBA tools BR*Tools and SAPDBA

Thanks