cancel
Showing results for 
Search instead for 
Did you mean: 

brbackup failed with errors

Former Member
0 Kudos

Hi,

We are having problem to take backup usin brtools, the following error message showingup, please tell me step by step to resolve this issue.

###############################################################################

BR0051I BRBACKUP 7.00 (11)

BR0055I Start of database backup: bduvdxea.afd 2007-03-16 06.08.44

BR0252E Function fopen() failed for '/oracle/E04/sapbackup/backE04.log' at location main-10

BR0253E errno 13: Permission denied

BR0121E Processing of log file /oracle/E04/sapbackup/backE04.log failed

BR0056I End of database backup: bduvdxea.afd 2007-03-16 06.08.44

BR0280I BRBACKUP time stamp: 2007-03-16 06.08.44

BR0054I BRBACKUP terminated with errors

###############################################################################

BR0292I Execution of BRBACKUP finished with return code 3

BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action

BR0280I BRTOOLS time stamp: 2007-03-16 06.08.44

BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:

Regards

Srinivas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

refer SAPNote 651351 - BR tools on UNIX: Error due to executable permissions

Cheers,

-Sunil

Former Member
0 Kudos

Thanks Vinod, Suni. I changed permissions based on OSS# 113747, but still getting error.

errors, file permissions and env file information shown below. Please suggest me , if any thing wrong.

Regards

Srinivas.

***************************************************************************************

brbackup as <orasid>

Standard keys: c - cont, b - back, s - stop, r - refr, h - help

-


BR0662I Enter your choice:

c

BR0280I BRTOOLS time stamp: 2007-03-16 08.03.01

BR0663I Your choice: 'c'

BR0259I Program execution will be continued...

BR0291I BRBACKUP will be started with options '-p initE04.sap -d disk -t offline

-m all -k yes -e 0 -l E'

BR0280I BRTOOLS time stamp: 2007-03-16 08.03.01

BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:

c

BR0280I BRTOOLS time stamp: 2007-03-16 08.03.04

BR0257I Your reply: 'c'

BR0259I Program execution will be continued...

###############################################################################

BR0051I BRBACKUP 7.00 (11)

BR0055I Start of database backup: bduvehhx.afd 2007-03-16 08.03.05

BR0252E Function fopen() failed for '/oracle/E04/sapbackup/backE04.log' at locat

ion main-10

BR0253E errno 13: Permission denied

BR0121E Processing of log file /oracle/E04/sapbackup/backE04.log failed

BR0056I End of database backup: bduvehhx.afd 2007-03-16 08.03.05

BR0280I BRBACKUP time stamp: 2007-03-16 08.03.06

BR0054I BRBACKUP terminated with errors

###############################################################################

BR0292I Execution of BRBACKUP finished with return code 3

BR0668I Warnings or errors occurred - you can continue to ignore them or go back

to repeat the last action

BR0280I BRTOOLS time stamp: 2007-03-16 08.03.06

BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:

************************************************************************************

brbackup as <sid>adm

##############################################################################

BR0051I BRBACKUP 7.00 (11)

BR0055I Start of database backup: bduvejbt.afd 2007-03-16 08.22.57

BR0252E Function fopen() failed for '/oracle/E04/sapbackup/backE04.log' at location main-10

BR0253E errno 13: Permission denied

BR0121E Processing of log file /oracle/E04/sapbackup/backE04.log failed

BR0056I End of database backup: bduvejbt.afd 2007-03-16 08.22.57

BR0280I BRBACKUP time stamp: 2007-03-16 08.22.57

BR0054I BRBACKUP terminated with errors

###############################################################################

BR0292I Execution of BRBACKUP finished with return code 3

BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action

BR0280I BRTOOLS time stamp: 2007-03-16 08.22.57

*******************************************************************************

*******************************************************************************************

brtools files permissions: /usr/sap/<SID>/SYS/exe/run

***********************************************************************************************-rwsrwxr-x 1 orae04 sapsys 3539712 Mar 14 23:18 brarchive

-rwsrwxr-x 1 orae04 sapsys 3649872 Mar 14 23:18 brbackup

-rwsrwxr-x 1 orae04 sapsys 4767888 Mar 14 23:18 brconnect

