MQ commands fail after install of V6.0 - Middleware News
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/lib64:$LIBPATH to add on AIX system.
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/lib64:$LIBPATH to add on AIX system.
Comments
Post a Comment