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 » Websphere MQ 7.1 - amqsput error after upgrade

Post new topic  Reply to topic
 Websphere MQ 7.1 - amqsput error after upgrade « View previous topic :: View next topic » 
Author Message
laurici
PostPosted: Tue Apr 10, 2012 1:02 am    Post subject: Websphere MQ 7.1 - amqsput error after upgrade Reply with quote

Newbie

Joined: 09 Apr 2012
Posts: 7

Hi all. I have upgraded the existing MQ 6.0.2.7 to MQ 7.1 on the QA environment (AIX6.1). After the upgrade, the dspmqver command displays the new version correctly (7.1.0.0). In order to verify the upgrade, I have created a test queue manager and I'm trying to put some messages in a test queue.
When running amqsput, the following error is displayed:

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

I have checked in /usr/mqm/lib and libmqm_r.a does not exist.
The mqm.base.samples fileset was successfully installed.

When checking on a server running WMQ 6.0.2.7, the file libmqm_r.a is located in /usr/mqm/lib.

Any suggestions, why is this happening on WMQ7.1?

Thanks,
Laura
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 10, 2012 1:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

setmqenv /s.

EDIT: sorry. Unix.
. /<install path>/bin/setmqenv -s
Back to top
View user's profile Send private message
laurici
PostPosted: Tue Apr 10, 2012 3:24 am    Post subject: Reply with quote

Newbie

Joined: 09 Apr 2012
Posts: 7

I have set the environment with setmqenv and also set the installation as primary with setmqinst immediately after I finished with the WMQ 7.1 upgrade.
. /<install path>/bin/setmqenv -s
. /<install path>/bin/setmqinst -i -n <InstallationName>

I run setmqenv -s again and I still have the problem with the missing module (libmqm_r.a) error when using the samp programs amqsput/amqsget.

Regards, Laura
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 10, 2012 6:05 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Hi, I don't mean to hit this, but it's not 100% clear.

The error message indicates that the mqm libs are not on the PATH. In 7.1, that's *usually* because the setmqenv is not sourced in the current profile.

you appear to have done the right thing with ".<space>/<installpath>". but it's not clear if that applies to the *current* shell, or if you just executed "/<installpath>/bin/setmqenv".

Otherwise, make sure you actually have the so file in the MQ install location? Also, you are using the amqsput/amqsget from the 7.1 install, right? not from another 7.0.x install?

If that doesn't work, consider a PMR.
Back to top
View user's profile Send private message
laurici
PostPosted: Tue Apr 10, 2012 6:28 am    Post subject: Reply with quote

Newbie

Joined: 09 Apr 2012
Posts: 7

The amqsput/amqsget are from the 7.1 install (the only one existing on the server).
I checked for the missing module libmqm_r.a(libmqm_r.o) on the entire server directory structure and there is not such file. It should be located in /usr/mqm/lib.
I will open a PMR.

Thank you, Laura
Back to top
View user's profile Send private message
mvic
PostPosted: Tue Apr 10, 2012 11:52 am    Post subject: Re: Websphere MQ 7.1 - amqsput error after upgrade Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

laurici wrote:
I have checked in /usr/mqm/lib and libmqm_r.a does not exist.

What files DO you have in /usr/mqm/lib ? Paste ls -l from that dir, please.
Back to top
View user's profile Send private message
laurici
PostPosted: Tue Apr 10, 2012 10:05 pm    Post subject: Reply with quote

Newbie

Joined: 09 Apr 2012
Posts: 7

Here is the output:

