Please enter search query.
Search <product_name> all support & community content...
Attempting a NetBackup DB2 backup fails with a "SQL2071N An error occurred while accessing the shared library "/usr/openv/netbackup/bin/nbdb2.so64". Reason code: "2"." error message.
Article: 100029545
Last Published: 2008-01-27
Ratings: 2 0
Product(s): NetBackup & Alta Data Protection
Problem
Attempting a NetBackup DB2 backup fails with a "SQL2071N An error occurred while accessing the shared library "/usr/openv/netbackup/bin/nbdb2.so64". Reason code: "2"." error message.
Solution
Overview: Attempting a NetBackup DB2 backup failswith a "SQL2071N An error occurred while accessing the shared library"/usr/openv/netbackup/bin/nbdb2.so64". Reason code: "2"." errormessage.
Troubleshooting:
Review the bphdb logfile on the DB2 server, along with the DB2 standard outputfile.
Log Files:
The bphdb log file showsthe following messages:
From the DB2 standardoutput file (found in the /usr/openv/netbackup/logs/bphdb/ directory, bydefault):
Resolution:
The errormessage in the DB2 standard output file indicates NetBackup is attempting toload the 64 bit library. If the server is running the 32 bit version ofthe NetBackup 32-bit DB2 extension, this error is generated. Change thebackup script to load the 32 bit ( nbdb2.sl) library.
Troubleshooting:
Review the bphdb logfile on the DB2 server, along with the DB2 standard outputfile.
Log Files:
The bphdb log file showsthe following messages:
09:44:55.074 [26413]<4> bphdb do_backup: INF - Child executing/db2/cal/calinst/backup/db2_backup
09:44:55.086[26412] <4> bphdb keepalive_timeout: INF - bphdb stillworking.
09:44:55.086 [26412]<2> bphdb keepalive_timeout: INF - bphdb- Sending akeepalive.
09:44:55.087[26412] <4> bphdb do_backup: INF - Keepalives will be sent every 15000seconds.
09:44:55.087 [26412]<4> bphdb do_backup: INF - Waiting for the childstatus.
09:45:14.099 [26412]<16> bphdb do_backup: ERR - Script exited with status = 4 <archive fileremovalfailed>
09:45:14.100[26412] <16> bphdb Exit: ERR - bphdb exit status = 6: the backup failed toback up the requested files
From the DB2 standardoutput file (found in the /usr/openv/netbackup/logs/bphdb/ directory, bydefault):
SQL2071N An erroroccurred while accessing the sharedlibrary
"/usr/openv/netbackup/bin/nbdb2.so64".Reason code: "2".
Resolution:
The errormessage in the DB2 standard output file indicates NetBackup is attempting toload the 64 bit library. If the server is running the 32 bit version ofthe NetBackup 32-bit DB2 extension, this error is generated. Change thebackup script to load the 32 bit ( nbdb2.sl) library.