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 API Support » MQCONN ended with reason code 2059

Post new topic  Reply to topic Goto page Previous  1, 2, 3, 4  Next
 MQCONN ended with reason code 2059 « View previous topic :: View next topic » 
Author Message
jefflowrey
PostPosted: Wed May 10, 2006 10:55 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Okay.

So let's make sure that we really know where you are connecting to.

Use telnet from the client box again to open the listener port.

ENTER DATA - just type some stuff in and hit return.

This will cause an FDC file to be generated and the error log updated.

If this does not show up in any queue manager or in the /var/mqm/errors, then you are not connecting to the machine you think you are connecting to.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
girlinusa2006
PostPosted: Wed May 10, 2006 11:03 am    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

$ telnet 112.82.12.136 1414
Trying...
Connected to 112.82.12.136.
Escape character is '^]'.
asldfkds;lfds
sldfksd;fsd
slfkds;fksdConnection closed by foreign host.

Now I went back to the queue manager logs (/var/mqm/qmgrs/SERVER_QM/errors) . I don't see the error file AMQERR01.LOG updated.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 10, 2006 11:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Again, please check the queue manager specific logs for all of the queue managers and the /var/mqm/errors folder as well.

If none of these are updated, then either you are not connecting to the machine that hosts these queue managers, or you are not connecting to a running mq listener.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
girlinusa2006
PostPosted: Wed May 10, 2006 2:05 pm    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

Oky, i see the following FDC error... So, looks like my listener is listening on the right port.


| WebSphere MQ First Failure Symptom Report |
|
| Major Errorcode :- rrcE_BAD_DATA_RECEIVED |
| Minor Errorcode :- OK |
| Probe Type :- MSGAMQ9207 |
| Probe Severity :- 2 |
| Probe Description :- AMQ9207: The data received from host 'aif1 |
| (112.82.12.136)' is not valid. |
| FDCSequenceNumber :- 4 |
| Comment1 :- aif1 (112.82.12.136) |
| |
| Comment2 :- TCP/IP |
| |
| Comment3 :-
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 10, 2006 2:11 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Was this in /var/mqm/errors, or under a specific qmgr?

It's probably time to enable mq tracing.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
girlinusa2006
PostPosted: Wed May 10, 2006 2:18 pm    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

This was under /var/mqm/errors.

How can I enable MQ tracing? ( on the server?) (/var/mqm/trace)? Do I need to explicitly enable it?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 10, 2006 2:21 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaf.doc/amq25dj.htm

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqzag.doc/womqtc.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed May 10, 2006 2:33 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Perhaps you should try your client program again and see if there is a new entry in /var/mqm/errors/AMQERR01.LOG.

I don't think we ever discussed this, are you using inetd or runmqlsr? Can you post the relevant sections from inetd.conf and services if the former or the runmqlsr parms if the latter.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
girlinusa2006
PostPosted: Wed May 10, 2006 2:38 pm    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

wow, an interesting trace.... trying to make sense out of it.

18:24:14.462449 8051.1 -----}! xcsSelect rc=Unknown(1)
18:24:14.462472 8051.1 ----}! select rc=Unknown(1)
18:24:14.462495 8051.1 ----{ recv
18:24:14.462544 8051.1 ----}! recv rc=Unknown(24)
18:24:14.462572 8051.1 Channel Name:SYSTEM.DEF.SVRCONN
18:24:14.462595 8051.1 Receiving 56 bytes
18:24:14.462595 8051.1 0x0000: 54534820 00000024 01050a00 00000000 |TSH ...$.. .....|
18:24:14.462595 8051.1 0x0010: 00000000 00000111 041b0000 00000008 |................|
18:24:14.462595 8051.1 0x0020: 00000003 |.... |
18:24:14.462620 8051.1 ---} cciTcpReceive rc=OK
18:24:14.462644 8051.1 --} ccxReceive rc=OK
18:24:14.462696 8051.1 --{ rrxError
18:24:14.462752 8051.1 RetCode = 20009524, rc1 = 0, rc2 = 0, Comment1 = 'SYSTEM.DEF.SVRCONN', Comment2 = '', Co
mment3= '', File= '/build/serv/source/p530-09-L041213/lib/client/amqrfpta.c', Line= '329'
18:24:14.462775 8051.1 --}! rrxError rc=rrcE_REMOTE_QM_UNAVAILABLE
18:24:14.462820 8051.1 *pointer(40032964)
18:24:14.462843 8051.1 --{ ccxFreeMem
18:24:14.462865 8051.1 --} ccxFreeMem rc=OK
18:24:14.462887 8051.1 -}! rriInitSess rc=rrcE_REMOTE_QM_UNAVAILABLE
18:24:14.462913 8051.1 -{ rriFreeSess
18:24:14.462940 8051.1 --{ ccxFreeConv
Back to top
View user's profile Send private message
girlinusa2006
PostPosted: Wed May 10, 2006 2:41 pm    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

I am using runmqlsr

runmqlsr -t tcp -p 1414 &

I don't see any updated logs in /var/mqm/errors after running the client program again.
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed May 10, 2006 2:46 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
runmqlsr -t tcp -p 1414 &

That doesn't name the Queue manager, but
Quote:
I have 4 queue managers runnning on the server box.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
girlinusa2006
PostPosted: Wed May 10, 2006 2:49 pm    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

Oh ok, I thought it would default it. I am getting this error now:

runmqlsr -t tcp -p 1414 -m SERVER_QM
5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
05/10/06 18:47:55 AMQ9218: The TCP/IP listener program could not bind to port number 1414.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed May 10, 2006 2:49 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

and so the next logical question.... do you have a DEFAULT queue manager on the machine.... (look in /var/mqm/mqs.ini for a DefaultQueueManager: stanza.)

Yeah... do a "ps -ef | grep runmqlsr" to see if you already have another listener on that port.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
girlinusa2006
PostPosted: Wed May 10, 2006 2:52 pm    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

Yes, I have a default queue manager, which is SERVER_QM
Back to top
View user's profile Send private message
ma.eyal
PostPosted: Wed May 10, 2006 10:04 pm    Post subject: Reply with quote

Novice

Joined: 13 Sep 2005
Posts: 15
Location: Israel

girlinusa2006 wrote:
Oky, i see the following FDC error... So, looks like my listener is listening on the right port.


| WebSphere MQ First Failure Symptom Report |
|
| Major Errorcode :- rrcE_BAD_DATA_RECEIVED |
| Minor Errorcode :- OK |
| Probe Type :- MSGAMQ9207 |
| Probe Severity :- 2 |
| Probe Description :- AMQ9207: The data received from host 'aif1 |
| (112.82.12.136)' is not valid
. |
| FDCSequenceNumber :- 4 |
| Comment1 :- aif1 (112.82.12.136) |
| |
| Comment2 :- TCP/IP |
| |
| Comment3 :-


Hello.

Pls notice the post I had made on this topic on page 1 and try it. We had encountered this problem several times before with ccsid conversion problems.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3, 4  Next Page 3 of 4

MQSeries.net Forum Index » IBM MQ API Support » MQCONN ended with reason code 2059
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.