Author |
Message
|
dhireng |
Posted: Tue Feb 24, 2015 5:32 am Post subject: MA01 support pack |
|
|
Apprentice
Joined: 13 Jun 2011 Posts: 45
|
Hi all,
Do you know if there are plans to support MA01 on MQ V8? On V8,I get the exception "Error Loading MQ library RC(11)" problbly because I installed MQ in on a non-standard location. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Feb 24, 2015 5:56 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
zpat |
Posted: Tue Feb 24, 2015 7:28 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Jeff - that's easier said than done for most admins.
Could you supply some sample commands to do this for various platforms?
Even better - can you do it and upload the binaries to GIT hub. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Feb 24, 2015 7:34 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
zpat wrote: |
Jeff - that's easier said than done for most admins. |
I know that very well.
zpat wrote: |
Could you supply some sample commands to do this for various platforms? |
http://rogerdudler.github.io/git-guide/
other than that, there's a makefile, so it's really just a matter of running make. Well, maybe some changes to point to the right MQ libraries. Dunno, haven't looked at the makefile.
zpat wrote: |
Even better - can you do it and upload the binaries to GIT hub. |
If I ever have time, yes, I might. |
|
Back to top |
|
 |
zpat |
Posted: Tue Feb 24, 2015 7:45 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
In fact I don't even have the compiler installed.
These are great tools and IBM have been very helpful in uploading the source, but just need to finish the job!
However in this case of a non-standard MQ location - recompiling is not necessary. I had the same problem and Paul Clarke told me how to run the command.
unset LIBPATH
export MQM_DLL_PATH=/XXXX/usr/mqm/lib
---> Where XXXX is your non-standard location
Then run the command _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Last edited by zpat on Tue Feb 24, 2015 7:51 am; edited 1 time in total |
|
Back to top |
|
 |
PaulClarke |
Posted: Tue Feb 24, 2015 7:49 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
The error message "Error Loading MQ library RC(11)" is merely Q saying it can't find your MQ libarary. It should not be necessary to rebuild Q although clearly you could make a better job of supporting the moving locations of the MQ libraries. It was on my list of things to do.
You should be able to get it working by setting environment variables MQIC_DLL_PATH or MQM_DLL_PATH to the location of your MQ libraries.
You can tell Q to print out what it's searching for by setting environment variable MQACCESS_DEBUG to anything at all.
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 24, 2015 8:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
And using mq8 have you looked at dmpmqmsg?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
dhireng |
Posted: Tue Feb 24, 2015 10:23 am Post subject: |
|
|
Apprentice
Joined: 13 Jun 2011 Posts: 45
|
Paul: I'm running the tool under mqm profile. I thought all the environment variables are pre-set and would not have to change anything?
On another V7 instance where mq is installed on the default path, I get no such exception.[/quote] |
|
Back to top |
|
 |
dhireng |
Posted: Tue Feb 24, 2015 10:36 am Post subject: |
|
|
Apprentice
Joined: 13 Jun 2011 Posts: 45
|
zpat is correct. make is reporting many errors and warnings and it is getting complicated to debug. |
|
Back to top |
|
 |
PaulClarke |
Posted: Tue Feb 24, 2015 10:37 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
As I said, Q does not, currently, take notice of the setmqenv settings. It has a preconceived idea of where to find MQ. You can probably fix it changing the LIBPATH but if you want to target just Q (and QLOAD) then you can use the environment variables I mentioned. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
dhireng |
Posted: Tue Feb 24, 2015 11:10 am Post subject: |
|
|
Apprentice
Joined: 13 Jun 2011 Posts: 45
|
fjb_saper: I'm asked to test Authentication using a pre V8 client that supports user ids. amqsputc does not work. I was told q utility will help the test.
Paul: Thanks. I'll set the env. variable. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 24, 2015 3:19 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
dhireng wrote: |
fjb_saper: I'm asked to test Authentication using a pre V8 client that supports user ids. amqsputc does not work. I was told q utility will help the test.
Paul: Thanks. I'll set the env. variable. |
If you are just testing... MO71 should allow you to do that... _________________ MQ & Broker admin |
|
Back to top |
|
 |
dhireng |
Posted: Tue Feb 24, 2015 10:36 pm Post subject: |
|
|
Apprentice
Joined: 13 Jun 2011 Posts: 45
|
export MQM_DLL_PATH=/XXXX/lib works. The debug flag also helped as it showed I had a missing 32 bit lib on my 64 bit server. I just used yum to get the required libs.
Testing with user id and password has been unsuccessful. No matter what password user id and password I give it is successful.
With amqsputc no matter what password I give, it fails.
Here's what I did,
1. set MQSERVER
My call to 'q' includes the -m -i -sc -xs parameters |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 25, 2015 7:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
dhireng wrote: |
export MQM_DLL_PATH=/XXXX/lib works. The debug flag also helped as it showed I had a missing 32 bit lib on my 64 bit server. I just used yum to get the required libs.
Testing with user id and password has been unsuccessful. No matter what password user id and password I give it is successful.
With amqsputc no matter what password I give, it fails.
Here's what I did,
1. set MQSERVER
My call to 'q' includes the -m -i -sc -xs parameters |
Have you tried using a channel table with the mqccred(ChlExit) ?
(you may have to copy the dll/so from the V8 installation)  _________________ MQ & Broker admin |
|
Back to top |
|
 |
dhireng |
Posted: Wed Mar 04, 2015 3:38 pm Post subject: |
|
|
Apprentice
Joined: 13 Jun 2011 Posts: 45
|
I already tried using the exit utilities in v8 and I cant login. For the user id and password to be used on this util does it need the exit? |
|
Back to top |
|
 |
|