473,396 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

DB migraton failed from DB2 V7 FP13 to DB2 V8FP7

Hi, I got a "SQL1224N A database agent could not be started to service a request, or was terminated as a result of a database system shutdown or a force command.
SQLSTATE=55032"

error when trying to migrate my DB to DB2 V7...

I attached 4 zip files this note.
1) db2diag.zip - db2diag.log
2) db2inst1.zip - db2inst1.nfy
3) t37608-1.zip - Part 1 of t37608.000
4) t37608-2.zip - Part 2 of t37608.000

Below are my steps,

1) Verify db2level - which indicated db2inst1 is under DB2 V7.
$db2level
DB21085I Instance "db2inst1" uses DB2 code release "SQL07026" with level identifier "03070105" and informational toekns "DB2 V7.1.0.72", "s021110" and
"U484610"

2) Install DB2 V8 FP7

3) Run migration tool to convert db2inst1 to DB2 V8 - Result successful..
# ./db2imigr db2inst1

db2ckmig was successful. Database(s) can be migrated.

/home/db2inst1/sqllib_v71/function/add_months: Not a directory
/home/db2inst1/sqllib_v71/function/getappid: Not a directory
/home/db2inst1/sqllib_v71/function/months_between: Not a directory
/home/db2inst1/sqllib_v71/function/to_char: Not a directory
/home/db2inst1/sqllib_v71/function/to_date: Not a directory
DBI1070I Program db2imigr completed successfully.

4) Double check the db2level which shows it's under DB2 V8
$ db2level
DB21085I Instance "db2inst1" uses "32" bits and DB2 code release "SQL08020" with level identifier "03010106".
Informational tokens are "DB2 v8.1.1.73", "OD_14080", "U803793_14080", and FixPak "7".
Product is installed at "/usr/opt/db2_08_01".

5) Start DB2 manager
$ db2start
07/14/2006 16:05:14 0 0 SQL1063N DB2START processing was successful.
SQL1063N DB2START processing was successful.

6) Convert the sample DB created under DB2 V7 - Result successful..
$ db2 migrate database sample
DB20000I The MIGRATE DATABASE command completed successfully.

7) Verify DB sample

db2 => connect to sample

Database Connection Information

Database server = DB2/6000 8.2.0
SQL authorization ID = DB2INST1
Local database alias = SAMPLE

db2 => list tables

Table/View Schema Type Creation time
------------------------------- --------------- ----- --------------------------
CL_SCHED DB2INST1 T 2006-07-14-02.59.39.203547
DEPARTMENT DB2INST1 T 2006-07-14-02.59.37.205177
EMP_ACT DB2INST1 T 2006-07-14-02.59.37.463243
EMP_PHOTO DB2INST1 T 2006-07-14-02.59.37.768934
EMP_RESUME DB2INST1 T 2006-07-14-02.59.38.547751
EMPLOYEE DB2INST1 T 2006-07-14-02.59.37.279353
IN_TRAY DB2INST1 T 2006-07-14-02.59.39.266638
ORG DB2INST1 T 2006-07-14-02.59.36.992592
PROJECT DB2INST1 T 2006-07-14-02.59.37.655876
SALES DB2INST1 T 2006-07-14-02.59.39.074732
STAFF DB2INST1 T 2006-07-14-02.59.37.090247

8) Convert DB ispb created under DB2 V7 - Result failed..
$ db2 migrate database ispb
SQL1224N A database agent could not be started to service a request, or was terminated as a result of a database system shutdown or a force command.
SQLSTATE=55032

In db2diag.log,
---------------------
at '2006-07-17-13.27.51.848214+480', there's the entry
PID : 37608 TID : 1 PROC : db2agent (ISPB) 0
INSTANCE: db2inst1 NODE : 000 DB : ISPB
APPHDL : 0-7 APPID: *LOCAL.db2inst1.060717052748
FUNCTION: DB2 UDB, oper system services, sqloEDUCodeTrapHandler, probe:20
DATA #1 : Signal Number Recieved, 4 bytes
11
DATA #2 : Siginfo, 64 bytes

and from http://publib.boulder.ibm.com/infoce...d/c0020711.htm

Signal # 11 indicated that it's a segmentation violation.....


