473,399 Members | 3,919 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,399 software developers and data experts.

import into db2 fails

Hi there,

currently i'm trying to migrate a mysql-db to db2 express-c.
therefor i use the data migration toolkit and all seems just
fine until the point where mtk tries to import the data.
the tables are created just fine, at least i can see them in
the db2cc. but while importing data i get these exceptions:

Fri Mar 28 23:39:38 GMT+01:00 2008 ERROR VERIFICATIONITEM \
SQL error -668 on SELECT COUNT(*) FROM "DB2INST1"."ALLIANCE_APPLICATIONS" \
: com.ibm.db2.jcc.b.SqlException: DB2 SQL Error: SQLCODE=-668, SQLSTATE=57016, \
SQLERRMC=3;DB2INST1.ALLIANCE_APPLICATIONS, DRIVER=3.50.152
com.ibm.db2.jcc.b.SqlException: DB2 SQL Error: SQLCODE=-668, SQLSTATE=57016, SQLERRMC=3; \
DB2INST1.ALLIANCE_APPLICATIONS, DRIVER=3.50.152
at com.ibm.db2.jcc.b.wc.a(wc.java:55)
at com.ibm.db2.jcc.b.wc.a(wc.java:126)
at com.ibm.db2.jcc.b.jk.b(jk.java:3578)
at com.ibm.db2.jcc.b.jk.a(jk.java:3560)
at com.ibm.db2.jcc.t4.db.a(db.java:730)
at com.ibm.db2.jcc.t4.db.m(db.java:719)
at com.ibm.db2.jcc.t4.db.i(db.java:244)
at com.ibm.db2.jcc.t4.db.c(db.java:52)
at com.ibm.db2.jcc.t4.t.c(t.java:44)
at com.ibm.db2.jcc.t4.sb.i(sb.java:153)
at com.ibm.db2.jcc.b.tk.P(tk.java:1438)
at com.ibm.db2.jcc.b.tk.a(tk.java:2217)
at com.ibm.db2.jcc.b.tk.a(tk.java:557)
at com.ibm.db2.jcc.b.tk.executeQuery(tk.java:541)
at com.ibm.mtk.model.verification.MTKVerificationItem Extension.verify(MTKVerificationItemExtension.java :2113)
at com.ibm.mtk.model.verification.MTKVerification.ver ify(MTKVerification.java:1224)
at com.ibm.mtk.model.deployment.MTKDeploymentModelEle ment.deploy(MTKDeploymentModelElement.java:879)
at com.ibm.mtk.ui.deployment.MTKDeploymentView$11.run (MTKDeploymentView.java:1015)

Why does this happen?
The database is installed on a remote server (linux), mtk is running
on my desktop pc (linux).

In Deploy_ETS.log there are some messages like this:

SQL2036N Der Pfad für die Datei oder Einheit
"/home/gawain/mtk/projects/B/DataOutScripts/ETS_admin_agb_delict.out" ist
ungültig.

What does this mean?
I can access this file just fine with cat or more.

--
MfG, Christian Welzel aka Gawain@Regenbogen

GPG-Key: http://www.camlann.de/key.asc
Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15
Mar 30 '08 #1
5 2503
Serge Rielau wrote:
Anyway since all this happens on your desktop, if all else fails just
make the directory path and file accessible to everyone...
I made my whole user dir rwx to all (chown -R a+rwx) and tried
again... same messages. I dropped the db2 database and created
it again... next try... same -668 error message.
I will try to reinstall the whole db2 thingy on the server from scratch,
perhaps something changes after that.

--
MfG, Christian Welzel

GPG-Key: http://www.camlann.de/key.asc
Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15
Mar 30 '08 #2
Christian Welzel wrote:
Serge Rielau wrote:
>Anyway since all this happens on your desktop, if all else fails just
make the directory path and file accessible to everyone...

