ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQv7 AMQ8119: Unsupported threading model detected.

Post new topic  Reply to topic
 MQv7 AMQ8119: Unsupported threading model detected. « View previous topic :: View next topic » 
Author Message
dannymq
PostPosted: Wed Oct 15, 2008 5:22 pm    Post subject: MQv7 AMQ8119: Unsupported threading model detected. Reply with quote

Newbie

Joined: 15 Oct 2008
Posts: 5

Hi,

Just installed MQv7 on a SUSE Linux Enterprise Server 9 running
glib 2.3.3. kernel 2.6.5


Installation runs fine but then it complains about threading models

crtmqm -q mars.queue.manager
AMQ8119: Unsupported threading model detected.


The beta verrsion of MQv7 worked fine as did V6 on this server
Any tips on this error ?


SOME RESEARCH
Most modern Linux distributions ship with both LinuxThreads and NPTL, and they provide a facility to switch between the two. To discover which version of which thread library you're currently using on your system, run the following command:
$ getconf GNU_LIBPTHREAD_VERSION
The output will look something like this:
NPTL 0.34
Or:
linuxthreads-0.10


We get linuxthreads-0.10

strange as I did a "rpm -q glibc" which returned glibc-2.3.3-98.96

Glibc2.3.3 should have NPTL 0.61 from all I have read
Back to top
View user's profile Send private message
dannymq
PostPosted: Sun Oct 19, 2008 9:36 pm    Post subject: Reply with quote

Newbie

Joined: 15 Oct 2008
Posts: 5

One thing i noticed is that glibc on this server does not provide the NPTL threads alternative to Linux threads. Could this be the problem ?

Does MQ7 only work with NPTL threads ? Do i need a version of the glibc RPM that supports NPTL threads ?


>ldd /opt/mqm/bin/crtmqm
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/libm.so.6 (0x40008000)
libmqml_r.so => /opt/mqm/lib/libmqml_r.so (0x4002a000)
libmqmcs_r.so => /opt/mqm/lib/libmqmcs_r.so (0x404ea000)
libmqmr_r.so => /opt/mqm/lib/libmqmr_r.so (0x40751000)
libmqz_r.so => /opt/mqm/lib/libmqz_r.so (0x4098a000)
libmqm_r.so => /opt/mqm/lib/libmqm_r.so (0x40b0a000)
libmqmzse.so => /opt/mqm/lib/libmqmzse.so (0x40b31000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40b33000)
libdl.so.2 => /lib/libdl.so.2 (0x40b86000)
libc.so.6 => /lib/libc.so.6 (0x40b89000)
/lib/ld-linux.so.2 (0x80000000)


>rpm -ql glibc | grep tls
< returns nothing> to no /lib/tls support
Back to top
View user's profile Send private message
dannymq
PostPosted: Mon Oct 20, 2008 11:16 pm    Post subject: I tested this out for my self - NPTL required for MQv7 Reply with quote

Newbie

Joined: 15 Oct 2008
Posts: 5

# I have 2.6 version of kernel.
+ uname -a
Linux sles9 2.6.5-7.311-smp #1 SMP Mon Mar 10 13:12:16 UTC 2008 i686 i686 i386 GNU/Linux

# NPTL threads used by default.
+ getconf GNU_LIBPTHREAD_VERSION
NPTL 2.3.5

# mqV7 works fine
+ crtmqm
AMQ7048: The queue manager name is either not valid or not known

# i can see the NPTL TLS libraries
+ ldd /opt/mqm/bin/crtmqm | grep tls
libm.so.6 => /lib/tls/libm.so.6 (0x4001e000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40b49000)
libc.so.6 => /lib/tls/libc.so.6 (0x40b5c000)

# Ok now lets try linuxthreads as GLIB is compiled to support both
# Lets force it.
+ export LD_ASSUME_KERNEL=2.4.1

# Verified we are using linuxthreads
+ getconf GNU_LIBPTHREAD_VERSION
linuxthreads-0.10

# Oops MQv7 dosn't like the linuxthreads threading model!!!
+ crtmqm
AMQ8119: Unsupported threading model detected.
+ ldd /opt/mqm/bin/crtmqm | grep tls


MY ISSUE/RESOLUTION
---------------------------
A version of glibc was installed that was not compiled with NPTL support. My only way to resolve this is to somehow force an install of glibc compiled with NPTL support.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQv7 AMQ8119: Unsupported threading model detected.
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.