Also at '2006-07-17-13.28.21.937325+480'
2006-07-17-13.28.21.937325+480 I5322076C433 LEVEL: Severe
PID : 37722 TID : 1 PROC : db2ipccm 0
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloEDUSIGCHLDHandler, probe:50
DATA #1 : String, 158 bytes
Detected the death of an EDU with process id 37608
The signal number that terminated this process was 11
Look for trap files (t37608.*) in the dump directory


-----t37608.000------------------------------------------------------------------
db2 build information: DB2 v8.1.0.72 s040914 SQL08020
timestamp: 2006-07-17-13.27.51.757195
instance name: db2inst1.000
EDU name : db2agent (ISPB) 0
Signal #11
uname: S:AIX R:2 V:5 M:00595FBA4C00 N:pvc21
thread id : 1 (0x1)

siginfo_t (length=64)
0000000B 00000000 00000033 00000000
00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000

Signal #11 (SIGSEGV): si_addr is 0x00000000, si_code is 0x00000033 (SEGV_ACCERR:Invalid permissions for mapped object.)

Resource Limits

Data seg top [sbrk(0)] = 0x201BA020
Cur data size (bytes) = 0x000000000EFFFE00
Cur stack size (bytes) = 0x0000000010000000
Cur core size (bytes) = 0x0000000077359400

..... omitted .....


*** Start dump of instructions at point of failure ***

0xD86362CC : 4200FFE8 bdn 0xD86362B4 # 16,bit0
0xD86362D0 : 80E40000 lwz r7,0(r4)
0xD86362D4 : 30A5FFFC addic r5,r5,-4
0xD86362D8 : 7CE95038 and r9,r7,r10
0xD86362DC : 7D295014 addc r9,r9,r10
0xD86362E0 : 7D2C50F9 nor. r12,r9,r10
0xD86362E4 : 40820034 bne cr0,0xD8636318 # 4,bit2
0xD86362E8 : 85040004 lwzu r8,4(r4)
>>>> 0xD86362EC : 94E50004 stwu r7,4(r5)
0xD86362F0 : 7D095038 and r9,r8,r10
0xD86362F4 : 7D295014 addc r9,r9,r10
0xD86362F8 : 7D2C50F9 nor. r12,r9,r10
0xD86362FC : 4082002C bne cr0,0xD8636328 # 4,bit2
0xD8636300 : 84E40004 lwzu r7,4(r4)

*** End dump of instructions at point of failure ***

*** Start stack traceback ***

0xD86362EC strcpy + 0x8C
0xD98A1440 sqlrlm_migrate_6to8_sysfuncparms__FP20sqle_agent_p rivatecb8sqlr_tidP8sqlr_tidUsPc + 0x16D4
0xD988CA8C sqlrlm_catalogFixup__FP8sqlrr_cbUslT3P17sqlrlm_cat ChangesPc8sqlr_tidP8sqlr_tid + 0x108
0xD98C6950 sqlrlm_catalog_migrate__FP20sqle_agent_privatecbs + 0x141C
0xD98C53E4 sqlrlmig__FsP5sqlca + 0x5C
0xD988A584 sqlefmig__FPcP7sqlebwaP5sqlca + 0x598
0xD9887FE4 sqlemigr__FP7sqlebwaP7UCintfc + 0x94C
0xD8221A50 sqlelost__FP7UCintfc + 0xD6C
0xD84BE8C0 sqleUCengnInit__FP7UCintfcUs + 0x1F4
0xD84BE3DC sqleUCagentConnect + 0x23C
0xD8AAFC70 sqljsConnectAttach__FP13sqljsDrdaAsCbP7UCintfc + 0xB0
0xD8AAA310 sqljs_ddm_accsec__FP7UCintfcP14sqljsDDMObject + 0x2E8
0xD86D01B4 sqljsParseConnect__FP13sqljsDrdaAsCbP14sqljsDDMObj ectP7UCintfc + 0x74
0xD86D0584 sqljsParse__FP13sqljsDrdaAsCbP7UCintfc + 0x250
0xD86B57C0 sqljsSqlam__FP7UCintfcP13sqle_agent_cbb + 0x11C
0xD86B5D5C sqljsDriveRequests__FP13sqle_agent_cbP11UCconHandl e + 0x88
0xD86B5C00 sqljsDrdaAsInnerDriver__FP17sqlcc_init_structb + 0xB0
0xD86B59D4 sqljsDrdaAsDriver__FP17sqlcc_init_struct + 0x84
0xD8582D38 sqleRunAgent__FPcUl + 0x288
0xD8354B88 sqloCreateEDU__FPFPcUl_vPcUlP13SQLO_EDU_INFOPl + 0x198
0xD8354654 sqloSpawnEDU + 0x210
0xD8581734 sqleCreateNewAgent__FiP8sqlekrcbP17sqlcc_init_stru ctP16sqlkdRqstRplyFmtP18sqle_master_app_cbT1P20age ntPoolLatchVectorP16SQLO_EDUWAITPOSTP17sqle_connec t_infoPP13sqle_agent_cb + 0x2C4
0xD8581074 sqleGetAgentFromPool__FiP17sqlcc_init_structT1P12s qlz_app_hdlP16sqlkdRqstRplyFmtP17sqle_connect_info + 0x318
0xD8580C8C sqleGetAgent__FiP17sqlcc_init_structT1P12sqlz_app_ hdlPv + 0x1C0
0xD8340764 sqlccipcconnmgr_child__FPcUl + 0x80C
0xD8354B88 sqloCreateEDU__FPFPcUl_vPcUlP13SQLO_EDU_INFOPl + 0x198
0xD8354654 sqloSpawnEDU + 0x210
0xD833FDE0 sqlccipcconnmgr__FP15SQLCC_CONNMGR_TP9sqlf_kcfd + 0x138
0x10003C7C sqleInitSysCtlr__FPi + 0x7D8
0x10002CF8 sqleSysCtlr__Fv + 0x40
0xD8358B78 sqloRunInstance + 0x75C
0x100028EC DB2main + 0x8A4
0x10003470 main + 0xC

*** End stack traceback ***

... omitted....

-----end of t37608.000------------------------------------------------------------------

last entry in the 'stack traceback' section shows 'strcpy'.....

Does this mean that DB2 failed when it's trying to perform 'strcpy'? If not, is there anyways for me to correct this problem?

Regards,

Tony
Attached Files
File Type: zip db2diag.zip (15.9 KB, 122 views)
File Type: zip db2inst1.zip (1.5 KB, 116 views)
File Type: zip t37608-1.zip (31.1 KB, 126 views)
File Type: zip t37608-2.zip (14.0 KB, 114 views)
Jul 17 '06 #1
0 1408

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

Similar topics

3
by: mo | last post by:
The code I've pasted below is taken directly from Microsoft's site at http://support.microsoft.com/default.aspx?scid=kb;EN-US;308157 As far as I can tell the error is raised on this line: conn...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
13
by: Adam | last post by:
Trying to get an asp.net 2.0 app running and am receiving this error. I see a bunch of people with this error on the net, but no solution: Works fine on my local machine, deployed to a server it...
2
by: news | last post by:
I just upgraded to PHP 4.4.2 on my Slackware 10.2 system. And Apache/mySQL/PHP all work great through a browser. No errors. But when I try to run a PHP script through the command line, which I...
2
by: Dennis | last post by:
I'm getting the following problem occasionally...the application will work perfectly well for a period of time and then this pops up. I have tried turning off the default proxy in the...
5
by: yoyo | last post by:
Just to help somebody else if they are looking, we wasted 2 hours last night trying to figure out the problem. (With a manager over our shoulder) We upgraded our 8.1 FP11 instance to FP13....
3
by: bernard.charriere | last post by:
Hello, We have to load and store datas in format XML in a Database DB2 V8.1 FP13, instance 64 bits with DataPartitionned Feature, around 3 Tb of datas stored in the DB ( 6 Generations of 500...
6
by: chrisg | last post by:
Hi All. I've installed DB2 V8.1 (base) on AIX 5.3 (TL5) and it all works. When I update it to FP13 (having done nothing else to the system at all), it dies. Here is the db2diag.log file. Is...
1
by: kencana | last post by:
Hi all, I was wondering why I always get "failed to open stream: HTTP request failed!" error in either loading a normal or xml file. i don't understand why i can't get the whole result. the result...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.