By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,190 Members | 1,503 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,190 IT Pros & Developers. It's quick & easy.

Fun installing db2 8.1 in a suse linux box

P: n/a
I just installed db2 8.1 workgroup server edition in a suse enterprise
9 linux box. The window in the end of the install
tell me to run db2fs as a normal user. I do it:

raubtest@db2:~>db2fs
DB2JAVIT : RC = 9501
DB2INSTANCE : -2029059916
raubtest@db2:~>

From the documentation, I was supposed to see a window where I could
create a sample database. But, that is not what I get. What am I
missing here? Suggestions?
Also, I am seeing messages like this being written in my console:

Jan 27 11:22:06 db2 ifup: No configuration found for sit0
Jan 27 11:22:06 db2 kernel: mtrr: type mismatch for fd000000,800000 old:
uncacheable new: write-combining

What is is trying to tell me?
--
Mauricio raub-kudria-com
(if you need to email me, use this address =)

Nov 12 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Have you installed a compatible JDK and set the JDK_PATH env variable?

Larry Edelstein

Mauricio Tavares wrote:
I just installed db2 8.1 workgroup server edition in a suse
enterprise 9 linux box. The window in the end of the install
tell me to run db2fs as a normal user. I do it:

raubtest@db2:~>db2fs
DB2JAVIT : RC = 9501
DB2INSTANCE : -2029059916
raubtest@db2:~>

From the documentation, I was supposed to see a window where I could
create a sample database. But, that is not what I get. What am I
missing here? Suggestions?
Also, I am seeing messages like this being written in my console:

Jan 27 11:22:06 db2 ifup: No configuration found for sit0
Jan 27 11:22:06 db2 kernel: mtrr: type mismatch for fd000000,800000 old:
uncacheable new: write-combining

What is is trying to tell me?


Nov 12 '05 #2

P: n/a
Mauricio Tavares wrote:
I just installed db2 8.1 workgroup server edition in a suse
enterprise 9 linux box.
First problem: DB2 8.1 is not supported on SLES 9:
http://www.ibm.com/software/data/db2...latdist81.html

However, DB2 8.2 is fully supported on SLES 9:
http://www.ibm.com/db2/linux/validate
The window in the end of the install
tell me to run db2fs as a normal user. I do it:

raubtest@db2:~>db2fs
DB2JAVIT : RC = 9501
DB2INSTANCE : -2029059916
raubtest@db2:~>

From the documentation, I was supposed to see a window where I could
create a sample database. But, that is not what I get. What am I
missing here? Suggestions?

The new DB2 HOWTO (for Version 8.2) has some instructions for SLES 9:
http://www.tldp.org/HOWTO/DB2-HOWTO/distros.html

It's probably a JRE incompatibility; the version of Java installed with
SLES 9 isn't compatible with the Java utilities (such as db2fs "First
Steps"). Yes, I know all about how Java is supposed to be
platform-neutral... sigh.

If you just want to create the sample database, the 'db2sampl' command
will do the trick.
Also, I am seeing messages like this being written in my console:

Jan 27 11:22:06 db2 ifup: No configuration found for sit0
Jan 27 11:22:06 db2 kernel: mtrr: type mismatch for fd000000,800000 old:
uncacheable new: write-combining

What is is trying to tell me?


It's probably trying to tell you: "Install DB2 Version 8.2."

I installed DB2 8.2 on an up-to-date SLES 9 and haven't run into any of
those problems. DB2 8.1 came out a _long_ time ago; I'm sure a lot of
inconsistencies have been ironed out since then.

Dan
Nov 12 '05 #3

P: n/a
Dan Scott wrote:
Yes, I know all about how Java is supposed to be
platform-neutral... sigh.


SCNR: Write once debug everywhere. ;-)

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #4

P: n/a
Dan Scott wrote:
Mauricio Tavares wrote:
I just installed db2 8.1 workgroup server edition in a suse
enterprise 9 linux box.

First problem: DB2 8.1 is not supported on SLES 9:
http://www.ibm.com/software/data/db2...latdist81.html

However, DB2 8.2 is fully supported on SLES 9:
http://www.ibm.com/db2/linux/validate

Incidentally, I just checked: I am running 8.2. For some reason I
read somewhere I had 8.1. Shame on me =)
The window in the end of the install
tell me to run db2fs as a normal user. I do it:

raubtest@db2:~>db2fs
DB2JAVIT : RC = 9501
DB2INSTANCE : -2029059916
raubtest@db2:~>

