Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Platform mismatch message even though platforms seems to match

850 views
Skip to first unread message

Cindy Ross

unread,
May 3, 2013, 9:54:58 AM5/3/13
to
Hi, we are trying to install this package

IBM DB2 Advanced Enterprise Server Edition V9.7 for Linux
on AMD64 and Intel EM64T systems (x64) English (CZVG5EN)

on a system for which the "uname -a" command returns this:

Linux farm0148 2.6.18-274.7.1.el5 #1 SMP Mon Oct 17 11:57:14 EDT 2011
x86_64 x86_64 x86_64 GNU/Linux

but we are getting a DBI1189E error (full error description below).

I don't understand why there would be mismatch given the
package description and uname -a seem to match...

Am I missing something?
Should we install something other flavor of 9.7 server instead?
Any other suggestions???

Error details:

DBI1189E There has been an attempt to use db2setup
on an image for a platform that does not match the current platform
'Linux/x86-64' on which it is being run.

Explanation:

Possible causes include:

- This DB2 install image is not valid for the current
platform.

- The current platform is not supported by DB2.


User Response:

Install DB2 using the DB2 install image that corresponds
with the current platform 'Linux/x86-64'.

Larry

unread,
May 3, 2013, 10:17:20 PM5/3/13
to
Have you checked the DB2 Linux validation page to see if the version of
Linux you are trying to install on is supported?

https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Information%20Management/page/DB2%20and%20DB2%20Connect%209.7%20for%20Linux%20-%20Supported%20Environments

Larry Edelstein

--
Larry E.

--- news://freenews.netfront.net/ - complaints: ne...@netfront.net ---

Mladen Gogala

unread,
May 4, 2013, 6:03:51 PM5/4/13
to
On Fri, 03 May 2013 22:17:20 -0400, Larry wrote:

> Have you checked the DB2 Linux validation page to see if the version of
> Linux you are trying to install on is supported?

Larry, her version string looks like Red Hat El 5.5 which should be
supported.

Linux farm0148 2.6.18-274.7.1.el5 #1 SMP Mon Oct 17 11:57:14 EDT 2011
x86_64 x86_64 x86_64 GNU/Linux


I have DB2 on something similar, although my version is patched up to the
nines:


[mgogala@db2 ~]$ uname -a
Linux db2.home.com 2.6.18-348.4.1.el5 #1 SMP Tue Apr 16 15:40:06 EDT 2013
x86_64 x86_64 x86_64 GNU/Linux

My patch level (348) is significantly higher than hers (274).
Essentially, we're on the same platform and I have no problems:
[mgogala@db2 ~]$ db2 connect to sample

Database Connection Information

Database server = DB2/LINUXX8664 10.1.2
SQL authorization ID = MGOGALA
Local database alias = SAMPLE

[mgogala@db2 ~]$ db2 'select count(*) as cnt from scott.emp'

CNT
-----------
14

1 record(s) selected.

We're on the same platform. If my box works, so should hers. My guess is
that there is a library missing. Cindy, can you check out

~db2inst1/sqllib/db2dump/db2diag.log?


My version is 10.1.2 but RH 5 should be supported by 9.7 as well.

--
Mladen Gogala
The Oracle Whisperer
http://mgogala.byethost5.com

TheBoss

unread,
May 5, 2013, 6:18:40 PM5/5/13
to
Mladen Gogala <gogala...@gmail.com> wrote in
news:pan.2013.05...@gmail.com:
I agree it is probably a missing library.
I bet it is either libstdc++.so.5 or compat-libstdc++.
See: http://tinyurl.com/DB2v97-Req-RHEL5

This can be checked with the rpm command, like:

rpm -qa libstdc++*
rpm -qa compat-libstdc++*

HTH

--
Jeroen

TheBoss

unread,
May 5, 2013, 6:38:37 PM5/5/13
to
TheBoss <The...@invalid.nl> wrote in news:XnsA1B82FBC76D1TheBossUsenet@
213.75.12.10:
This came out a bit awkward, so here goes again:
I bet it is either libstc++.so.6 which is in package libstdc++,
or libstdc++.so.5 which is in package compat-libstdc++.


> See: http://tinyurl.com/DB2v97-Req-RHEL5
>
> This can be checked with the rpm command, like:
>
> rpm -qa libstdc++*
> rpm -qa compat-libstdc++*
>

And while you are at it, you might as well check for the libaio package;
I recall having issues with that one in the past, and you need it to be
able to use asynchronous I/O.

> HTH
>

--
Jeroen

Cindy Ross

unread,
May 7, 2013, 9:27:03 AM5/7/13
to
Thanks so much everybody!

I passed this info to our server guy, and he said that actually he had
just solved it... You won't believe it, but the "solution" was to run
the gui installation rather than the command prompt installation.
I'm guessing the gui one must do some extra stuff like make sure the
runtime libraries are in place and pointed to by the env vars, etc...

Helmut Tessarek

