MQ:The module has an invalid magic number.

发布于 2022-09-08 01:05:46 字数 1519 浏览 13 评论 0

MQ commands fail after install of V6.0

Problem(Abstract)
You install WebSphere MQ V6.0 and find that you are unable to run MQ commands such as: dspmqver, dspmq and so on. You receive an error like the following:

dspmq
exec(): 0509-036 Cannot load program dspmq because of the following errors:
0509-150 Dependent module /usr/lib/libmqmcs_r.a(shr.o) could not be loaded.
0509-103 The module has an invalid magic number.  
  

Cause
The system picks 32 bit MQ libraries when It should select the 64 bit lib's.

The most likely cause is that the $LIBPATH or $LD_LIBRARY_PATH is pointing to the 32 bit MQ libraries when It should select the 64 bit lib's.
See Implications of a 64-bit queue manager in the Quick Beginnings Guide for your operating system.

  

Resolving the problem
Edit the LIBPATH or $LD_LIBRARY_PATH to remove the /usr/lib or /opt/lib.
or

Add /[usr|opt]/mqm/lib64 to the front of the $LIBPATH or $LD_LIBRARY_PATH

export LIBPATH=/usr/mqm/lib64LIBPATH to add on AIX system.  
  

Related information
WebSphere MQ Library

  

  

Product Alias/Synonym
WMQ MQS

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文