cancel
Showing results for 
Search instead for 
Did you mean: 

RMAN backup is not running

kproehl
Level 5

Hi Everyone,

 

I have an isue where one of my RMAN backups does not run.  We have an RMAN script configuired to backup an Oracle database.

 

The job errors out with an error 6.  When I check the RMAN logfile there is no input in the log.  It is as if the script never started.  I see the following info on the NetBackup side.

I had our DBA Team check the RMAN script as they are responsible for that and they did not see anything.  Any help would be much apreaciated.

10/31/2014 12:02:15 PM - Info nbjm(pid=1120) starting backup job (jobid=633204) for client golden103, policy DB-GDB18, schedule Full  
10/31/2014 12:02:15 PM - Info nbjm(pid=1120) requesting MEDIA_SERVER_WITH_ATTRIBUTES resources from RB for backup job (jobid=633204, request id:{E29EFA4F-781D-4FE2-8708-3305C7887E9B})  
10/31/2014 12:02:15 PM - requesting resource nbmedia101-hcart2-robot-tld-2
10/31/2014 12:02:15 PM - requesting resource veritasarsenal.NBU_CLIENT.MAXJOBS.golden103
10/31/2014 12:02:15 PM - requesting resource veritasarsenal.NBU_POLICY.MAXJOBS.DB-GDB18
10/31/2014 12:02:16 PM - granted resource veritasarsenal.NBU_CLIENT.MAXJOBS.golden103
10/31/2014 12:02:16 PM - granted resource veritasarsenal.NBU_POLICY.MAXJOBS.DB-GDB18
10/31/2014 12:02:16 PM - granted resource nbmedia101-hcart2-robot-tld-2
10/31/2014 12:02:16 PM - estimated 0 Kbytes needed
10/31/2014 12:02:16 PM - Info nbjm(pid=1120) started backup (backupid=golden103_1414771336) job for client golden103, policy DB-GDB18, schedule Full on storage unit nbmedia101-hcart2-robot-tld-2
10/31/2014 12:02:18 PM - started process bpbrm (5696)
10/31/2014 12:02:22 PM - connecting
10/31/2014 12:02:22 PM - Info bpbrm(pid=5696) golden103 is the host to backup data from     
10/31/2014 12:02:22 PM - Info bpbrm(pid=5696) reading file list for client        
10/31/2014 12:02:25 PM - Info bpbrm(pid=5696) starting bphdb on client         
10/31/2014 12:02:25 PM - connected; connect time: 0:00:03
10/31/2014 12:02:26 PM - Info bphdb(pid=6073) Backup started           
10/31/2014 12:02:26 PM - Info bphdb(pid=6073) Processing /usr/openv/netbackup/ext/db_ext/oracle/production/rman/hotbackup_gdb18.sh           
10/31/2014 12:02:26 PM - Info bphdb(pid=6073) Waiting for the child status        
10/31/2014 12:02:27 PM - Error bpbrm(pid=5696) from client golden103: ERR - Script exited with status = 2 <none of the requested files were backed up>
10/31/2014 12:02:27 PM - Error bpbrm(pid=5696) from client golden103: ERR - bphdb exit status = 6: the backup failed to back up the requested files
10/31/2014 12:02:29 PM - Info bphdb(pid=6073) done. status: 6: the backup failed to back up the requested files 
10/31/2014 12:02:29 PM - end writing
the backup failed to back up the requested files(6)

1 ACCEPTED SOLUTION

Accepted Solutions

Michael_G_Ander
Level 6
Certified

Error bpbrm(pid=5696) from client golden103: ERR - Script exited with status = 2

means that the script called from NetBackup is failing with status 2

As always try to run the script in a prompt

For general database backup troubleshooting see:

https://www-secure.symantec.com/connect/forums/general-database-backup-error-troubleshooting

The standard questions: Have you checked: 1) What has changed. 2) The manual 3) If there are any tech notes or VOX posts regarding the issue

View solution in original post

5 REPLIES 5

Michael_G_Ander
Level 6
Certified

Error bpbrm(pid=5696) from client golden103: ERR - Script exited with status = 2

means that the script called from NetBackup is failing with status 2

As always try to run the script in a prompt

For general database backup troubleshooting see:

https://www-secure.symantec.com/connect/forums/general-database-backup-error-troubleshooting

The standard questions: Have you checked: 1) What has changed. 2) The manual 3) If there are any tech notes or VOX posts regarding the issue

MFG2K
Not applicable
Employee

Hello

Should be great if you can share some info like Oracle version , NBU version,etc

Other important thing will be  if this backup has been executed in the past without problems? do you know about any change in the Oracle?

Have you enabled the bphdb in the Oracle client? if not please do it and test the backup again and send the logs

Thanks in advance

MFG2K

dixit47
Level 4

Please share dbclient and bphdb logs, so that we can check and assist you on this

kproehl
Level 5

This issue has been resolved.  The problem was there were a couple of lines missing in the RMAN script that our DBA Team owned.  

 

Once I had them take a look there were able to fix this issue.

 

Thanks everyone for all the sugustions.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Michael was the one who pointed out an issue with the script:

... means that the script called from NetBackup is failing with status 2

As always try to run the script in a prompt

Please mark his post as Solution.