cancel
Showing results for 
Search instead for 
Did you mean: 

cannot make required directory in linux and getting RMAN backup failed

A_3
Level 4
Certified

cannot make required directory in linux and getting RMAN backup failed

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

Logs folders need to have 777 permissions.
Folders must be writable by oracle user running the backup.

Please also check permissions on the script and the folder where the script was created:
/usr/openv/local/oracle/test_db.sh

If rman needs to produce '.out' file in /usr/openv/local/oracle folder, the oracle user needs to have write permission in this folder.

Please show us the script? (test_db.sh)

View solution in original post

6 REPLIES 6

sdo
Moderator
Moderator
Partner    VIP    Certified
More detail please.

A_3
Level 4
Certified

When ever i kick the RMAN script......i see in NBU that backup is failed with error 35 (cannot make required directory). Also RMAN logs are not getting generating...Pls help

A_3
Level 4
Certified

Error:

 

2015/09/27 06:37:51             Target file chown and chmod abc_client:/usr/openv/local/oracle/test_db.sh
2015/09/27 06:37:59  Failed to submit policy.
2015/09/27 06:37:59  STDOUT:
2015/09/27 06:37:59  STDERR: EXIT STATUS 35: cannot make required directory

StefanosM
Level 6
Partner    VIP    Accredited Certified

maybe wrong rights at the /usr/openv/netbackup/logs/user_ops or at /usr/openv/local/oracle/

both directories  have to be writable by root.

Marianne
Level 6
Partner    VIP    Accredited Certified

Logs folders need to have 777 permissions.
Folders must be writable by oracle user running the backup.

Please also check permissions on the script and the folder where the script was created:
/usr/openv/local/oracle/test_db.sh

If rman needs to produce '.out' file in /usr/openv/local/oracle folder, the oracle user needs to have write permission in this folder.

Please show us the script? (test_db.sh)

Elango_G1
Level 4

Hi,

Need more details,

You can find the logs in the following path and post it here if you are allowed to publish your environment names,

/var/adm/netbackup

/usr/openv/netbackup/logs/dbclient

/usr/openv/netbackup/logs/bphdb

please check the errors from the above mentioned logs and let us know

Full permission requried for the below directories,

dbclient

user_ops

dbext

logs

Commad: chmod 777 <directory_name>, if the above mentioned folders are not at full permission and it can be checked by passing the command "ls -ltr" in the respective path.

Link: Setting permissions in admin guide for RMAN backups

https://symwisedownload.symantec.com/resources/sites/SYMWISE/content/live/DOCUMENTATION/5000/DOC5175/en_US/NetBackup7.5_AdminGuide_Oracle.pdf?__gda__=1444727733_40ba5cb1358bcbe927fc019eb71382fc

Please refer page number - 44 for setting permissions