cancel
Showing results for 
Search instead for 
Did you mean: 

Netbackup getting error 514 when running DB2 backup

donv
Level 3

When the customer running the scritps for the DB2 backup, it fails with error code 514.  Does anyone know what could be causing this?  The client is Linux Redhat2.6 and the master/media server is running NBU_7.0.1  This is also a new client install.

4 REPLIES 4

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Can we assume that this is a DB2 error 514?

DB2 error 514
Message:
NetBackup Create Image Failed
Cause:
NetBackup encountered errors when attempting to create a backup image.

 

Does the job appear in NBU Activity Monitor? If so, what is the status code?

If not, verify that the DB2 client can connect to bprd (via vnetd) on the master.

Check hostname/IP lookup from client to master. On client, run:

bpclntcmd -hn <master-hostname>
bpclntcmd -ip <master-ip>
bpclntcmd -pn

On master, verify client hostname/IP lookup:

bpclntcmd -hn <client-hostname>
bpclntcmd -ip <client-ip>

Ensure that you have the following log directories:

On master: bprd (restart NBU after creating the folder)
On client:  bpcd and bpdb2 (777 permissions needed for bpdb2)

Oddy
Level 5
Employee

 

Copy the /usr/openv/netbackup/ext/db_ext/db2/scripts/db2.conf to the $DB2_HOME directory and change the database, policy and schedule. You can add the client name under the schedule line, i.e

DATABASE <db2 database name>
OBJECTTYPE DATABASE
POLICY <name on your db2 policy on the master>
SCHEDULE <name on application backup schedule in the db2 policiy>
CLIENT_NAME <name on client in the policy, in unix environments this is case sensitive>
ENDOPER

/usr/openv/netbackup/logs/bpcd
/usr/openv/netbackup/logs/bpdb2
Needs permissiongs 777, run chmod
777 bpdb2
Increase verbose level by adding
VERBOSE = 5
in the bottom of the /usr/openv/netbackup/bp.conf file.

Run the backup from the command line on the linux box, i.e
su - <db2admin user> and run
db2 backup database <database name> load /usr/openv/netbackup/bin/nbdb2.so

If you get status 514 again, check the bpdb2 log for error.

I hope this helps.

/Oddy

klp
Level 3

Any update on this thread? We are also encountering this condition, same configu of client Linux Redhat 2.6 and Netbackup 7.0.1.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

All of the advice given above still apply....