MQ:The module has an invalid magic number.
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论