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 » Issues running mo03 SupportPac binary on AIX, MQ 6.0.2.6

Post new topic  Reply to topic
 Issues running mo03 SupportPac binary on AIX, MQ 6.0.2.6 « View previous topic :: View next topic » 
Author Message
gstokes
PostPosted: Mon Apr 27, 2009 10:36 am    Post subject: Issues running mo03 SupportPac binary on AIX, MQ 6.0.2.6 Reply with quote

Apprentice

Joined: 08 Jan 2007
Posts: 38

Is anyone having issues running mo03 SupportPac binary(qload) on AIX OS 5.9, MQSeries 6.0.2.6 and if so is therea fix? It was working on MQ 6.0.2.4

Version 1.6 Error
=======================
mqm@sfbc2mg2 # ./qload -m QM.CA.LNMQ -i CA.G.IBUSRESPONSE.LOCAL
QLOAD Program by Paul Clarke [ V1.6 Build:Jul 12 2008 ]
Error loading MQAPI DLL RC(2)
Back to top
View user's profile Send private message
prasadpav
PostPosted: Tue Oct 12, 2010 4:59 am    Post subject: Reply with quote

Centurion

Joined: 03 Oct 2004
Posts: 142

Hi,
I'm having the same problem, did you managed to fix it?.

I'm using MQ 6.0.2.8 on AIX. I've set LIBPATH with /usr/mqm/lib64.

Prasad
Back to top
View user's profile Send private message
RouteMe
PostPosted: Wed May 25, 2011 10:47 am    Post subject: MQ support pack MO03 Reply with quote

Novice

Joined: 03 Dec 2009
Posts: 16

MQ Support Pack MO03

I have a similar issue.. i am using MQ V7.0.0.2 AIX 5.3
unzipped and copied qload with setting binary to /home/mqm

bash-4.1$ qload -m QMGR -i xxxxxx.Q -f /home/mqm/failQ
QLOAD Program by Paul Clarke [ V1.6 Build:Jul 12 2008 ]
Error loading MQAPI DLL mqm RC(2)

bash-4.1$ ./qload -m QMGR -i xxxxxx.Q -f /home/mqm/failQ
QLOAD Program by Paul Clarke [ V1.6 Build:Jul 12 2008 ]
Error loading MQAPI DLL mqm RC(2)

Google didnt help me much on this
Could anyone please help me in solving this error

Thank You.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed May 25, 2011 10:51 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Is MQ installed on this AIX box? Is it on the PATH properly?
Does the documentation that comes with MO03 provide hints or configuration you need to follow?
Back to top
View user's profile Send private message
RouteMe
PostPosted: Wed May 25, 2011 9:22 pm    Post subject: Reply with quote

Novice

Joined: 03 Dec 2009
Posts: 16

Thanks for the response
This is our Dev env, MQ V7.0.0.2 is installed in /usr/mqm/

Did as the document said
Download this file (in BINARY) to a temporary directory and unzip with the option to ensure the subdirectories stored in the ZIP file are re-created). This will create subdirectories containing the items shown below. Once unzipped, transfer the appropriate executable, again in binary, to the destination system

I have downloaded the zip file to my desktop and copied the zip file into AIX server(/home/mqm/MO03) using WinScp in Binary mode and unzipped
bash-4.1$unzip mo03.zip
bash-4.1$cd AIX
bash-4.1$ qload -m QMGR -i xxxxxx.Q -f /home/mqm/failQ
QLOAD Program by Paul Clarke [ V1.6 Build:Jul 12 2008 ]
Error loading MQAPI DLL mqm RC(2)
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 25, 2011 9:28 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Typically you would not get a zip file for Unix or linux but you would get a gzip or a tar file...
Are you sure you are using the right source (for AIX) ?
Can you show us the output of

Code:
jar -tvf  mo03.zip


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
RouteMe
PostPosted: Wed May 25, 2011 9:52 pm    Post subject: Reply with quote

Novice

Joined: 03 Dec 2009
Posts: 16

HI saper,

bash-4.1$ jar -tvf mo03.zip
bash: jar: command not found

