cancel
Showing results for 
Search instead for 
Did you mean: 

Brtools is giving error

Former Member
0 Kudos

Hi

I have done Kernel upgrade.System is up and running.But Brtools is not working.

BR tools report the following types of errors:

BR252E Function fopen() failed for

'/oracle/DEV/sapcheck/avxserd.ext' at location main-8

BR121E Processing log file /oracle/DEV/sapcheck/avxserd.ext failed

BR252E Function mkdir() failed for '/oracle/DEV/sapbackup' at

location DirCreate-1

BR231E Backup utility call failed

BR253E errno 13: Permission denied

BR278E Command output of 'LANG=C dd obs=64k bs=64k

if=/oracle/DEV/sapbackup/cntrlC11.dbf of=/dev/rmt/1mn':

/oracle/DEV/sapbackup/cntrlDEV.dbf: Permission denied

Please suggest.

Thanks,

Priya

Accepted Solutions (1)

Accepted Solutions (1)

shashisingh
Participant
0 Kudos

Please check the permission of brarchive, brbackup, and brconnect files

brarchive, brbackup, and brconnect belong to ora<sid> and have authorization 4774:

-rwsrwxr--   ora<sid>   sapsys   ...

brrestore, brrecover, brspace, and brtools belong to <sid>adm and have authorization 755:

-rwxr-xr-x   <sid>adm   sapsys   ...

Follow this notes for details

Note 113747 - Owners and authorizations for BR*Tools

Thanks,

Shashi

Former Member
0 Kudos

I have checked this notes and set the permissions but no luck

Thanks,

Priya

former_member206552
Active Contributor
0 Kudos

Hi Priya,

as what user are you running brtools and second can you please paste the

ls -la /oracle/SID

ls -la /sapmnt/SID/exe/br*

Best Regards

Marius

shashisingh
Participant
0 Kudos

Hi,

Check whether the "oracle" file exists on $ORACLE_HOME/bin, has a size

other than 0 and has the "-rwsr-s--x" authorizations. The owner must be

ora<sid>. The group is dba.

If the file is empty, you can create it again by relinking the software in

accordance with Note 97953.

You can assign authorizations and the owner/group as follows:

chmod 6751 oracle

chown ora<sid> oracle

chgrp dba oracle

Also check the authorization of the $ORACLE_HOME/bin directory. This should

be set to "drwxr-xr-x".

Thanks,

Shashi

Reagan
Advisor
Advisor
0 Kudos

Hello

BR121E Processing log file /oracle/DEV/sapcheck/avxserd.ext failed

BR252E Function mkdir() failed for '/oracle/DEV/sapbackup' at

location DirCreate-1

BR231E Backup utility call failed

BR253E errno 13: Permission denied

This is purely an issue with the BRTools and not with the Oracle binaries present at $ORACLE_HOME/bin.

chmod 6751 oracle

chown ora<sid> oracle

chgrp dba oracle

You don't need to change the oracle file permission to fix this issue.

All you need to do is run saproot.sh against the SID of the system after the kernel upgrade.

Suggesting to change the permission of the oracle binary file when the database is running is not a good practice.

Moreover relinking the oracle binaries wont help in fixing the permissions of the BRTools and this is not the case here.

Regards

RB

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Priya,

You need to run saproot.sh and oraroot.sh on the system after the kernel upgrade. This should solve the Brtools related issues that you are facing.

Regards,

Dwaipayan Roy Chowdhury

former_member188883
Active Contributor
0 Kudos

Hi Priya,

Please put chmod -R 777 to folder

/oracle/DEV/sapcheck

/oracle/DEV/sapbackup

Hope this helps.

Regards,

Deepak Kori