-rwxr-xr-x 1 e04adm sapsys 3960440 Mar 14 23:18 brrecover

-rwxr-xr-x 1 e04adm sapsys 1439520 Mar 14 23:18 brrestore

-rwxr-xr-x 1 e04adm sapsys 4911024 Mar 14 23:18 brspace

-rwsrwxr-x 1 orae04 sapsys 2008984 Mar 14 23:18 brtools

***********************************************************************************************

Environment Variables:

USER=e04adm

LOGNAME=e04adm

HOME=/home/e04adm

PATH=/oracle/E04/102_64/bin:.:/home/e04adm:/usr/sap/E04/SYS/exe/run:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/

opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/resmon/bin:/opt/hparray/bin:/opt/perf/bin:/opt/ignite/bin:/opt/hpnpl//bin:/opt/graphics/common/bin:/

opt/gnome/bin:/opt/mozilla:/usr/sbin/diag/contrib:/opt/mx/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/langtools/bin:/opt/imake/bin:/opt/OV/bin/OpC

MAIL=/var/mail/e04adm

SHELL=/usr/bin/csh

TZ=EST5EDT

SSH_CLIENT=10.107.6.89 1166 22

SSH_CONNECTION=10.107.6.89 1166 10.100.19.114 22

DISPLAY=10.100.19.114:10.0

LOG_SFTP=0

SFTP_LOG_FACILITY=2

SFTP_LOG_LEVEL=3

SFTP_UMASK=

SFTP_PERMIT_CHMOD=1

SFTP_PERMIT_CHOWN=1

SAPSYSTEMNAME=E04

DIR_LIBRARY=/usr/sap/E04/SYS/exe/run

SHLIB_PATH=/usr/sap/E04/SYS/exe/run:/oracle/client/10x_64/instantclient

THREAD=NOPS

dbms_type=ORA

dbs_ora_tnsname=E04

dbs_ora_schema=SAPE04

ORACLE_SID=E04

DB_SID=E04

ORACLE_HOME=/oracle/E04/102_64

ORACLE_BASE=/oracle

TNS_ADMIN=/oracle/E04/102_64/network/admin

ADD=/oracle/client/10x_64/instantclient

NLS_LANG=AMERICAN_AMERICA.WE8DEC

SAPDATA_HOME=/oracle/E04

WINDOWID=4194330

TERM=hp

COLUMNS=167

LINES=54

MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/usr/dt

/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/resmon/share/man:/opt/hparray/share/man/%L:/opt/hparray/share/man

:/opt/perf/man/%L:/opt/perf/man:/opt/hpnpl//man:/opt/graphics/common/man:/opt/mx/share/man:/opt/samba/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/

opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/gnome/man:/opt/wbem/share/man:/opt/audio/share/man:/opt/ansic/share/man/%L:/opt/ansic/share/man:/opt/langt

ools/share/man/%L:/opt/langtools/share/man:/opt/image/share/man:/opt/imake/man:/opt/ssh/share/man

Former Member
0 Kudos

Hi

Again it is permission problem .

U have execute permission for tools Have the same for Directories from which u want to read and place.Have right permissions in place.

ora<sid> belongs to the dba group,

<sid>adm belongs to the sapsys group,

Enter manually /oracle/E04/sapbackup and modify some thing.

Every thing will be ok.

Vinod

Former Member
0 Kudos

There is still problem with permission, could you please check the owner/group for /oracle/E04/sapbackup

Cheers,

-Sunil

former_member204746
Active Contributor
0 Kudos

note the actual permissions of /oracle/E04/sapbackup and /oracle/E04/sapbackup/initE04.log

then:

chmod 777 /oracle/E04/sapbackup

chmod 666 /oracle/E04/sapbackup/initE04.log

try again to see if this helps. if not, upgrade BRTOOLS to latest patch level (20 or above)

if this helps, tell us which permissions are assigned to fix them properly.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Authorization problem

ora<sid> belongs to the dba group,

<sid>adm belongs to the sapsys group,

brarchive, brbackup, brconnect, brtools have permission 4775

These can be started by the ora<sid> or the <sid>adm OS user.

brrestore, brrecover, brspace, and sapdba have permission 755:

These can only be started by the ora<sid> OS user

Ref note 113747.

Vinod