Saturday, November 26, 2011

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

Summary

Symptom

BR tools report the following types of errors:

BR252E Function fopen() failed for
'/oracle//sapcheck/.' at location main-8

BR121E Processing log file /oracle//sapcheck/. failed
BR252E Function mkdir() failed for '/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/C11/sapbackup/cntrlC11.dbf of=/dev/rmt/1mn':
/oracle/C11/sapbackup/cntrlC11.dbf: Permission denied
dd: cannot open /oracle/C11/sapbackup/cntrlC11.dbf
BR0301E SQL error -27140 at location BrDbConnect-2
ORA-27123: unable to attach to shared memory segment
ORA-27140: attach to post/wait facility failed

SAPDBA fails with the following types of errors:

SAPDBA: No write access to directory
'/oracle/CAR/sapreorg'!

errno = 13
Permission denied

ORA-01580: error creating control backup file
/oracle/C11/sapreorg/0501161657/cntrl.old
ORA-27040: skgfrcre: create error, unable to create file
Error: 13: Permission denied

Can't open log file '/oracle//sapreorg/.dba'.
SAPDBA: Error opening log file for writing log header!
SAPDBA could not write log trailer because logfile was already closed.

SAPDBA: OS user must be ora.

Other terms

sapbackup saparch

Reason and Prerequisites

Authorizations to access log files are missing. In addition to the obvious cause of incorrect directory authorizations, the authorizations of the executables SAPDBA, BRBACKUP, BRARCHIVE, BRRESTORE, BRRECOVER, BRCONNECT and BRTOOLS are usually responsible for the errors.

In particular, these problems are caused by an s-bit that has not been set correctly and an incorrect file owner.

The errors usually occur only with certain operating system users (generally, adm) while the tools are working with another user (generally, ora).

Solution

Set the access authorizations and the file owner as described in Note 113747.

Header Data



Release Status:Released for Customer
Released on:09.01.2006 14:29:48
Master Language:German
Priority:Recommendations/additional info
Category:Help for error analysis
Primary Component:BC-DB-ORA-DBA Database Administration with Oracle

No comments:

Post a Comment