cancel
Showing results for 
Search instead for 
Did you mean: 

BR0253E errno 13: Permission denied

Former Member
0 Kudos

Dear Team,

Whe I am taking archive log backup by db13. It give error messege

Job started

Step 001 started (program RSDBAJOB, variant &0000000001699, user ID BASIS)

Execute logical command BRARCHIVE On host sapprd

Parameters:-u / -jid LOG__20090909130109 -c force -p initPRD.sap -cds -v PRD_ARC_1

SXPG_COMMAND_EXECUTE(LONG)

COMMANDNAME = BRARCHIVE

OPERATINGSYSTEM = ANYOS

TARGETSYSTEM = sapprd

DESTINATION =

BR0002I BRARCHIVE 7.00 (18)

BR0252E Function fopen() failed for '/oracle/PRD/saparch/aebkuxgg.cds' at location main-5

BR0253E errno 13: Permission denied

BR0121E Processing of log file /oracle/PRD/saparch/aebkuxgg.cds failed

BR0007I End of offline redo log processing: aebkuxgg.cds 2009-09-09 13.01.10

BR0280I BRARCHIVE time stamp: 2009-09-09 13.01.10

BR0005I BRARCHIVE terminated with errors

External program terminated with exit code 3

BRARCHIVE returned error status E

Job finished

regards

sunil

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member204746
Active Contributor
0 Kudos

do you have application servers? If so, check the previous answer and setup the RFC properly.

Former Member
0 Kudos

Try these commands and then run brbackup

cd /usr/sap/<SID>/SYS/exe/run

chmod 4775 brarchive brbackup brconnect

chown ora<SID>:sapsys brarchive brbackup brconnect

chmod 755 brrestore brrecover brspace brtools sapdba

Former Member
0 Kudos

Dear ,

I check all these file

  1. cd /usr/sap/PRD/SYS/exe/run/

-rwxrwxr-x 1 oraprd dba 10818880 Oct 26 2006 brarchive

-rwsrwxr-x 1 oraprd dba 11210128 Oct 26 2006 brbackup

-rwsrwxr-x 1 oraprd dba 14262792 Oct 26 2006 brconnect

-rwxrwxr-x 1 oraprd dba 11570904 Oct 26 2006 brrecover

-rwxrwxr-x 1 oraprd dba 3298528 Oct 21 2006 brrestore

-rwxrwxr-x 1 oraprd dba 14550656 Oct 26 2006 brspace

-rwsrwxr-x 1 oraprd dba 4794888 Oct 26 2006 brtools

I think all is OK.

regards

anindya_bose
Active Contributor
0 Kudos

Can you once check if the RFC connection

SAPXPG_DBDEST_<Database_Hostname> working ?

Former Member
0 Kudos

how i check SAPXPG_DBDEST_<Database_Hostname

i am using HP-Ux

I thing some permission peroblem

Because its not generating any log in /oracle/PRD/saparch

when I am starting redolog backup.

regards

sunil

anindya_bose
Active Contributor
0 Kudos

Tcode SM59..There will be one TCP/IP (connnection type T) RFC connection. From SM59 screen you can search with " SAPXPG*"

Do a "Connection Test"

What are the entries in your "Technical Settings" tab?

It should be "start on explicit host"

target host: database hostname

Edited by: Anindya Bose on Sep 10, 2009 10:17 AM

Former Member
0 Kudos

Hi,

I think it is Ownership issue.

sapprd:oraprd 9> pwd
/oracle/PRD/saparch
sapprd:oraprd 10> chown oraprd:sapsys
usage: chown -R -h owner:group file ...
sapprd:oraprd 11>

try the below command

sapprd:oraprd 10> chown oraprd:sapsys /oracle/PRD/saparch

Now try to start the backup from DB13.

Hople this will help.

Thanks,

Shambo

Former Member
0 Kudos

thanks for your response ,

I have done these thing but problem is same.I think some Unix guy can help us . because I have fresh install this ECC 6.0

regards

sunil

Former Member
0 Kudos

Goto to /sapmnt/<SID>/exe directory and then execute the script to fix permissions

Earlier it was suggest to change some permissions and you have completed them

as when you gave the listing for br* all of them were stiull owned by ora<sid>:dba.

Run the saproot.sh script in /sapmnt/<SID>/exe

And then as <SID>adm go to /oracle/<SID>/oraarch and /oralce/<SID>/saparch

