Author |
Message
|
ramires |
Posted: Thu Mar 01, 2012 3:28 am Post subject: MA01 supportpac |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
Hello all
I've used several time q program to write / read messages. Now I'm having and issue using it, this is a small test to show what is happening. I have a queue manager called ABC, I don't have queues starting with "Q", I was expecting q program ending with a 2085, but it throws an unexpected error: "Only use one of '-o' and '-T' "
Any hints?
Thanks!
Code: |
[mqm@cermw4c tmp]$ echo 'dis q(Q*)' | runmqsc ABC
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager ABC.
1 : dis q(Q*)
AMQ8147: WebSphere MQ object Q* not found.
One MQSC command read.
No commands have a syntax error.
One valid MQSC command could not be processed.
[mqm@cermw4c tmp]$ ./q -v5 -oQ1 -mABC
MQSeries Q Program by Paul Clarke [ V5.0.0 Build:Jul 15 2008 ]
MQ_CONNECT_TYPE=
Connecting ...MQOPEN on object '' returned 0 OK.
MQINQ on object '' returned 0 OK.
MQINQ on object '' returned 0 OK.
connected to 'ABC'.
MQCONN on object 'ABC' returned 0 OK.
MQHCONN = 539790712
Only use one of '-o' and '-T'
MQBACK on object 'ABC' returned 0 OK.
MQDISC on object 'ABC' returned 0 OK. |
|
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 01, 2012 4:54 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
That looks like a fairly old build. Perhaps you could try a more recent version?
Otherwise, the best bet with most supportPacs is to contact the maintainer/author by the means they provide in the documentation. |
|
Back to top |
|
 |
ramires |
Posted: Thu Mar 01, 2012 5:20 am Post subject: |
|
|
Knight
Joined: 24 Jun 2001 Posts: 523 Location: Portugal - Lisboa
|
Thanks mqjeff,
the build is the current one downloaded from the supportpac site. I'm trying now with an older build (V4.3 Build Jun 2004) and this one works.
Regards |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 01, 2012 6:37 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
ramires wrote: |
the build is the current one downloaded from the supportpac site. |
Really? I saw
Quote: |
[ V5.0.0 Build:Jul 15 2008 ] |
and assumed it had been updated since then. |
|
Back to top |
|
 |
hal |
Posted: Thu Jun 14, 2012 12:04 pm Post subject: |
|
|
Acolyte
Joined: 07 Dec 2005 Posts: 67 Location: New York City, New York
|
A newer version of q was just released but I could not get it to work on my operating system. The latest q version 6 for Intel 64-bit Linux is not compatible with Red Hat Enterprise Linux (RHEL) 5.
RHEL 5 is listed as a supported OS for WebSphere MQ 7.1 at
http://www-304.ibm.com/support/docview.wss?uid=swg27023058#Linux_Red_Hat_Enterprise_Linux_RHEL_Server
The Linux ldd print shared library dependencies command shows that the GLIBC_2.7 symbol could not be found. According to my system administrators, GLIBC_2.7 is not part of RHEL 5.
Code: |
ldd q
./q: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by ./q)
linux-vdso.so.1 => (0x00007fffca5f1000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003527800000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003528000000)
libc.so.6 => /lib64/libc.so.6 (0x0000003527400000)
/lib64/ld-linux-x86-64.so.2 (0x0000003527000000) |
Because MA01 is a category 2 SupportPac that is
Quote: |
provided in good faith and AS-IS |
I reverted to q version 5. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jun 14, 2012 8:02 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
|
Back to top |
|
 |
hal |
Posted: Fri Jun 15, 2012 6:12 am Post subject: |
|
|
Acolyte
Joined: 07 Dec 2005 Posts: 67 Location: New York City, New York
|
Source code is not included in the q SupportPac so I am unable to recompile.
The LINUX system administrators tell me that there is nothing missing in our RHEL 5 environment.
Perhaps the latest "Linux Intel 64" q binary works in RHEL 6 but not in RHEL 5. Upgrading our OS is not an option. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jun 15, 2012 6:21 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
hal wrote: |
Source code is not included in the q SupportPac so I am unable to recompile. |
And does it also include no information on who to contact for assistance? |
|
Back to top |
|
 |
PaulClarke |
Posted: Mon Jun 18, 2012 1:17 am Post subject: RHEL 5 Problem |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Yes, unfortunately Linux isn't very good at backward compatibility. I have built a version on RHEL 5 but haven't heard back yet from my Beta tester. If anyone would like to try a version then they are welcome to send me an email and ask. Equally if you have any comments good/bad about MA01 then by all means send an email. My email address is in the readme.
paulg_clarke@uk.ibm.com
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
hal |
Posted: Tue Jun 19, 2012 6:46 am Post subject: |
|
|
Acolyte
Joined: 07 Dec 2005 Posts: 67 Location: New York City, New York
|
Paul,
The version 6 q binary that you sent me works great on RHEL 5. Thanks for your assistance.
Cheers,
Hal |
|
Back to top |
|
 |
|