I made my whole user dir rwx to all (chown -R a+rwx) and tried
again... same messages. I dropped the db2 database and created
it again... next try... same -668 error message.
I will try to reinstall the whole db2 thingy on the server from scratch,
perhaps something changes after that.
Have you sent a note to the MTK folks?
I have my doubts that reinstalling DB2 will help.
It must be something obvious - in hindsight.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Mar 31 '08 #3
Serge Rielau wrote:
Have you sent a note to the MTK folks?
I think so.
I have my doubts that reinstalling DB2 will help.
You are right. It didnt help.
At least now i get more exceptions... but not because of the
new installation but i extracted the data a second time.
Now MTK is complaining about the missing MySqlCatalog database...
again.
Unfortunately i cannot rememeber how i made this error go away
the last time. damn.
It must be something obvious - in hindsight.
i didnt hope so. This would mean i wasted a lot of time and it
would me my fault ... NEVER! :)

--
MfG, Christian Welzel aka Gawain@Regenbogen

GPG-Key: http://www.camlann.de/key.asc
Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15
Mar 31 '08 #4
Christian Welzel wrote:
Serge Rielau wrote:
>Have you sent a note to the MTK folks?

I think so.
>I have my doubts that reinstalling DB2 will help.

You are right. It didnt help.
At least now i get more exceptions... but not because of the
new installation but i extracted the data a second time.
Now MTK is complaining about the missing MySqlCatalog database...
again.
Unfortunately i cannot rememeber how i made this error go away
the last time. damn.
>It must be something obvious - in hindsight.

i didnt hope so. This would mean i wasted a lot of time and it
would me my fault ... NEVER! :)
Hmmm.. Have you tried posting in the DB2 Express C forum?
http://www.ibm.com/developerworks/fo...pa?forumID=805
I'd guess that most expertise on MySQL -DB2 enablement will be
concentrated there.

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Mar 31 '08 #5
Serge Rielau schrieb:
>>Have you sent a note to the MTK folks?
Got some answer. They tell me, that i'm using JCC T4 driver but MTK requires a
JCC T2 driver. I will try to switch the drivers this evening and try again.
If you could figure out how to do that as the driver i'm using is the default
one of my local db2 client installation...
Hmmm.. Have you tried posting in the DB2 Express C forum?
Nope. I didnt know about this one.
I will try the other jdbc driver and ask there thereafter.

Bye, Christian
Apr 1 '08 #6

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

Similar topics

2
by: Bram Stolk | last post by:
Hello, I am using python-2.2.2 on linux-ARM. Python itself works OK. However, importing pickle gives me *very* strange results: The first 'import pickle' fails with "ImportError: No module...
0
by: Vio | last post by:
Hi, I've been trying to embed (statically) wxPy alongside an embedded py interpreter on a linux/gtk box. At one point, for some reason misc.o linking reported "multiple definitions of...
1
by: Frans Englich | last post by:
Hello all, I have a couple of questions related to module importing. 1) When I start my Python program with `python foo.py` instead of simply adding a interpreter comment on the first line and...
2
by: Keith Chadwick | last post by:
I have been running some tests with regards to xsl:include and xsl:import with the same results on both and I am wondering if someone can explain this behavior to me! First off the xslt file is...
2
by: LesleyW | last post by:
I'm using a public set of schemas for GML, avaiable at www.opengis.net/gml. They all include or import each other but live in a folder hierarchy, so the import statement includes...
0
by: Anders J. Munch | last post by:
Now 2.5 is out, and we have a syntax for explicit relative imports (PEP 328, http://www.python.org/dev/peps/pep-0328/, in case anyone wasn't paying attention). The long-term plan is that the...
2
by: pendell | last post by:
I am working with a client running 2003 Access. Some time ago I built them an import spec for use with the Import Wizard. Several months later, I have been called back and asked to solve a...
8
by: John Henry | last post by:
Hi list, I can't understand this. The following import statement works fine: from PythonCard.templates.dialogs import runOptionsDialog but this one fails: from...
5
by: Stef Mientki | last post by:
hello, The import statement "import sqlite3" gives the error given below. In simple programs, the import statement (sometimes) succeed, and I can indeed access the database. So I guess there is...
8
by: tow | last post by:
I have a python script (part of a django application, if it makes any difference) which is exhibiting the following behaviour: import my_module # succeeds imp.find_module("my_module") # fails,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.