Author |
Message
|
standa |
Posted: Fri Sep 08, 2006 1:20 am Post subject: MO72 (mqsc) on HP-UX doesn't work |
|
|
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 |
|
 |
fjb_saper |
Posted: Fri Sep 08, 2006 2:25 am Post subject: |
|
|
 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 |
|
 |
standa |
Posted: Fri Sep 08, 2006 2:39 am Post subject: whenever -h is used, coredump is generated |
|
|
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 |
|
 |
jefflowrey |
Posted: Fri Sep 08, 2006 4:13 am Post subject: |
|
|
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 |
|
 |
PaulClarke |
Posted: Fri Sep 22, 2006 12:52 am Post subject: |
|
|
 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 |
|
 |
standa |
Posted: Sat Sep 23, 2006 7:40 am Post subject: it works for me |
|
|
Novice
Joined: 08 Sep 2006 Posts: 10 Location: CZECHREP
|
Updated version works for me.
Thank you, Paul. _________________ standa. |
|
Back to top |
|
 |
|