ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » AIX 5.0

Post new topic  Reply to topic
 AIX 5.0 « View previous topic :: View next topic » 
Author Message
mail2aus
PostPosted: Mon Nov 03, 2003 8:04 pm    Post subject: AIX 5.0 Reply with quote

Newbie

Joined: 03 Nov 2003
Posts: 3

Hi

I'm having a problem with MQ Series on AIX 5.

The installation completed with no problems, but when I attempt to run any of the commands in the bin directory, the following error occours:

$ crtmqm

exec(): 0509-036 Cannot load program crtmqm because of the following
errors:
0509-150 Dependent module libmqmcs_r.a(shr.o) could not be
loaded.
0509-022 Cannot load module libmqmcs_r.a(shr.o).
0509-026 System error: A file or directory in the path name does
not exist

The library libmqmcs_r.a is present as a link in the /usr/lib directory
and the link points to the /usr/mqm/lib directory but in the /usr/mqm/lib directory there is no such file present ..

In fact many of the libraries created as links in the /usr/lib directory are physically missing from the /usr/mqm/lib directory..

Any idea what could be the problem??
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Nov 05, 2003 5:27 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I'd uninstall and reinstall to see if the problem persists.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
neocruz
PostPosted: Thu Feb 15, 2007 3:13 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2004
Posts: 54

Problem

You install MQ V6.0. Then 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. It should select the 64 bit lib's. Most likely the $LIBPATH or $LD_LIBRARY_PATH has (AIX®)/usr/lib or (Sun, HP, Linux™)/opt/lib in it. And /[usr|opt]/lib has libmqm* files linked to /[usr|opt]/mqm/lib/* files.

See Implications of a 64-bit queue manager in the Quick Beginnings Guide for your operating system.



Solution

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » AIX 5.0
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.