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 » IBM MQ Performance Monitoring » MO72 (mqsc) on HP-UX doesn't work

Post new topic  Reply to topic
 MO72 (mqsc) on HP-UX doesn't work « View previous topic :: View next topic » 
Author Message
standa
PostPosted: Fri Sep 08, 2006 1:20 am    Post subject: MO72 (mqsc) on HP-UX doesn't work Reply with quote

Novice

Joined: 08 Sep 2006
Posts: 10
Location: CZECHREP

Hello.
I'm trying to use MO72. I was able to make it work on windows, linux and aix but have problems on HP-UX. AIX and HP-UX is critical for me. On windows, linux and aix works everything - binding mode, client conn. without specifying -h hostnam, client conn. with specifying hostname.

On HP-UX:
when I try to connect to QMGR in
- binding mode(suppose it's binding mode:) - it works
- using client connection WITHOUT specifying -h hostname - it works
- using client connection WITH specifying -h hostname - Bus error(coredump)
- using configuration file form MO71 on windows - Bus errors(coredump)
- tested on 2 differennt HP servers with same result. Unfortunately I don't know any information abou the other OS except that it's HP-UX.
- actually it doesn't matter what the value of -h parameter is. I can type anything there. Whenever I use "-h something" I've got coredump.

Could be problem in HP-UX version? I'm not HP-UX exp.

Details:
- some outputs of commands are shortened
- commands executed as user root as well as user mqm with the same result.

root@hpux::/opt/mqm/MO72> uname -a
HP-UX hpux B.11.00 A 9000/811 2007444781

root@hpux::/opt/mqm/MO72> dspmqver
Name: WebSphere MQ
Version: 530.12 CSD12
CMVC level: p530-12-L051208
BuildType: IKAP - (Production)

root@hpux::/> dspmq
QMNAME(QMSTANDA) STATUS(Running)

root@hpux::/opt/mqm/samp/bin> ps -ef | grep mqls
root 13788 13767 3 10:26:16 pts/1 0:00 grep mqls
root 13159 1 0 Sep 5 ? 0:00 runmqlsr -m QMSTANDA -t TCP -p 1415

root@hpux::/> runmqsc QMSTANDA:
display qmgr ccsid
1 : display qmgr ccsid
AMQ8408: Display Queue Manager details.
QMNAME(QMSTANDA) CCSID(1051)

display qlocal(Q1)
2 : display qlocal(Q1)
AMQ8409: Display Queue details.
DESCR(WebSphere MQ Default Local Queue)
PROCESS( ) BOQNAME( )
INITQ( ) TRIGDATA( )
CLUSTER( ) CLUSNL( )
...
end

root@hpux::/opt/mqm/MO72> export MQSERVER=SYSTEM.DEF.SVRCONN/TCP/localhost\(1415\)
root@hpux::/opt/mqm/MO72> export MQCCSID=1051

root@hpux::/opt/mqm/samp/bin> ./amqsputc Q1
Sample AMQSPUT0 start
target queue is Q1
test 1
<CTRL+C>
root@hpux::/opt/mqm/samp/bin> ./amqsbcgc Q1
... (shortened output)
**** Message ****
length - 6 bytes
00000000: 7465 7374 2031 'test 1 '


root@hpux::/opt/mqm/MO72> ls -l mqsc
-r-xr-xr-x 1 mqm mqm 898976 Apr 29 2005 mqsc

root@hpux::/opt/mqm/MO72> ./mqsc -m QMSTANDA
Connected to Queue Manager 'QMSTANDA'

QMSTANDA>display qmgr ccsid
AMQ8408: Display Queue Manager details.
QMNAME(QMSTANDA) CCSID(1051)
QMSTANDA>end
MQSC Ended

root@hpux::/opt/mqm/MO72> ./mqsc -l -m QMSTANDA
Connected to Queue Manager 'QMSTANDA'

QMSTANDA>end
MQSC Ended

# Everything up to this pouint works as expected.
# But:

root@hpux::/opt/mqm/MO72> ./mqsc -h localhost\(1415\) -l -m QMSTANDA
Bus error(coredump)

root@hpux::/opt/mqm/MO72> ./mqsc -h localhost -l -m QMSTANDA
Bus error(coredump)
_________________
standa.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Sep 08, 2006 2:25 am    Post subject: Reply with quote

Grand High Poobah

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

Quote:
root@hpux::/opt/mqm/MO72> ./mqsc -h localhost\(1415\) -l -m QMSTANDA
Bus error(coredump)


Hm....

Have you tried dropping the "-l" flag?:
Code:
root@hpux::/opt/mqm/MO72> ./mqsc -h localhost\(1415\) -m QMSTANDA
and perhaps adding the channel "-x" channel ?

Start it with -? for help on usage....

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
standa
PostPosted: Fri Sep 08, 2006 2:39 am    Post subject: whenever -h is used, coredump is generated Reply with quote

Novice

Joined: 08 Sep 2006
Posts: 10
Location: CZECHREP

Yes, I tryied it without -l with channel definition and still the same result.

Whenever I use -h parameter i've got coredump. Even in this example:
./mqcs
... I'm connected to QMSTANDA
./mqcs -h something
literally "something" - on Windowse and AIX I got: RC(2059), on HP-UX coredump.

Would be helpful if anybody confirms, that "-h" works on HP-UX. So the problem would be eventually in system version, applied patches / not applied patches or whatever.
_________________
standa.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 08, 2006 4:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's entirely possible that it's not your HP system that's the problem, but that the HP version of MO72 hasn't been updated to work on 6t4bit queue managers.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Fri Sep 22, 2006 12:52 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

There is a new version of MO72 now available. With a little luck this should also fix the HP coredump problem. If not please let me know.

Cheers
P.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
standa
PostPosted: Sat Sep 23, 2006 7:40 am    Post subject: it works for me Reply with quote

Novice

Joined: 08 Sep 2006
Posts: 10
Location: CZECHREP

Updated version works for me.
Thank you, Paul.
_________________
standa.
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 » IBM MQ Performance Monitoring » MO72 (mqsc) on HP-UX doesn't work
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.