just do

touch test

Let us know the results

Pravin

Former Member
0 Kudos

Nice to your reply.

when i run the scrept by root login

  1. ./saproot.sh PRD

Preparing /usr/sap/PRD/SYS/exe/run/brbackup ...

Preparing /usr/sap/PRD/SYS/exe/run/brarchive ...

Preparing /usr/sap/PRD/SYS/exe/run/brconnect ...

Preparing /usr/sap/PRD/SYS/exe/run/brtools ...

Preparing saposcol ...

Preparing icmbnd ...

done

Then I check via ST06 , SAPOSCOL not running.(shared memory not available)

regards

sunil

Former Member
0 Kudos

At the moment saposcol is a different issue. We cna tackle that later

have you checked as prdadm if you can touch a file in the oraarch & saparch & spabackup directories ??

Pravin

Former Member
0 Kudos

thanks for your good response.

After run this script ,our saposcol was stopped.

then I start saposcol and start backup via DB13. Now my archive log backup running running perfectelly.

You should really get award from my side for this nice & good help.

I really appresiate you for this problem.

Thanks and regards

sunil

former_member204746
Active Contributor
0 Kudos

try these commands, then, try again:

chmod 775 /oracle/PRD/saparch

chown oraprd:sapsys

Good luck.

Former Member
0 Kudos

I run these command

sapprd:oraprd 1> cd /oracle/PRD/

sapprd:oraprd 2> ll

total 94

drwxr-xr-x 57 oraprd dba 2048 Aug 2 00:58 102_64

-rw-rw-rw- 1 oraprd sapsys 895 Aug 16 21:14 LASVerify.pse

drwxrwx--- 3 oraprd dba 96 Jul 4 01:08 inventory

drwxr-xr-x 2 root root 96 Jun 29 20:45 lost+found

drwxr-xr-x 2 oraprd dba 96 Aug 2 03:36 mirrlogA

drwxr-xr-x 2 oraprd dba 96 Aug 2 03:36 mirrlogB

drwxr-xr-x 2 oraprd dba 9216 Sep 9 12:34 oraarch

drwxr-xr-x 3 oraprd dba 96 Aug 2 03:36 origlogA

drwxr-xr-x 3 oraprd dba 96 Aug 2 03:36 origlogB

drwxr-xr-x 2 oraprd dba 96 Jun 30 14:16 saparch

drwxr-xr-x 2 oraprd dba 1024 Sep 9 13:00 sapbackup

drwxr-xr-x 2 oraprd dba 1024 Aug 16 21:16 sapcheck

drwxr-xr-x 17 oraprd dba 1024 Aug 2 02:12 sapdata1

drwxr-xr-x 12 oraprd dba 1024 Aug 2 02:12 sapdata2

drwxr-xr-x 12 oraprd dba 1024 Aug 2 02:12 sapdata3

drwxr-xr-x 16 oraprd dba 1024 Aug 2 02:12 sapdata4

drwxr-xr-x 23 oraprd dba 1024 Aug 2 02:12 sapdata5

drwxr-xr-x 4 oraprd dba 1024 Jul 26 08:32 sapreorg

drwxr-xr-x 4 oraprd dba 96 Jun 30 14:16 saptrace

-rwxr-xr-x 1 oraprd dba 15752 Jan 10 2009 startdb

-rwxr-xr-x 1 oraprd dba 11119 Jan 10 2009 stopdb

sapprd:oraprd 3> cd saparch

sapprd:oraprd 4> ll

total 0

sapprd:oraprd 5> chmod 755

Usage: chmod [-A] [-R] [ugoa]+-=[rwxXstugo][,...] file ...

sapprd:oraprd 6> chmod 755 /oracle/PRD/saparch/

sapprd:oraprd 7> pwd

/oracle/PRD/saparch

sapprd:oraprd 8> ll

total 0

sapprd:oraprd 9> pwd

/oracle/PRD/saparch

sapprd:oraprd 10> chown oraprd:sapsys

usage: chown [-R] [-h] owner[:group] file ...

sapprd:oraprd 11>

When I run archive log backup . It Log is not generating in /oracle/PRD/saparch

Problem remain same

regards

Former Member
0 Kudos

Hi ,

Please check permisiion of file /oracle/PRD/saparch.You can get more info on this SAP note::

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

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

Thanks..

Mohit

Edited by: mohit gupta on Sep 9, 2009 1:26 PM