cancel
Showing results for 
Search instead for 
Did you mean: 

BRTOOLS errno 13 when logged in as user <sid>adm

Former Member
0 Kudos

Hi,

Just upgraded to 7.2 (14) BRTOOLS, Netweaver on Oracle/UNIX platform.

My brtools open when I'm logged in as ora<sid> user, however they fail with permissions on the Oracle directories when I try and run brtools as user <sid>adm.

I've verified the file permissions against a known working instance on the br files and they are matching.

The error I get is below, I know it must be file permissions somewhere, can someone advise, thanks.

hneccscd01s:s02adm 4% brtools

BR0651I BRTOOLS 7.20 (14)

BR0252W Function stat() failed for '/oracle/S02/saptrace/diag/rdbms/s02/S02/trace/alert_S02.log' at location BrFileStatGet-1

BR0253W errno 13: Permission denied

BR0273W Determination of file status for /oracle/S02/saptrace/diag/rdbms/s02/S02/trace/alert_S02.log failed

BR0252W Function stat() failed for '/oracle/admin/S02/adump' at location BrFileStatGet-1

BR0253W errno 13: Permission denied

BR0273W Determination of file status for /oracle/admin/S02/adump failed

BR0252E Function fopen() failed for '/oracle/S02/112_64/dbs/initS02.ora' at location BrInitOraRead-1

BR0253E errno 13: Permission denied

BR0158E Error reading Oracle profile /oracle/S02/112_64/dbs/initS02.ora

BR0280I BRTOOLS time stamp: 2011-08-26 15.01.42

BR0654I BRTOOLS terminated with errors

Cheers

Richie

SAP Basis

Accepted Solutions (1)

Accepted Solutions (1)

JPReyes
Active Contributor
0 Kudos

You need to read and apply SAP Note 113747 - Permissions for DBA tools BR*Tools and SAPDBA

Regards

Juan

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks, 113747 and 134592 resolved.

Cheers

Richie

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

You should run brtools with ora<sid> user. Why are you running this with <sid>adm user?

Thanks

Sunny

Former Member
0 Kudos

Hi Richie,

Are the environment variables properly set for <sid>adm and ora<sid>?

Try to see if the dot (.) profiles in the home directories of <sid>adm and ora<sid> are consistent.

Also, as ora<sid> recursively change the permissions for /oracle/S02/saptrace to 755 [chmod -R 755 /oracle/S02/saptrace]

Also check the permissions of brtools executables in the /sapmnt/<SID>/exe on the database server.

Normally, they should be something like shown below.

-rwxr-xr-x 1 <sid>adm sapsys 1578637 Feb 20 2011 brrestore

-rwsrwxr-x 1 ora<sid> sapsys 2303924 Feb 22 2011 brtools

-rwsrwxr-x 1 ora<sid> sapsys 4178065 Feb 24 2011 brarchive

-rwsrwxr-x 1 ora<sid> sapsys 4284895 Feb 24 2011 brbackup

-rwsrwxr-x 1 ora<sid> sapsys 5527676 Feb 24 2011 brconnect

-rwxr-xr-x 1 <sid>adm sapsys 4587371 Feb 24 2011 brrecover

-rwxr-xr-x 1 <sid>adm sapsys 5679668 Feb 24 2011 brspace

Br,

Venky.