Forum Discussion

H_Sharma's avatar
H_Sharma
Level 6
11 years ago
Solved

RMAN error Error Code 6

Hi Experts,

I am experiencing issue with one policy.

Master: -Windows 2008 Server with 7.6

Client:- Solaris 11.

I tried to create dbclient on /usr/openv/ but netbackup does not write anything on client. Pls help

 

root@tn:/usr/openv/netbackup/logs/dbclient# ls -ld /usr/openv/netbackup/logs/dbclient/
drwxrwxrwx   2 root     bin            2 Aug 25 22:46 /usr/openv/netbackup/logs/dbclient/
 

8/26/2014 1:01:33 PM - Info nbjm(pid=9488) starting backup job (jobid=84124) for client mi, policy RMAN_MI, schedule MIS_RMAN_Archive 
8/26/2014 1:01:33 PM - Info nbjm(pid=9488) requesting MEDIA_SERVER_ONLY resources from RB for backup job (jobid=84124, request id:{B52429A0-81DF-4104-87B5-2954B10257C2}) 
8/26/2014 1:01:33 PM - requesting resource TN-hcart3-robot-tld-0
8/26/2014 1:01:33 PM - requesting resource TN.NBU_POLICY.MAXJOBS.RMAN_MIS_Sol
8/26/2014 1:01:33 PM - granted resource TNM.NBU_POLICY.MAXJOBS.RMAN_MIS_Sol
8/26/2014 1:01:33 PM - estimated 0 Kbytes needed
8/26/2014 1:01:33 PM - Info nbjm(pid=9488) started backup (backupid=misdb01p-bkp_1409034693) job for client mi, policy RMAN_MI, schedule MI_Archive on storage unit
8/26/2014 1:01:34 PM - started process bpbrm (16444)
8/26/2014 1:01:36 PM - Info bpbrm(pid=16444) misdb01p-bkp is the host to backup data from    
8/26/2014 1:01:36 PM - Info bpbrm(pid=16444) reading file list for client       
8/26/2014 1:01:36 PM - connecting
8/26/2014 1:01:38 PM - Info bpbrm(pid=16444) starting bphdb on client        
8/26/2014 1:01:38 PM - connected; connect time: 0:00:02
8/26/2014 1:01:39 PM - Info bphdb(pid=47895) Backup started          
8/26/2014 1:01:39 PM - Info bphdb(pid=47895) Waiting for the child status       
8/26/2014 1:02:27 PM - Error bpbrm(pid=16444) from client mi: ERR - Script exited with status = 1 <the requested operation was partially successful>
8/26/2014 1:02:27 PM - Error bpbrm(pid=16444) from client mi: ERR - bphdb exit status = 6: the backup failed to back up the requested files
8/26/2014 1:02:27 PM - Info bphdb(pid=47895) done. status: 6: the backup failed to back up the requested files
8/26/2014 1:02:27 PM - end writing
the backup failed to back up the requested files(6)

4 Replies

  • Either a status 1 or 6 for Oracle backup indicate that the script executing the Oracle RMAN process recived a non zero from RMAN. You need to take a look at the RMAN output from the client or take a look at Netbackup debug log  in /usr/openv/netbackup/logs/bphdb (make sure permissions are 777). 

    Please also see : 

    DOCUMENTATION: How to enable logging to troubleshoot NetBackup for Oracle RMAN

    http://www.symantec.com/docs/TECH32031

    DOCUMENTATION: How to troubleshoot Oracle backup problems in NetBackup 6.x and 7.x

    http://www.symantec.com/docs/TECH136157

    Update:

    I tried to create dbclient on /usr/openv/ but netbackup does not write anything on client. Pls help

    This is because Oracle can't write the the directory - Change the directory permissions to 777

  • Can we start at the beginning?

    Is this a new configuration?

    What steps have you followed up to now?

    Was oracle_link script executed on the client to link oracle library to NBU?

    Were 'traditional' rman scripts created on the client or are you using Oracle Intelligent Policies?

    This manual is your friend: NetBackup for Oracle Administrator's Guide  

  • Found the bphdb folder under /usr/openv/netbackup/logs to be helpful in these case especially the stderr file

    The same with the message log from rman and some times the oracle database's alert log

    As this seems to be an archive backup the first thing I would check, was if the oracle database is in archive log mode. In a SQL prompt do

    SQL> ARCHIVE LOG LIST

     

  • Found somebody had changed the bp.conf file entry.