473,486 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

DB2 PE and Debian GNU/Linux

Hi!

I am unsuccessfully trying to get DB2 working under Debian GNU/Linux
Unstable for some weeks now.

The setup wizard of db2setup allways freezes. I have waited for a whole
hour, but nothing happend.

So I tryed to install DB2 using db_install, but this only decompresses the
RPM files, no more.
In the meantime I found this instructions:

http://salz.is.informatik.uni-duisbu...t/t0007067.htm

I've manually created the groups and users and after that I created an
instance using this command:

db2icrt -u db2fenc1 db2inst1

This seems to work. Even a directory ~/sqllib containing the most
important DB2 commands has been created. However calling db2start allways
brings up this error:

SQL1042C Unerwarteter Systemfehler. SQLSTATE=58004

Can somebody tell me what I have done wrong?

Thanks in advance,
Alex

--
Alexander Nofftz, Leverkusen, Germany
al********@email.com
http://www.alexnofftz.de/

Nov 12 '05 #1
5 4291
Alexander Nofftz wrote:
Hi!

I am unsuccessfully trying to get DB2 working under Debian GNU/Linux
Unstable for some weeks now.

The setup wizard of db2setup allways freezes. I have waited for a whole
hour, but nothing happend.

So I tryed to install DB2 using db_install, but this only decompresses the
RPM files, no more.
In the meantime I found this instructions:

http://salz.is.informatik.uni-duisbu...t/t0007067.htm

I've manually created the groups and users and after that I created an
instance using this command:

db2icrt -u db2fenc1 db2inst1

This seems to work. Even a directory ~/sqllib containing the most
important DB2 commands has been created. However calling db2start allways
brings up this error:

SQL1042C Unerwarteter Systemfehler. SQLSTATE=58004

Can somebody tell me what I have done wrong?

Thanks in advance,
Alex


Alex,

You may want to look at the article I wrote for IDUG Solutions Journal a
while ago. I had DB2 V8 up and running quite happily on Debian for quite
some time (before having to go to RPM based distros for other reasons).

Here's the link -

http://www.idug.org/idug/member/jour.../article04.cfm

HTH

Phil
Nov 12 '05 #2
Hi Philip!

Am Mon, 07 Jun 2004 22:49:07 +0000 schrieb Philip Nelson:
You may want to look at the article I wrote for IDUG Solutions Journal a
while ago. I had DB2 V8 up and running quite happily on Debian for quite
some time (before having to go to RPM based distros for other reasons).

Here's the link -

http://www.idug.org/idug/member/jour.../article04.cfm


Thanks for this, but I also doesn't work.

However I used db2trc on and this gives me this error:

$ db2trc on
Trace is turned on
$ db2start
/home/db2inst1/sqllib/adm/db2star2: relocation error:
/home/db2inst1/sqllib/adm/db2star2: undefined symbol:
sqloInitIPCWaitPost

Thanks in advance,
Alex

--
Alexander Nofftz, Leverkusen, Germany
al********@email.com
http://www.alexnofftz.de/
Nov 12 '05 #3
Alexander Nofftz wrote:
Hi Philip!

Am Mon, 07 Jun 2004 22:49:07 +0000 schrieb Philip Nelson:
You may want to look at the article I wrote for IDUG Solutions Journal a
while ago. I had DB2 V8 up and running quite happily on Debian for
quite some time (before having to go to RPM based distros for other
reasons).

Here's the link -

http://www.idug.org/idug/member/jour.../article04.cfm


Thanks for this, but I also doesn't work.

However I used db2trc on and this gives me this error:

$ db2trc on
Trace is turned on
$ db2start
/home/db2inst1/sqllib/adm/db2star2: relocation error:
/home/db2inst1/sqllib/adm/db2star2: undefined symbol:
sqloInitIPCWaitPost

Thanks in advance,
Alex


Alex,

Sounds like you are not finding the DB2 libraries. Is the DB2 library
directory linked to or in your library path. I have the following
environment variables set by the (Stinger) installer -

LD_LIBRARY_PATH=:/home/db2inst1/sqllib/lib
LIBPATH=:/home/db2inst1/sqllib/lib

There's nothing relating to DB2 in ld.so.conf and I don't think there are
soft links either.

The setting up of these paths is done by adding the db2profile script to
your .bash_profile. Here's the line to add -

.. /home/db2inst1/sqllib/db2profile

Try adding this and let me know how you get on.

If that doesn't work, can you tell me what kernel you are running ?

Phil
Nov 12 '05 #4
Hi!

Am Tue, 08 Jun 2004 12:25:26 +0000 schrieb Philip Nelson:
Sounds like you are not finding the DB2 libraries. Is the DB2 library
directory linked to or in your library path. I have the following
environment variables set by the (Stinger) installer -

