473,545 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

restore problem

Hello.

On my production site i have DB2 9.1.2 database configured for
archiving logs and making backup through
TSM Data Protection for DB2 UDB
The LOGARCHMETH1 parameter is set to LOGARCHMETH1=VE NDOR:/usr/tivoli/
tsm/tdp_r3/db264/libtdpdb264.a

I make an online backup with include logs to servers local disk and
then tranfer backup image to my test box for backup validate.
I'm use next command to restore database on test box :

db2 =restore db NPD from /db2data/backup taken at 20070925163139 on /
db2data/database/NPD dbpath on /db2data/database/NPD into NPD

but on last phase it is fail with message :

SQL2071N An error occurred while accessing the shared library
"/usr/tivoli/tsm/tdp_r3/db264/libtdpdb264.a". Reason code: "2".

Next i'm create on my test box file /usr/tivoli/tsm/tdp_r3/db264/
libtdpdb264.a and run restore again, but the result is still the
same.

I'm very strange for "Reason code : "2"" of SQL2071N because both
production and test servers are on the same platform (DB2 9.1.2 64-
bit on AIX 5.3 64-bit)

How can i prevent restore process to use TSM library and make
datatabase available for rollfirward with logs extracted from backup
image ??
On db2diag.log listen next messages :

2007-09-26-08.08.40.638307-300 E423372A567 LEVEL: Error (OS)
PID : 643322 TID : 1 PROC : db2logmgr
(NPD) 0
INSTANCE: db2npd NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloLoadModule, probe:130
CALLED : OS, -, dlopen
OSERR : ENOEXEC (8) "Exec format error"
MESSAGE : Attempt to load specified library failed.
DATA #1 : Library name or path, 42 bytes
/usr/tivoli/tsm/tdp_r3/db264/libtdpdb264.a
DATA #2 : shared library load flags, PD_TYPE_LOAD_FL AGS, 4 bytes
2
DATA #3 : String, 18 bytes
File name too long

2007-09-26-08.08.40.675160-300 E423940A874 LEVEL: Error (OS)
PID : 643322 TID : 1 PROC : db2logmgr
(NPD) 0
INSTANCE: db2npd NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloLoadModule, probe:140
CALLED : OS, -, dlopen
OSERR : ENOEXEC (8) "Exec format error"
MESSAGE : Attempt to load specified library augmented with object name
failed.
DATA #1 : Library name or path, 52 bytes
/usr/tivoli/tsm/tdp_r3/db264/libtdpdb264.a(s hr_64.o)
DATA #2 : shared library load flags, PD_TYPE_LOAD_FL AGS, 4 bytes
262146
DATA #3 : String, 282 bytes
0509-022 Cannot load module /usr/tivoli/tsm/tdp_r3/db264/
libtdpdb264.a(s hr_64.o).
0509-153 File /usr/tivoli/tsm/tdp_r3/db264/libtdpdb264.a is not an
archive or
the file could not be read properly.
0509-026 System error: Cannot run a file that does not have a valid
format.

2007-09-26-08.08.40.675522-300 I424815A389 LEVEL: Error
PID : 643322 TID : 1 PROC : db2logmgr
(NPD) 0
INSTANCE: db2npd NODE : 000
FUNCTION: DB2 UDB, data protection services, sqlpInitVendorA PI, probe:
1660
MESSAGE : Unable to load library. rc
DATA #1 : Hexdump, 4 bytes
0x0FFFFFFFFFFFD 870 : 870F 009B ....

2007-09-26-08.08.40.675732-300 I425205A388 LEVEL: Severe
PID : 643322 TID : 1 PROC : db2logmgr
(NPD) 0
INSTANCE: db2npd NODE : 000
FUNCTION: DB2 UDB, data protection services, sqlpgLogManager , probe:
5210
RETCODE : ZRC=0x8010006D=-2146434963=SQLP _RC_CA_BUILT
"SQLCA has been built and saved in component specific
control block."

2007-09-26-08.08.40.678859-300 I425594A483 LEVEL: Severe
PID : 565290 TID : 1 PROC : db2agent
(NPD) 0
INSTANCE: db2npd NODE : 000 DB : NPD
APPHDL : 0-773 APPID: *LOCAL.db2npd.0 70926105527
AUTHID : DB2NPD
FUNCTION: DB2 UDB, data protection services, sqlpgint, probe:9030
RETCODE : ZRC=0x8010006D=-2146434963=SQLP _RC_CA_BUILT
"SQLCA has been built and saved in component specific
control block."

2007-09-26-08.08.40.733817-300 I426078A483 LEVEL: Severe
PID : 565290 TID : 1 PROC : db2agent
(NPD) 0
INSTANCE: db2npd NODE : 000 DB : NPD
APPHDL : 0-773 APPID: *LOCAL.db2npd.0 70926105527
AUTHID : DB2NPD
FUNCTION: DB2 UDB, data protection services, sqlpgint, probe:3500
RETCODE : ZRC=0x8010006D=-2146434963=SQLP _RC_CA_BUILT
"SQLCA has been built and saved in component specific
control block."

2007-09-26-08.08.40.734114-300 I426562A496 LEVEL: Error
PID : 565290 TID : 1 PROC : db2agent
(NPD) 0
INSTANCE: db2npd NODE : 000 DB : NPD
APPHDL : 0-773 APPID: *LOCAL.db2npd.0 70926105527
AUTHID : DB2NPD
FUNCTION: DB2 UDB, data protection services, sqlpRestartDPSb yRestore,
probe:300
RETCODE : ZRC=0x8010006D=-2146434963=SQLP _RC_CA_BUILT
"SQLCA has been built and saved in component specific
control block."

2007-09-26-08.08.40.734408-300 E427059A499 LEVEL: Severe
PID : 565290 TID : 1 PROC : db2agent
(NPD) 0
INSTANCE: db2npd NODE : 000 DB : NPD
APPHDL : 0-773 APPID: *LOCAL.db2npd.0 70926105527
AUTHID : DB2NPD
FUNCTION: DB2 UDB, database utilities, sqludProcessLFH , probe:1190
DATA #1 : Sqlcode, PD_TYPE_SQLCODE , 4 bytes
-902
DATA #2 : Hexdump, 8 bytes
0x0780000020705 520 : 8010 006D 0000
006D ...m...m

2007-09-26-08.08.40.734773-300 E427559A919 LEVEL: Severe
PID : 565290 TID : 1 PROC : db2agent
(NPD) 0
INSTANCE: db2npd NODE : 000 DB : NPD
APPHDL : 0-773 APPID: *LOCAL.db2npd.0 70926105527
AUTHID : DB2NPD
FUNCTION: DB2 UDB, database utilities, sqludProcessLFH , probe:1190
MESSAGE : SQL2071N An error occurred while accessing the shared
library "".
Reason code: "".
DATA #1 : SQLCA, PD_DB2_TYPE_SQL CA, 136 bytes
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -2071 sqlerrml: 44
sqlerrmc: /usr/tivoli/tsm/tdp_r3/db264/libtdpdb264.a 2
sqlerrp : SQLPGLGM
sqlerrd : (1) 0x00000000 (2) 0x00000000 (3) 0x00000000
(4) 0x00000000 (5) 0x00000000 (6) 0x00000000
sqlwarn : (1) (2) (3) (4) (5) (6)
(7) (8) (9) (10) (11)
sqlstate:

2007-09-26-08.08.41.086289-300 E428479A372 LEVEL: Severe
PID : 565290 TID : 1 PROC : db2agent
(NPD) 0
INSTANCE: db2npd NODE : 000 DB : NPD
APPHDL : 0-773 APPID: *LOCAL.db2npd.0 70926105527
AUTHID : DB2NPD
FUNCTION: DB2 UDB, database utilities, sqludrsa, probe:901
MESSAGE : Restore Terminated.

Sep 26 '07 #1
0 4423

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2757
by: Dave | last post by:
When I am trying to use backup or restore from the EM, a dialog box never pops up, and the EM interface locks up. Has anyone else had problems like this? Looks like all other functions from EM are working fine. Thanks, Dave
3
2242
by: butatista | last post by:
Please help SQL Server 2000 Standard I am trying to restore databases on my server and am unable to get them to restore using the database option. For example, the location of my backup file is: D:\MSSQL\BACKUP\MY_DB\MY_DB_ddmmyy.bak
2
10596
by: Moti.Ba | last post by:
Hello, I need to restore the Master DB in my SQL 2k server (with sp3). The problem is that i don't have SQL backups of this file I only have general backup of the entire c:\ drive i made using NTBackup. So i tried all I know and succesfully run the rebuildm utility. Now when I try to restore it from the general backup (not SQL backup) using...
4
6190
by: ScottH | last post by:
I am running 7.2 with fixpack 10a under W2K. I got a backup from someone else in an attempt to debug a data issue. The other person created the database with UTF-8 (codepage 1208), so I created a new database with that codepage, cd to the directory where the backup was located, but the restore failed: db2 => create database MYDB using...
3
3476
by: Vikrant | last post by:
Friends, Due an application (old) install program problem, Under AIX I could only create DB2 instance, I could also catalog it. Its complex application and I am not expert in creating full database for this application, but I have desired DB2 backup (by db2 backup db command). Can I do redirected restore (SET TABLESPACE CONTAINERS ....) ...
4
3795
by: Hardy | last post by:
hi gurus, now I have to backup and restore a 8 T size db2 database. from two s85 to two 670. the partitions,tablespaces of the db should be redesigned then I plan to use redirected restore. but my concern is, such big size db, I'm afraid something unexpected will destory all the effort. Who have related experience? Can you give some advice?...
9
13961
by: GL | last post by:
I am running DB2 8.1.1 on AIX 5.1 Having a problem with a redirected restore. Once into the restore continue phase, I immediately get the following “SQL2059W A device full warning was encountered on device "TBS_IDX". Do you want to continue(c), terminate this device only(d), abort the utility(t) ? (c/d/t) t
13
7264
by: Andy K | last post by:
Hi , I'm wondering what's going on with a restore I'm trying to do . My DB2 version is a 7.2 on a Linux RH ES 2.1 . I've copy a recent backup that was on NAS for a test on my machine . I then restore the backup without creating a database with the simple command line "db2 restore backup DBNAME".
11
13493
by: Chris | last post by:
I have searched this group for answers and tried the responses. I am trying to Use an full online backup from our production server and apply it to our test server. The Tablespaces in the productions server are on the d drive and my test server has no d drive. The restore command i am using is: RESTORE DATABASE CENTRAL FROM...
2
8581
by: modeler | last post by:
Hello, I am trying to restore a DB2 9.1 fp2 backup to another DB2 9.1 fp2 machine, both are on Windows. C:\Program Files\IBM\SQLLIB\BIN>db2 -tvf C:\db2_data\test.db2 UPDATE COMMAND OPTIONS USING S ON Z ON MYDB_NODE0000.out V ON DB20000I The UPDATE COMMAND OPTIONS command completed successfully. SET CLIENT ATTACH_DBPARTITIONNUM 0...
0
7468
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7401
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7808
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7757
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4945
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3450
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3443
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1884
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
704
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.