mqm@NODE983 $ ls -l /usr/mqm/lib
total 8272
Code:
-r-xr-xr-x    1 mqm      mqm           10030 Oct 14 20:57 amqcc62a
-r-xr-xr-x    1 mqm      mqm           10032 Oct 14 20:57 amqcc62a_r
-r--r--r--    1 mqm      mqm              43 Oct 10 2011  amqcpcert.lic
-r-xr-xr-x    1 mqm      mqm           54156 Oct 14 20:57 amqczsc
-r-xr-xr-x    1 mqm      mqm            2890 Oct 14 20:57 amqczscg
-r--r--r--    1 mqm      mqm              43 Oct 10 2011  amqpcert.lic
-r--r--r--    1 mqm      mqm         2851208 Oct 14 21:05 amqtrc.fmt
-r--r--r--    1 mqm      mqm         1055579 Oct 14 21:07 amqtrc2.fmt
-r-xr-xr-x    1 mqm      mqm            1696 Oct 14 20:57 amqzaax
-r-xr-xr-x    1 mqm      mqm            1700 Oct 14 20:57 amqzaax_r
lrwxrwxrwx    1 mqm      mqm              21 Apr 09 11:54 amqzfu -> /usr/mqm/lib64/amqzfu
-r-xr-xr--    1 mqm      mqm           54569 Oct 14 20:57 amqzsc
-r-xr-xr--    1 mqm      mqm            2868 Oct 14 20:57 amqzscg
lrwxrwxrwx    1 mqm      mqm              32 Apr 09 11:57 libgsk8acmeidup.so -> ../gskit8/lib/libgsk8acmeidup.so
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:57 libgsk8cms.so -> ../gskit8/lib/libgsk8cms.so
lrwxrwxrwx    1 mqm      mqm              28 Apr 09 11:57 libgsk8dbfl.so -> ../gskit8/lib/libgsk8dbfl.so
lrwxrwxrwx    1 mqm      mqm              28 Apr 09 11:57 libgsk8drld.so -> ../gskit8/lib/libgsk8drld.so
lrwxrwxrwx    1 mqm      mqm              28 Apr 09 11:57 libgsk8iccs.so -> ../gskit8/lib/libgsk8iccs.so
lrwxrwxrwx    1 mqm      mqm              28 Apr 09 11:57 libgsk8kicc.so -> ../gskit8/lib/libgsk8kicc.so
lrwxrwxrwx    1 mqm      mqm              26 Apr 09 11:57 libgsk8km.so -> ../gskit8/lib/libgsk8km.so
lrwxrwxrwx    1 mqm      mqm              28 Apr 09 11:57 libgsk8ldap.so -> ../gskit8/lib/libgsk8ldap.so
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:57 libgsk8p11.so -> ../gskit8/lib/libgsk8p11.so
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:57 libgsk8ssl.so -> ../gskit8/lib/libgsk8ssl.so
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:57 libgsk8sys.so -> ../gskit8/lib/libgsk8sys.so
lrwxrwxrwx    1 mqm      mqm              28 Apr 09 11:57 libgsk8valn.so -> ../gskit8/lib/libgsk8valn.so
lrwxrwxrwx    1 mqm      mqm              28 Apr 09 11:53 libimqb23ia.a -> /usr/mqm/lib64/libimqb23ia.a
lrwxrwxrwx    1 mqm      mqm              30 Apr 09 11:53 libimqb23ia_r.a -> /usr/mqm/lib64/libimqb23ia_r.a
lrwxrwxrwx    1 mqm      mqm              28 Apr 09 11:57 libimqc23ia.a -> /usr/mqm/lib64/libimqc23ia.a
lrwxrwxrwx    1 mqm      mqm              30 Apr 09 11:57 libimqc23ia_r.a -> /usr/mqm/lib64/libimqc23ia_r.a
lrwxrwxrwx    1 mqm      mqm              28 Apr 09 11:54 libimqs23ia.a -> /usr/mqm/lib64/libimqs23ia.a
lrwxrwxrwx    1 mqm      mqm              30 Apr 09 11:54 libimqs23ia_r.a -> /usr/mqm/lib64/libimqs23ia_r.a
-r-xr-xr-x    1 mqm      mqm            6189 Oct 14 20:57 libmqccics_r.a
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:58 libmqcxa.a -> /usr/mqm/lib64/libmqcxa.a
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:58 libmqcxa64.a -> /usr/mqm/lib64/libmqcxa64.a
lrwxrwxrwx    1 mqm      mqm              29 Apr 09 11:58 libmqcxa64_r.a -> /usr/mqm/lib64/libmqcxa64_r.a
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:58 libmqcxa_r.a -> /usr/mqm/lib64/libmqcxa_r.a
lrwxrwxrwx    1 mqm      mqm              24 Apr 09 11:57 libmqdc.a -> /usr/mqm/lib64/libmqdc.a
lrwxrwxrwx    1 mqm      mqm              26 Apr 09 11:57 libmqdc_r.a -> /usr/mqm/lib64/libmqdc_r.a
lrwxrwxrwx    1 mqm      mqm              24 Apr 09 11:54 libmqds.a -> /usr/mqm/lib64/libmqds.a
lrwxrwxrwx    1 mqm      mqm              26 Apr 09 11:54 libmqds_r.a -> /usr/mqm/lib64/libmqds_r.a
lrwxrwxrwx    1 mqm      mqm              23 Apr 09 11:53 libmqe.a -> /usr/mqm/lib64/libmqe.a
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:53 libmqe_r.a -> /usr/mqm/lib64/libmqe_r.a
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:53 libmqecs.a -> /usr/mqm/lib64/libmqecs.a
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:53 libmqecs_r.a -> /usr/mqm/lib64/libmqecs_r.a
lrwxrwxrwx    1 mqm      mqm              24 Apr 09 11:57 libmqic.a -> /usr/mqm/lib64/libmqic.a
lrwxrwxrwx    1 mqm      mqm              26 Apr 09 11:57 libmqic_r.a -> /usr/mqm/lib64/libmqic_r.a
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:57 libmqicb.a -> /usr/mqm/lib64/libmqicb.a
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:57 libmqicb_r.a -> /usr/mqm/lib64/libmqicb_r.a
lrwxrwxrwx    1 mqm      mqm              24 Apr 09 11:57 libmqiz.a -> /usr/mqm/lib64/libmqiz.a
lrwxrwxrwx    1 mqm      mqm              26 Apr 09 11:57 libmqiz_r.a -> /usr/mqm/lib64/libmqiz_r.a
-r-xr-xr-x    1 mqm      mqm            6526 Oct 14 21:17 libmqjx_r.so
-r-xr-xr-x    1 mqm      mqm           16210 Oct 14 21:17 libmqjxds_r.so
-r-xr-xr-x    1 mqm      mqm            1294 Oct 14 21:17 libmqjxs_r.so
-r-xr-xr-x    1 mqm      mqm          140759 Oct 14 21:17 libmqjxx_r.so
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:54 libmqmax.a -> /usr/mqm/lib64/libmqmax.a
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:54 libmqmax_r.a -> /usr/mqm/lib64/libmqmax_r.a
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:54 libmqmcb.a -> /usr/mqm/lib64/libmqmcb.a
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:54 libmqmcb_r.a -> /usr/mqm/lib64/libmqmcb_r.a
-r-xr-xr-x    1 mqm      mqm            8136 Oct 14 20:17 libmqmcbrt.o
-r-xr-xr-x    1 mqm      mqm            6317 Oct 14 20:57 libmqmcics_r.a
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:53 libmqmcs.a -> /usr/mqm/lib64/libmqmcs.a
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:53 libmqmcs_r.a -> /usr/mqm/lib64/libmqmcs_r.a
lrwxrwxrwx    1 mqm      mqm              26 Apr 09 11:54 libmqml_r.a -> /usr/mqm/lib64/libmqml_r.a
lrwxrwxrwx    1 mqm      mqm              24 Apr 09 11:54 libmqmr.a -> /usr/mqm/lib64/libmqmr.a
lrwxrwxrwx    1 mqm      mqm              26 Apr 09 11:54 libmqmr_r.a -> /usr/mqm/lib64/libmqmr_r.a
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:54 libmqmxa.a -> /usr/mqm/lib64/libmqmxa.a
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:54 libmqmxa_r.a -> /usr/mqm/lib64/libmqmxa_r.a
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:54 libmqmzf.a -> /usr/mqm/lib64/libmqmzf.a
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:54 libmqmzf_r.a -> /usr/mqm/lib64/libmqmzf_r.a
lrwxrwxrwx    1 mqm      mqm              26 Apr 09 11:53 libmqmzse.a -> /usr/mqm/lib64/libmqmzse.a
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:54 libmqutl.a -> /usr/mqm/lib64/libmqutl.a
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:54 libmqutl_r.a -> /usr/mqm/lib64/libmqutl_r.a
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:53 libmqxzu.a -> /usr/mqm/lib64/libmqxzu.a
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:53 libmqxzu_r.a -> /usr/mqm/lib64/libmqxzu_r.a
lrwxrwxrwx    1 mqm      mqm              23 Apr 09 11:54 libmqz.a -> /usr/mqm/lib64/libmqz.a
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:54 libmqz_r.a -> /usr/mqm/lib64/libmqz_r.a
lrwxrwxrwx    1 mqm      mqm              24 Apr 09 11:54 libmqzi.a -> /usr/mqm/lib64/libmqzi.a
lrwxrwxrwx    1 mqm      mqm              26 Apr 09 11:54 libmqzi_r.a -> /usr/mqm/lib64/libmqzi_r.a
lrwxrwxrwx    1 mqm      mqm              25 Apr 09 11:53 libmqzsd.a -> /usr/mqm/lib64/libmqzsd.a
lrwxrwxrwx    1 mqm      mqm              27 Apr 09 11:53 libmqzsd_r.a -> /usr/mqm/lib64/libmqzsd_r.a
Back to top
View user's profile Send private message
issac
PostPosted: Tue May 08, 2012 11:55 pm    Post subject: Reply with quote

Disciple

Joined: 02 Oct 2008
Posts: 158
Location: Shanghai

I think your env variables have messed up contents before what WMQ adds to them.

please try the following:
---------------------------------------
su - mqm
export LIBPATH=
export LD_LIBRARY_PATH=
dspmqver
_________________
Bazinga!
Back to top
View user's profile Send private message
laurici
PostPosted: Wed May 09, 2012 2:11 am    Post subject: Reply with quote

Newbie

Joined: 09 Apr 2012
Posts: 7

The problem was solved after performing a forced reinstall of the runtime component (mqm.base.runtime 7.1).
libmqm.a and libmqm_r.a were moved from being in the server component on WMQ 6.0.2.7 to the runtime component on WMQ 7.1, so after the upgrade, the files were not moved between components.
Thank you, Laura
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 » IBM MQ Installation/Configuration Support » Websphere MQ 7.1 - amqsput error after upgrade
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.