From the documentation, I was supposed to see a window where I could
create a sample database. But, that is not what I get. What am I
missing here? Suggestions?


The new DB2 HOWTO (for Version 8.2) has some instructions for SLES 9:
http://www.tldp.org/HOWTO/DB2-HOWTO/distros.html

It's probably a JRE incompatibility; the version of Java installed with
SLES 9 isn't compatible with the Java utilities (such as db2fs "First
Steps"). Yes, I know all about how Java is supposed to be
platform-neutral... sigh.

Well, here's what happened: I installed the ibm jdk 1.4.2 that came
with suse 9. Scripts like db2fs expect 1.4.1 (in fact, it look for it
under /opt/IBMJava1.4.1 or something like that). So, I wonder: should I
try to find IBM java sdk 1.4.1 for 32bit linux, which I do not seem to
find in their website?
If you just want to create the sample database, the 'db2sampl' command
will do the trick.
I tried it and it seemed to work =)
Also, I am seeing messages like this being written in my console:

Jan 27 11:22:06 db2 ifup: No configuration found for sit0
Jan 27 11:22:06 db2 kernel: mtrr: type mismatch for fd000000,800000
old: uncacheable new: write-combining

What is is trying to tell me?

It's probably trying to tell you: "Install DB2 Version 8.2."

Correction: I have installed it, but since this is the first time I
play with db2, I feel rather clueless. =)
I installed DB2 8.2 on an up-to-date SLES 9 and haven't run into any of
those problems. DB2 8.1 came out a _long_ time ago; I'm sure a lot of
inconsistencies have been ironed out since then.
I shall keep my fingers crossed then. =)
Dan

--
Mauricio raub-kudria-com
(if you need to email me, use this address =)

Nov 12 '05 #5

P: n/a
Larry wrote:
Have you installed a compatible JDK and set the JDK_PATH env variable?
I installed 1.4.2 but it seems to want 1.4.1. :P
Larry Edelstein

Mauricio Tavares wrote:
I just installed db2 8.1 workgroup server edition in a suse
enterprise 9 linux box. The window in the end of the install
tell me to run db2fs as a normal user. I do it:

raubtest@db2:~>db2fs
DB2JAVIT : RC = 9501
DB2INSTANCE : -2029059916
raubtest@db2:~>

From the documentation, I was supposed to see a window where I could
create a sample database. But, that is not what I get. What am I
missing here? Suggestions?
Also, I am seeing messages like this being written in my console:

Jan 27 11:22:06 db2 ifup: No configuration found for sit0
Jan 27 11:22:06 db2 kernel: mtrr: type mismatch for fd000000,800000
old: uncacheable new: write-combining

What is is trying to tell me?


--
Mauricio raub-kudria-com
(if you need to email me, use this address =)

Nov 12 '05 #6

P: n/a
"Mauricio Tavares" <uc*@ftc.gov> wrote in message
news:ct**********@spnode25.nerdc.ufl.edu...

Well, here's what happened: I installed the ibm jdk 1.4.2 that came
with suse 9. Scripts like db2fs expect 1.4.1 (in fact, it look for it
under /opt/IBMJava1.4.1 or something like that). So, I wonder: should I
try to find IBM java sdk 1.4.1 for 32bit linux, which I do not seem to
find in their website?

Go here to download the latest IBM Java:
http://www-106.ibm.com/developerwork.../jdk/linux140/

Then click on download on the right hand side of the screen. You will need
to register (free).

Then issue the following commands (but make sure to change the directory
path to match the actual install directory name):

db2 update dbm cfg using JDK_PATH /opt/IBMJava2-14
db2 update admin cfg using JDK_PATH /opt/IBMJava2-14

Next time try using googel groups search. This has been discussed many times
before.
Nov 12 '05 #7

P: n/a
Here's an update. IBM ended up sending a new install cd set. It seems,
for whatever reason, the one I got did not have the java 1.4.1 sdk in
the server install cd. So, I chose to install it as opposite to 1.4.1.
Now life is good.

BTW, thanks for the urls, Dan! They did help me a lot. I do have one
question though: in
http://www.tldp.org/HOWTO/DB2-HOWTO/...ng.html#AEN593, they mention
raw devices. How would I know when to use them as opposite to SMS?
--
Mauricio raub-kudria-com
(if you need to email me, use this address =)

Nov 12 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.