cancel
Showing results for 
Search instead for 
Did you mean: 

DB13

Former Member
0 Kudos

When i run DB13 clean up logs i get the following errors:

BR0252W Function remove() failed for '/oracle/BEP/sapreorg/sdwcqtsu/cntrlBEP.old' at location BrLogCleanup-

BR0253W errno 13: Permission denied

BR0252W Function remove() failed for '/oracle/BEP/sapreorg/sdwcqtsu/cntrlBEP.new' at location BrLogCleanup-

BR0253W errno 13: Permission denied

BR0252W Function rmdir() failed for '/oracle/BEP/sapreorg/sdwcqtsu' at location BrLogCleanup-12

BR0253W errno 17: File exists

BR0252W Function remove() failed for '/oracle/BEP/sapreorg/sdwdaiqo/cntrlBEP.old' at location BrLogCleanup-

BR0253W errno 13: Permission denied

BR0252W Function remove() failed for '/oracle/BEP/sapreorg/sdwdaiqo/cntrlBEP.new' at location BrLogCleanup-

BR0253W errno 13: Permission denied

BR0252W Function rmdir() failed for '/oracle/BEP/sapreorg/sdwdaiqo' at location BrLogCleanup-12

BR0253W errno 17: File exists

This error occurs only in PRoduction system. Do i need to take any precautions.

Please some one help me to resolve the same.

thanks,

xyz

Message was edited by:

xyz aabc

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

Check the permissions on that directory and the files, is the owner <sid>adm?

--

Markus

Former Member
0 Kudos

Here are the details:

drwxrwxr-x 9 orabcp dba 2048 sapreorg

-rwxr-xr-x 1 bcpadm sapsys 10682400 sapdba

-rwxr-xr-x 1 bcpadm sapsys 6361 sapdba_role.sql

thanks

Former Member
0 Kudos

Check the permissions of brtools in exe directory ( ls -l br* )

Thanks

Prince Jose

Former Member
0 Kudos

Here are the details of that permissions:

-rwxrwxr-x 1 sapsys 6112120 brarchive

-rwxrwxr-x 1 sapsys 6430600 brbackup

-rwxrwxr-x 1 sapsys 8055424 brconnect

-rwxr-xr-x 1 sapsys 6770888 brrecover

-rwxr-xr-x 1 sapsys 2783712 brrestore

-rwsr-xr-x 1 dba 8578200 brspace

-rwxrwxr-x 1 dba 3728648 brtools

Please help me.

thanks a lot

markus_doehr2
Active Contributor
0 Kudos

we see only the groups and not the users - so that output doesn't make much sense

Check the USER/owner of the file too.

--

Markus

Former Member
0 Kudos

I think you didnt check that note correctly . Check 4th point

brarchive, brbackup, brconnect, brtools have permission 4775:

-rwsrwxr-x ora<sid> sapsys

I can see that s bit is missing for those files. Correct this as well as other br* files ( group and owner ) according to the note

Thanks

Prince Jose

Message was edited by:

Prince Jose

Former Member
0 Kudos

As it is production system, can i change the permissions , do i need to take any precaustions before doing it. if i change the permissions will there be any implications.

How to check the user and owner information of the file.

thanks,

Former Member
0 Kudos

I dont see any harm changeing the permissions of these file. These are not working anyway !!

ls -l will show you the owner and group of the files.Here you can use

ls -l br*

Change the permissions using

chmod 4775 <file> --> to set s bit

chown <owner>:group> <file> --> to set the owner and broup

Thanks

Prince Jose

Former Member
0 Kudos

Thanks Prince, i have made the changes in the permissions, tommorow i will know once the clean up logs are run.

Answers (1)

Answers (1)

Former Member
0 Kudos

Check the permission of brtools as suggested by Markus especially check whether s bits are set properly. you can check note 113747 for more info

Thanks

Prince Jose

Former Member
0 Kudos

Hi,

I have already checked that note before the message and everything seems to be fine.

thanks.