Author |
Message
|
gstokes |
Posted: Mon Apr 27, 2009 10:36 am Post subject: Issues running mo03 SupportPac binary on AIX, MQ 6.0.2.6 |
|
|
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 |
|
 |
prasadpav |
Posted: Tue Oct 12, 2010 4:59 am Post subject: |
|
|
 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 |
|
 |
RouteMe |
Posted: Wed May 25, 2011 10:47 am Post subject: MQ support pack MO03 |
|
|
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 |
|
 |
mqjeff |
Posted: Wed May 25, 2011 10:51 am Post subject: |
|
|
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 |
|
 |
RouteMe |
Posted: Wed May 25, 2011 9:22 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed May 25, 2011 9:28 pm Post subject: |
|
|
 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
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
RouteMe |
Posted: Wed May 25, 2011 9:52 pm Post subject: |
|
|
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 |
|
 |
RouteMe |
Posted: Thu May 26, 2011 5:31 am Post subject: |
|
|
Novice
Joined: 03 Dec 2009 Posts: 16
|
could anyone please spare their 2 cents... Thank you |
|
Back to top |
|
 |
RouteMe |
Posted: Thu May 26, 2011 11:45 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Thu May 26, 2011 10:21 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
How are you running sudo?
Also is the mqm profile setting things that prevent you from executing the support pack?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
exerk |
Posted: Fri May 27, 2011 12:10 am Post subject: |
|
|
 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 |
|
 |
RouteMe |
Posted: Thu Jun 02, 2011 8:07 am Post subject: |
|
|
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 |
|
 |
andrewkp |
Posted: Wed Nov 30, 2011 1:16 pm Post subject: |
|
|
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 |
|
 |
|