Posted: Wed Oct 15, 2008 5:22 pm Post subject: MQv7 AMQ8119: Unsupported threading model detected.
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
Posted: Mon Oct 20, 2008 11:16 pm Post subject: I tested this out for my self - NPTL required for MQv7
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.
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