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 » IBM MQ Installation/Configuration Support » MQ 6 Install & Configure -- Strange Problem

Post new topic  Reply to topic
 MQ 6 Install & Configure -- Strange Problem « View previous topic :: View next topic » 
Author Message
dandapani
PostPosted: Tue Mar 07, 2006 3:56 pm    Post subject: MQ 6 Install & Configure -- Strange Problem Reply with quote

Newbie

Joined: 07 Mar 2006
Posts: 4

Hi,

I have intalled MQ 6.0 on AIX 5.2 ML4. While I configure the same I find a strage problem. When I created the the queue, started and stopped the queue using "root" it is working fine. But whenever I try to do the same throught user id "mqm" I get the following error.
--------------------------------------------------------------------------------------
exec(): 0509-036 Cannot load program crtmqm because of the following
errors:
0509-150 Dependent module /usr/lib/libmqmcs_r.a(shr.o) could
not be loaded.
0509-124 The program is a discontinued 64-bit object file.
--------------------------------------------------------------------------------------

As I am basically an AIX guy and this is the first time I'm configuring MQ, could not make out why this is happening.

Here are some more observations:

/usr/lib/libmqmcs_r.a the file is a link to /usr/mqm/lib/libmqmcs_r.a and both are present.

and if it can work from "root" on the same server then the second error saying 64-bit object file ...... I'm not sure why I'm geting that for only "mqm"

I am not sure if this has anything to do with environment variables, but I have not manually set anything on "root" also.

Can anyone please help me.

Thanks & Regards
DP
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Mar 07, 2006 4:18 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Is this a fresh install of MQ or did you have v5.3? and if so, did you uninstall that first?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
dandapani
PostPosted: Tue Mar 07, 2006 4:42 pm    Post subject: Reply with quote

Newbie

Joined: 07 Mar 2006
Posts: 4

Hi,

MQ 5.3 was already present, and I followed the Migration Installation given in http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp.

As per those steps I have uninstalled

mqm.Client.Bnd
mqm.dce.Samples
mqm.dce.Server
mqm.Server.Bnd


Thanks & Regards
DP
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Mar 07, 2006 4:44 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

my AIX system shows:

ls -l /usr/lib/libmqmcs_r.a
lrwxrwxrwx 1 mqm mqm 25 Jun 01 2005 /usr/lib/libmqmcs_r.a -> /usr/mqm/lib/libmqmcs_r.a
$ ls -l /usr/mqm/lib/libmqmcs_r.a
-r-xr-xr-x 1 mqm mqm 1864946 May 19 2005 /usr/mqm/lib/libmqmcs_r.a


it was a fresh mq v6 install (btw...no fp1 applied yet)
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
dandapani
PostPosted: Tue Mar 07, 2006 4:54 pm    Post subject: Reply with quote

Newbie

Joined: 07 Mar 2006
Posts: 4

Hi,

Its the same with me !

lrwxrwxrwx 1 mqm mqm 25 Mar 07 12:53 /usr/lib/libmqmcs_r.a -> /usr/mqm/lib/libmqmcs_r.a

-r-xr-xr-x 1 mqm mqm 1864946 May 19 2005 /usr/mqm/lib/libmqmcs_r.a

and everything works fine from "root"!

Thanks & Regards
DP
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Mar 07, 2006 5:28 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Do you have either LIBPATH or LD_LIBRARY_PATH set? At WMQ v6 you should either unset these environment variables, or don't include /usr/lib.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
dandapani
PostPosted: Tue Mar 07, 2006 6:05 pm    Post subject: Reply with quote

Newbie

Joined: 07 Mar 2006
Posts: 4

Hi Wayne,

That helped Thanks a lot for all your help.

The LIBPATH was set, I removed the /usr/lib and voila ! it worked.

Thanks again !

But one doubt here since LIBPATH was set in /etc/profile and root still has it, but how come it still worked in root.

Thanks & Regards
DP
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Mar 07, 2006 6:12 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I don't know why root worked, but the Infocenter says this:
Quote:
Implications of a 64-bit queue manager
When using the new 64-bit queue manager, the use of the LIBPATH and LD_LIBRARY_PATH environment variable is not advised. Setting these environment variables might result in you not being able to run any WebSphere® MQ commands. By default, the installation will operate as in previous versions of WebSphere MQ, with symbolic links being created from /usr/lib, /usr/bin and /usr/include to the appropriate files within the WebSphere MQ tree structure. In the case of /usr/lib the symbolic links will be to the 32-bit WebSphere MQ libraries provided for customer 32-bit applications.

_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
qrfc
PostPosted: Fri Aug 18, 2006 5:16 am    Post subject: Reply with quote

Novice

Joined: 29 May 2002
Posts: 19
Location: Paris, France

Oups ...

Had the same problem. And it's a big problem for us because we need to set LIBPATH for some applications ... Why ? Simply because we started MQseries through a different user than mqm ! ! !

Solution to this problem : modify everything to start-only mqseries through mqm user, and still start WBI through an application user.

Not cool at all !!!!!!!!!!!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ 6 Install & Configure -- Strange Problem
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.