09-27-2015 04:20 AM
cannot make required directory in linux and getting RMAN backup failed
Solved! Go to Solution.
09-28-2015 12:14 PM
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)
09-27-2015 04:41 AM
09-27-2015 04:50 AM
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
09-27-2015 05:24 AM
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
09-27-2015 08:22 AM
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.
09-28-2015 12:14 PM
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)
10-11-2015 10:17 AM
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