unread,
May 7, 2013, 1:26:36 PM5/7/13
to
Hello Cindy,
This sounds strange to me. Usually the Java install routine is the one with
problems, because of missing libs or some other quirks in Java.

I have been using the db2_install script since forever and never had an
instance where the Java worked and the script did not. I'm very much against
the fact the we deprectaed db2_install, because I don't want to use a response
file or an X server just to install DB2.
I had a lot of discussions with the install team and hope they will re-consider.

--
Helmut K. C. Tessarek
DB2 Performance and Development
IBM Toronto Lab

Mladen Gogala

unread,
May 7, 2013, 2:03:16 PM5/7/13
to
Yes, C# installation script would be much better than Java.

Helmut Tessarek

unread,
May 7, 2013, 2:22:51 PM5/7/13
to
On 07.05.13 14:03 , Mladen Gogala wrote:
> Yes, C# installation script would be much better than Java.

I'm not quite sure, if I understand your comment. Are you serious, is this a
joke or plain sarcasm?

The db2_install script is a shell script which runs on all Unix flavors w/o
the need for libraries.

Windows users only use the GUI anyway, so a Java install routine is perfectly
fine. Or have you ever ssh'ed into a Windows box and administered DB2 via the
commandline? That's because it is not even possible.

Mladen Gogala

unread,
May 8, 2013, 1:46:47 AM5/8/13
to
On Tue, 07 May 2013 14:22:51 -0400, Helmut Tessarek wrote:

> I'm not quite sure, if I understand your comment. Are you serious, is
> this a joke or plain sarcasm?

Just a joke.

Helmut Tessarek

unread,
May 8, 2013, 11:04:43 AM5/8/13
to
On 08.05.13 1:46 , Mladen Gogala wrote:
> Just a joke.

Ok, thanks. You know, I don't know you neither that long nor that good enough
from just reading your posts, but I'll get there eventually... ;-)

Ian

unread,
May 8, 2013, 1:23:16 PM5/8/13
to
On Tuesday, May 7, 2013 11:22:51 AM UTC-7, Helmut Tessarek wrote:
> On 07.05.13 14:03 , Mladen Gogala wrote:

> Or have you ever ssh'ed into a Windows box and administered DB2 via the
> commandline? That's because it is not even possible.
>

Ha, not true. DB2 10.1 includes a build of OpenSSH for Windows,
so (if you enable the SSH service) so you actually *can* SSH in
and manage DB2.

$ ssh db2admin@windowsserver db2cmd -i -w
db2admin@windowsserver's password:

C:\Users\db2admin\AppData\Local>db2 connect to sample
db2 connect to sample

Database Connection Information

Database server = DB2/NT64 10.1.2
SQL authorization ID = DB2ADMIN
Local database alias = SAMPLE


Pipes don't work, and other command line things are spotty, but
in a pinch it's certainly better than having to open an RDP
session.

Helmut Tessarek

unread,
May 8, 2013, 1:48:44 PM5/8/13
to
On 08.05.13 13:23 , Ian wrote:
> Ha, not true. DB2 10.1 includes a build of OpenSSH for Windows,
> so (if you enable the SSH service) so you actually *can* SSH in
> and manage DB2.

Wow, that's awesome. I'm not a Windows user. The last time I installed DB2 on
Windows (at a customer) was version 5.2.
At that time I tried everything to get this working. I even exchanged the
Windows cmd.exe with db2cmd.exe for ssh/telnet, but nothing worked.

Well, good to know. Thanks for the info.

Mladen Gogala

unread,
May 9, 2013, 2:52:07 AM5/9/13
to
On Wed, 08 May 2013 11:04:43 -0400, Helmut Tessarek wrote:

> On 08.05.13 1:46 , Mladen Gogala wrote:
>> Just a joke.
>
> Ok, thanks. You know, I don't know you neither that long nor that good
> enough from just reading your posts, but I'll get there eventually...
> ;-)

Helmut, I wouldn't even think of being sarcastic toward someone who knows
so much more about DB2 than me. I still have much to learn and show the
proper respect to more experienced people, like yourself.
I do, however, enjoy the reaction that mere mentioning of Windows causes
with some people. This was just an innocuous joke and not a sign of
disrespect. I do apologize if that was perceived as sarcasm. It wasn't my
intention to be sarcastic.

Helmut Tessarek

unread,
May 9, 2013, 3:28:17 AM5/9/13
to
On 09.05.13 2:52 , Mladen Gogala wrote:
> Helmut, I wouldn't even think of being sarcastic toward someone who knows
> so much more about DB2 than me. I still have much to learn and show the
> proper respect to more experienced people, like yourself.
> I do, however, enjoy the reaction that mere mentioning of Windows causes
> with some people. This was just an innocuous joke and not a sign of
> disrespect. I do apologize if that was perceived as sarcasm. It wasn't my
> intention to be sarcastic.

Now I think I have to apologize, because you might have misunderstood my
previous comment.
I love sarcasm. It is sometimes hard to read, if somebody is sarcastic,
especially if you are not face to face or know that person.

