cancel
Showing results for 
Search instead for 
Did you mean: 

Getting a error when trying to launch brtools

Former Member
0 Kudos

Hi all,

Could anyone please help getting the following error while trying to launch brtools.

ukbsfspg:tnxadm 35> brtools

BR0651I BRTOOLS 7.00 (32)

BR0252E Function stat() failed for '/usr/sap/TNX/SYS/exe/run/brarchive' at location BrFileStatGet-1

BR0253E errno 13: Permission denied

BR0273E Determination of file status for /usr/sap/TNX/SYS/exe/run/brarchive failed

BR0280I BRTOOLS time stamp: 2009-12-24 19.04.52

BR0654I BRTOOLS terminated with errors

Should i change the permissions.COuld anyone advise.Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

As recommended by sap in SAP note 113747, BRTOOLS (utilities) should have below file permissions for a smooth run.

brarchive, brbackup, brconnect, brtools have permission 4775:

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

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

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

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

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

Regards

Nick Loy

Former Member
0 Kudos

Hi,

Issue got resolved by changing the permssions of /sapmnt/<SID>

Answers (2)

Answers (2)

tony_prusa
Discoverer
0 Kudos

Yes, I see that this occurred TEN years ago for the last posted. Mine occurred today 11/27/2019.

My specific fix to this was, as root, execute

ls -lahd /sapmnt/???/exe/uc/sun_64

(permissions were 750 aka drwxr-x---)

chmod 755 /sapmnt/???/exe/uc/sun_64

(changed to 755 aka drwxr-xr-x)

??? can be used as a wildcard, or you can place specific CAPS SID there.

Thx

Tony

Former Member
0 Kudos

My analysis.In the directory global and profile are having a root permission is that because of that.Thanks in advance.

/usr/sap/TNX/SYS

drwxr-xr-x 3 tnxadm sapsys 96 Feb 17 2004 exe

drwxr-xr-x 4 tnxadm sapsys 96 Feb 17 2004 gen

lrwxr-xr-x 1 root sys 18 Jul 12 2005 global -> /sapmnt/TNX/global

lrwxr-xr-x 1 root sys 19 Jul 12 2005 profile -> /sapmnt/TNX/profile

peter_dzurov
Contributor
0 Kudos

Have you run saproot.sh <SID> as you are in kernel directory?

Former Member
0 Kudos

Hello,

Peter's suggestion seems to be right one. Please go through following Notes. Normally these kind of errors come if saproot.sh has not been executed or if somehow permissions/owner get changed manually

SAP Note 113747 - Permissions for DBA tools BR*Tools and SAPDBA

SAP Note 651351 - BR tools on UNIX: Error due to executable permissions