LD_LIBRARY_PATH=:/home/db2inst1/sqllib/lib
LIBPATH=:/home/db2inst1/sqllib/lib
Yeah, that's all ok.
If that doesn't work, can you tell me what kernel you are running ?


I'm running Linux 2.6.6 here. Is 2.6 a problem?
I'll try it out using Knoppix...

Regards,
Alex
Nov 12 '05 #5
Am Wed, 09 Jun 2004 00:04:45 +0200 schrieb Alexander Nofftz:
I'm running Linux 2.6.6 here. Is 2.6 a problem?
I'll try it out using Knoppix...


Kernel 2.4.21 also doesn't work.

However, I noticed this:

$ ldd -r sqllib/adm/db2star2
libdb2e.so.1 => /opt/IBM/db2/V8.1/lib/libdb2e.so.1 (0x40019000)
libdb2g11n.so.1 => /opt/IBM/db2/V8.1/lib/libdb2g11n.so.1 (0x43171000)
libdb2osse.so.1 => /opt/IBM/db2/V8.1/lib/libdb2osse.so.1 (0x431e3000)
libm.so.6 => /lib/tls/libm.so.6 (0x43284000)
libcxa.so.1 => /opt/IBM/db2/V8.1/lib/libcxa.so.1 (0x432a7000)
libc.so.6 => /lib/tls/libc.so.6 (0x43315000)
libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0x43451000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x4347d000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x43480000)
librt.so.1 => /lib/tls/librt.so.1 (0x4348f000)
libdb2install.so.1 => /opt/IBM/db2/V8.1/lib/libdb2install.so.1 (0x43495000)
libdb2locale.so.1 => /opt/IBM/db2/V8.1/lib/libdb2locale.so.1 (0x43499000)
libdb2genreg.so.1 => /opt/IBM/db2/V8.1/lib/libdb2genreg.so.1 (0x434b7000)
libdb2trcapi.so.1 => /opt/IBM/db2/V8.1/lib/libdb2trcapi.so.1 (0x43500000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
undefined symbol: sqloWaitIPCWaitPost (sqllib/adm/db2star2)
undefined symbol: sqloTermIPCWaitPost (sqllib/adm/db2star2)
undefined symbol: _Z16sqleInitEventLogv (sqllib/adm/db2star2)
undefined symbol: sqloInitIPCWaitPost (sqllib/adm/db2star2)
undefined symbol: sqloResetIPCWaitPost (sqllib/adm/db2star2)

So it seems that an important library is missing, but I don't know which. :-(

Regards,
Alex
Nov 12 '05 #6

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

Similar topics

1
2595
by: Guillaume Gervais | last post by:
Hello there, I'm using Debian GNU/Linux testing/unstable (sarge) as an operating system. About a month ago, I installed python 2.3 on my machine, from the sources. And it worked perfectly. ...
15
4092
by: Colin J. Williams | last post by:
The distutils download page has: -------------------------------------------------------- Current stable release The current stable release is Distutils 1.0.2; you can download it as: *...
1
5623
by: Derrick D. Daugherty | last post by:
ehlo all I'm trying to compile an app over from sol26 to a recent debian x86 system and I'm not having much luck with getting the precompiler to build some logic we require. I've seen posts...
2
1672
by: adamg | last post by:
Hello My native distribution is Linux Debian. I have written the C++ multithreaded application (using ptypes libs). After compilation on debian everything works ok (6 threads workinng) but...
4
2123
by: souvik1982 | last post by:
Hi everyone! I need to be able to plot the output of my cellular automata onto the pixels of my screen and refresh in real time. I used to program in Borland C++ on a Windows machine, but...
4
1404
by: Brian van den Broek | last post by:
Hi all, I know that this is something for which I could (keep) STFW, but I'm mostly ignorant of the subject area and under a bit of a deadline. So I hope people won't mind if I truncate my...
0
2473
by: gandalf | last post by:
I am trying to install oracle 9i on debian. The oracle 9i linux installation manual provides a checklist of pre-installation changes that have to be made to linux before installing oracle. I am...
2
2132
by: muquaddim | last post by:
Hi, I am running a Debian/Sarge #uname -a Linux jukebox 2.6.14.2 #5 PREEMPT Mon Nov 28 20:28:54 CET 2005 i686 GNU/Linux I have a java casino game created by jdk (1.6.0_02) netbeans(5..5.1) . If...
1
1425
by: ancest | last post by:
I build a really `short` application under Fedora 8 int main() { return 0; } On both above platforms, it is build with command: g++ test.cpp -o test
0
7094
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
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6839
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
7305
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...
1
4863
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...
0
4559
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...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
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 ...
0
259
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...

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.