I'm originally from Europe and I am definitely sarcastic, but I found out that
this isn't something people appreciate here in North America.

So please, make jokes, be sarcastic, do whatever you like. I seriously just
wanted to know how your comment was meant.
Since I know you only from reading your posts (and you are rather a new poster
in this group), I couldn't tell.

Mark A

unread,
May 9, 2013, 4:25:17 AM5/9/13
to
>> On 09.05.13 2:52 , Mladen Gogala wrote:
>> Helmut, I wouldn't even think of being sarcastic toward someone who
>> knows so much more about DB2 than me. I still have much to learn and
>> show the proper respect to more experienced people, like yourself. I
>> do, however, enjoy the reaction that mere mentioning of Windows causes
>> with some people. This was just an innocuous joke and not a sign of
>> disrespect. I do apologize if that was perceived as sarcasm. It wasn't
>> my intention to be sarcastic.

> On Thu, 09 May 2013 03:28:17 -0400, Helmut Tessarek wrote:
> Now I think I have to apologize, because you might have misunderstood my
> previous comment.
> I love sarcasm. It is sometimes hard to read, if somebody is sarcastic,
> especially if you are not face to face or know that person.
>
> I'm originally from Europe and I am definitely sarcastic, but I found
> out that this isn't something people appreciate here in North America.
>
> So please, make jokes, be sarcastic, do whatever you like. I seriously
> just wanted to know how your comment was meant. Since I know you only
> from reading your posts (and you are rather a new poster in this group),
> I couldn't tell.

If I hear any more about jokes, sarcasm, and apologizing, I think I am going to puke.

Peter H. Coffin

unread,
May 9, 2013, 7:25:51 AM5/9/13
to
On Thu, 9 May 2013 08:25:17 +0000 (UTC), Mark A wrote:

> If I hear any more about jokes, sarcasm, and apologizing, I think I am
> going to puke.

We're sorry if we've caused any intestinal distress....

--
85. I will not use any plan in which the final step is horribly
complicated, e.g. "Align the 12 Stones of Power on the sacred altar
then activate the medallion at the moment of total eclipse."
Instead it will be more along the lines of "Push the button."

Ian

unread,
May 10, 2013, 12:00:51 PM5/10/13
to
On Thursday, May 9, 2013 1:25:17 AM UTC-7, Mark A wrote:

>
> If I hear any more about jokes, sarcasm, and apologizing, I think I am going to puke.

Oh no! Please don't puke, once it gets inside your keyboard there is NO WAY to get that smell out.

Frederik Engelen

unread,
May 14, 2013, 9:03:53 AM5/14/13
to

> I'm very much against the fact the we deprectaed db2_install,
> because I don't want to use a response file or an X server
> just to install DB2.
>
> I had a lot of discussions with the install team and hope they will re-consider.

Same here, I use db2_install for most installations as well. I don't see why they couldn't integrate that into db2setup. Asking 3-4 questions and installing accordingly should be within the possibilities of IBM Software Group. Using a response file is too much overhead for a quick installation. Especially since there's no basic sample response file.

--
Frederik Engelen

Ian

unread,
May 14, 2013, 3:19:06 PM5/14/13
to
With DB2 10.1 you can install using db2setup without requiring the
graphical display: You just have to use a response file with db2setup.

db2setup -r /path/to/response.file.rsp

With 2 minutes of editing the sample response files that are included,
you can make the response file do exactly what db2_install does
(i.e. just lay down the code).

However, you also have the ability to do so much more - create
multiple instances, configure instances, etc. Arguably you have more
control in the response file than you do even in the db2setup GUI.

There is an entire section of the install guide that covers how to use
response files:

http://bit.ly/10o5yFg



Helmut Tessarek

unread,
May 14, 2013, 3:36:23 PM5/14/13
to
On 14.05.13 15:19 , Ian wrote:
> With DB2 10.1 you can install using db2setup without requiring the
> graphical display: You just have to use a response file with db2setup.

This is true, but you still need to install Java... :-(

Ian

unread,
May 14, 2013, 7:58:30 PM5/14/13
to
On Tuesday, May 14, 2013 12:36:23 PM UTC-7, Helmut Tessarek wrote:
> On 14.05.13 15:19 , Ian wrote:
>
> > With DB2 10.1 you can install using db2setup without requiring the
> > graphical display: You just have to use a response file with db2setup.
>
> This is true, but you still need to install Java... :-(

Not sure what you mean - the install packages include the java runtime
necessary to run db2setup. You don't need a JRE installed as a prereq
to run db2setup.


Ian

Helmut Tessarek

unread,
May 15, 2013, 3:42:39 PM5/15/13
to
On 14.05.13 19:58 , Ian wrote:
> Not sure what you mean - the install packages include the java runtime
> necessary to run db2setup. You don't need a JRE installed as a prereq
> to run db2setup.

In this case, please ignore my last post... :-)
0 new messages