this is the output when i unzipped mo03.zip
bash-4.1$ unzip mo03.zip
Archive: mo03.zip
inflating: README
inflating: MO03.pdf
inflating: AIX/qload
inflating: HP/qload
inflating: HP Itanium/qload
inflating: Linux Intel/qload
inflating: Linux Intel 64/qload
inflating: Linux Power/qload
inflating: Solaris/qload
inflating: Solaris x86/qload
inflating: Windows/qload.exe
inflating: zLinux/qload
inflating: zLinux 64/qload
inflating: zOS/QLOAD.JCL
inflating: zOS/QLOAD.SEQ
inflating: Licenses/Lic_cs.txt
inflating: Licenses/Lic_de.txt
inflating: Licenses/Lic_en.txt
inflating: Licenses/Lic_es.txt
inflating: Licenses/Lic_fr.txt
inflating: Licenses/Lic_it.txt
inflating: Licenses/Lic_ja.txt
inflating: Licenses/Lic_ko.txt
inflating: Licenses/Lic_pl.txt
inflating: Licenses/Lic_pt.txt
inflating: Licenses/Lic_tr.txt
inflating: Licenses/Lic_zh.txt
inflating: Licenses/Lic_zh_TW.txt
Back to top
View user's profile Send private message
RouteMe
PostPosted: Thu May 26, 2011 5:31 am    Post subject: Reply with quote

Novice

Joined: 03 Dec 2009
Posts: 16

could anyone please spare their 2 cents... Thank you
Back to top
View user's profile Send private message
RouteMe
PostPosted: Thu May 26, 2011 11:45 am    Post subject: Reply with quote

Novice

Joined: 03 Dec 2009
Posts: 16

Its Working...but

Its weird to say it is working ... when i login as mqm it's throwing error and
when i login with my id it's working ( i didn't use sudo)

under /usr, mqm and all sub-directories are mqm:mqm

can anyone tell me what files does mo03 access when i run qload.

Thank You
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu May 26, 2011 10:21 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

How are you running sudo?
Code:
sudo su - mqm


Also is the mqm profile setting things that prevent you from executing the support pack?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Fri May 27, 2011 12:10 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

fjb_saper wrote:
How are you running sudo?

RouteMe wrote:
Its weird to say it is working ... when i login as mqm it's throwing error and when i login with my id it's working (i didn't use sudo)

_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
RouteMe
PostPosted: Thu Jun 02, 2011 8:07 am    Post subject: Reply with quote

Novice

Joined: 03 Dec 2009
Posts: 16

Found why MO03 support pack is not working for mqm id in my case

after commenting these lines in my mqm .profile i am able to run the support pack with mqm id.

#LIBPATH=/usr/mqm/lib64
#export LIBPATH

hope this might help someone
Back to top
View user's profile Send private message
andrewkp
PostPosted: Wed Nov 30, 2011 1:16 pm    Post subject: Reply with quote

Newbie

Joined: 30 Nov 2011
Posts: 2

you just need to make sure that qload can see the correct library i.e. libmqm.a on unix and dll on windows.

by default unix will pick up certain default library paths such as /usr/lib so when you commented out these lines

#LIBPATH=/usr/mqm/lib64
#export LIBPATH

it would have picked up the library libmqm.a from another default path such as /usr/lib which most likely had a link for /usr/lib/libmqm.a to /usr/mqm/lib or similar i.e. basically you stopped using the 64bit version. it is all to do with how this tool has been compiled.

another alternative which would achieve the same result would be to
LIBPATH=/usr/mqm/lib
export LIBPATH

or even just copy the library to the same location as the executable and should pick up from the local . path (depending how the system is setup)

a nice solution would be to write a little wrapper shell script to pick up the libraries that this tool needs - changing the .profile for mqm will change which library are used for all executables run as that user and that possibly isn't what you are intending to do (i.e. one little change to make a tool work may have many other changes when trying to run everything else as mqm).
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 » Issues running mo03 SupportPac binary on AIX, MQ 6.0.2.6
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.