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 » MA01 supportpac

Post new topic  Reply to topic
 MA01 supportpac « View previous topic :: View next topic » 
Author Message
ramires
PostPosted: Thu Mar 01, 2012 3:28 am    Post subject: MA01 supportpac Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Thu Mar 01, 2012 4:54 am    Post subject: Reply with quote

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
View user's profile Send private message
ramires
PostPosted: Thu Mar 01, 2012 5:20 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Thu Mar 01, 2012 6:37 am    Post subject: Reply with quote

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
View user's profile Send private message
hal
PostPosted: Thu Jun 14, 2012 12:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Thu Jun 14, 2012 8:02 pm    Post subject: Reply with quote

Grand High Poobah

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

So did you try and recompile the source?
Looks to me that this has something to do with the gcc compiler possibly and the resources used are gnu see http://rpmfind.net/linux/rpm2html/search.php?query=libc.so.6%28GLIBC_2.7%29 I'd say your system is not quite ready and missing some installs...

Did you read this section in the requirements about the gcc and g++ compilers?

Follow the link, go to the top of the page, click Linux and then somewhat lower (optional software) click compiler...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
hal
PostPosted: Fri Jun 15, 2012 6:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Jun 15, 2012 6:21 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulClarke
PostPosted: Mon Jun 18, 2012 1:17 am    Post subject: RHEL 5 Problem Reply with quote

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
View user's profile Send private message Visit poster's website
hal
PostPosted: Tue Jun 19, 2012 6:46 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MA01 supportpac
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.