免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5305 | 回复: 0

MQ:The module has an invalid magic number. [复制链接]

论坛徽章:
0
发表于 2010-05-19 09:25 |显示全部楼层
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP