cancel
Showing results for 
Search instead for 
Did you mean: 

parent job of SAP DB backup is failing with status code 6

114
Level 4

Hello,

We have our master server running on AIX 7.2 and the version of Netbackup is 8.1.1. For a particular client server, the parent job of SAP DB backup is failing with status code 6. All the child jobs are getting completed successfully. The details status log bphdb for the parent job is as under:

Jul 28, 2020 2:43:31 AM - Info nbjm (pid=10223814) starting backup job (jobid=476307) for client soldev, policy DBSOD_SAP_ONLINE_FULL_BACKUP_New, schedule DBSOD_TUE_FULL
Jul 28, 2020 2:43:31 AM - Info nbjm (pid=10223814) requesting MEDIA_SERVER_WITH_ATTRIBUTES resources from RB for backup job (jobid=476307, request id:{05BC21EE-D04E-11EA-AC9E-357262FB0000})
Jul 28, 2020 2:43:31 AM - requesting resource  netback-hcart3-robot-tld-0
Jul 28, 2020 2:43:31 AM - requesting resource  netback.NBU_CLIENT.MAXJOBS.soldev
Jul 28, 2020 2:43:31 AM - requesting resource  netback.NBU_POLICY.MAXJOBS.DBSOD_SAP_ONLINE_FULL_BACKUP_New
Jul 28, 2020 2:43:31 AM - granted resource  netback.NBU_CLIENT.MAXJOBS.soldev
Jul 28, 2020 2:43:31 AM - granted resource  netback.NBU_POLICY.MAXJOBS.DBSOD_SAP_ONLINE_FULL_BACKUP_New
Jul 28, 2020 2:43:31 AM - granted resource  netback-hcart3-robot-tld-0
Jul 28, 2020 2:43:31 AM - estimated 0 kbytes needed
Jul 28, 2020 2:43:31 AM - Info nbjm (pid=10223814) started backup (backupid=soldev_1595884411) job for client soldev, policy DBSOD_SAP_ONLINE_FULL_BACKUP_New, schedule DBSOD_TUE_FULL on storage unit netback-hcart3-robot-tld-0
Jul 28, 2020 2:43:31 AM - started process bpbrm (pid=12386694)
Jul 28, 2020 2:43:33 AM - Info bpbrm (pid=12386694) soldev is the host to backup data from
Jul 28, 2020 2:43:33 AM - Info bpbrm (pid=12386694) reading file list for client
Jul 28, 2020 2:43:34 AM - connecting
Jul 28, 2020 2:43:35 AM - Info bpbrm (pid=12386694) starting bphdb on client
Jul 28, 2020 2:43:35 AM - Info bphdb (pid=26345956) Backup started
Jul 28, 2020 2:43:35 AM - connected; connect time: 0:00:00
Jul 28, 2020 2:43:36 AM - Info bphdb (pid=26345956) The script </usr/openv/netbackup/dbext/sap_oracle/sap_online_backup> has been approved to run and is stored locally.
Jul 28, 2020 2:43:36 AM - Info bphdb (pid=26345956) Processing /usr/openv/netbackup/dbext/sap_oracle/sap_online_backup
Jul 28, 2020 2:43:36 AM - Info bphdb (pid=26345956) Waiting for the child status
Jul 28, 2020 4:10:55 AM - Error bpbrm (pid=12386694) from client soldev: ERR - Script exited with status = 1 <the requested operation was partially successful>
Jul 28, 2020 4:10:55 AM - Error bpbrm (pid=12386694) from client soldev: ERR - bphdb exit status = 6: the backup failed to back up the requested files
Jul 28, 2020 4:10:57 AM - Info bphdb (pid=26345956) done. status: 6: the backup failed to back up the requested files
Jul 28, 2020 4:10:57 AM - end writing
the backup failed to back up the requested files  (6)


Request help in troubleshooting and resolving the issue.

With Regards

3 REPLIES 3

114
Level 4

guys pls help 

quebek
Moderator
Moderator
   VIP    Certified
Hey
Please check why this script exit code isnt 0 in first place...
Jul 28, 2020 4:10:55 AM - Error bpbrm (pid=12386694) from client soldev: ERR - Script exited with status = 1 <the requested operation was partially successful>
Correct it So it Will end up with EC 0

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

ERR - Script exited with status = 1 

Hopefully an output-file is defined in the script.
The dba needs to check the script output.