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
girlinusa2006
PostPosted: Wed May 10, 2006 9:17 am    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

I am working on a UNIX system..both my client/server.

Do I need to set anything else on the server side, besides the channel below?

display channel(SYSTEM.DEF.SVRCONN)
1 : display channel(SYSTEM.DEF.SVRCONN)
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.DEF.SVRCONN) CHLTYPE(SVRCONN)
TRPTYPE(TCP) DESCR( )
SCYEXIT( ) MAXMSGL(4194304)
SCYDATA( ) HBINT(300)
SSLCIPH( ) SSLCAUTH(REQUIRED)
KAINT(AUTO) MCAUSER( )
ALTDATE(2006-05-09) ALTTIME(22.06.59)
SSLPEER()
SENDEXIT( )
RCVEXIT( )
SENDDATA( )
RCVDATA( )
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed May 10, 2006 9:19 am    Post subject: Reply with quote

Jedi Knight

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

i think you need:

def chl(channel1) chltype(svrconn)

based on your MQSERVER variable setting
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
girlinusa2006
PostPosted: Wed May 10, 2006 9:24 am    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

Yes, I have also created with channel1. I was also playing arnd with SYSTEM.DEF.SVRCONN), so I accidentally pasted that instead of channel1.

Is there anything else besides that needs to be set on the server side?
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed May 10, 2006 9:26 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Can you post the definition for channel1 please?
Back to top
View user's profile Send private message
girlinusa2006
PostPosted: Wed May 10, 2006 9:32 am    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

display channel(channel1)
3 : display channel(channel1)
AMQ8414: Display Channel details.
CHANNEL(CHANNEL1) CHLTYPE(SVRCONN)
TRPTYPE(TCP) DESCR( )
SCYEXIT( ) MAXMSGL(4194304)
SCYDATA( ) HBINT(300)
SSLCIPH( ) SSLCAUTH(REQUIRED)
KAINT(AUTO) MCAUSER( )
ALTDATE(2006-05-10) ALTTIME(13.22.33)
SSLPEER()
SENDEXIT( )
RCVEXIT( )
SENDDATA( )
RCVDATA( )
Back to top
View user's profile Send private message
girlinusa2006
PostPosted: Wed May 10, 2006 9:40 am    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

On my server box, is it neccessary that I should set up a default queue manager?

Is it not gud enuf if I explicitly mention the queue manager with amqsputc.

amqsputc writeQ SERVER_QM
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 10, 2006 9:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The hostname, channel name and port should be sufficient to identify the qmgr.

But amqsputc will use the qmgr name you provide if you provide one. and if it doesn't match then an error will occur.
_________________
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 10:03 am    Post subject: Reply with quote

Jedi Knight

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

jefflowrey wrote:
But amqsputc will use the qmgr name you provide if you provide one. and if it doesn't match then an error will occur.
That would result in 2058.

Can you telnet to the 1414 port, viz:

telnet 12.82.12.136 1414

If it immediately ends, then soemthing is blocking that port. if it hangs, then you should be able to connect via the mq client.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
girlinusa2006
PostPosted: Wed May 10, 2006 10:14 am    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

Yea, I can telnet to that IP/port. and its connected and hanging.
But, I keep getting that error 2059.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 10, 2006 10:17 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If this is the case, then there should be an error in the server error log for the queue manager.

This error might not be reflected in the main server error log, which is /var/mqm/errors/AMQERR01.LOG. It should, however, show up in /var/mqm/qmgrs/<qm_name>/errors/AMQERR01.LOG.
_________________
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 10:22 am    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

Surprisingly no errors..

05/09/06 22:07:04
AMQ8003: WebSphere MQ queue manager 'SERVER_QM' started.

EXPLANATION:
WebSphere MQ queue manager 'SERVER_QM' started.
ACTION:
None.
-------------------------------------------------------------------------------
05/09/06 22:07:04
AMQ9410: Repository manager started

EXPLANATION:
The repository manager started successfully.
ACTION:
None.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 10, 2006 10:27 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

How many queue managers do you have on the server machine?
_________________
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 10:40 am    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

I have 4 queue managers runnning on the server box.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 10, 2006 10:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Please check the error logs of each queue manager.
_________________
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 10:46 am    Post subject: Reply with quote

Novice

Joined: 09 May 2006
Posts: 24

No, none of them have any kind of latest logs. They had logs dated pretty old.
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 2 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.