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

Post new topic  Reply to topic
 MQCONN ended with reason code 2059 « View previous topic :: View next topic » 
Author Message
Hanuman
PostPosted: Fri Sep 22, 2006 2:01 am    Post subject: MQCONN ended with reason code 2059 Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

I have configured the websphere ver6 on window

the name of Queue manger is QM_orf_qa01 and the one the queue is CENTRAL_TM_ALARM_MANAGER_QUEUE these on sercer side..


and on the client side i did this settiings

Open the Control Panel: Click Start > Settings > Control Panel
Double-click System.
Click the Advanced tab.
Click Environment Variables.
In the User Variables pane, click New.
Type MQSERVER into the Variable Name field.

Type CLIENT.QM_ORANGE/TCP/hostname into the Variable Value field, where hostname is the computer name or IP address that identifies the machine hosting queue manager QM_ORANGE. If you do not use the default port number 1414, you must also specify the port number where the listener is listening, for example: MQSERVER=CLIENT.QM_orf_qa01/TCP/ip adres(server) (1415)
Click OK. The MQSERVER environment variable will appear in the User Variables pane.


Now when try to run sample progrmme

Sample AMQSPUT0 start
i get this error


C:\>amqsputc QM_orf_qa01
Sample AMQSPUT0 start
MQCONN ended with reason code 2059

Pls help me in finding solution
Back to top
View user's profile Send private message
scanner
PostPosted: Fri Sep 22, 2006 2:07 am    Post subject: Re: MQCONN ended with reason code 2059 Reply with quote

Apprentice

Joined: 10 Jul 2001
Posts: 28
Location: Germany

Parag wrote:
I have configured the websphere ver6 on window

the name of Queue manger is QM_orf_qa01 and the one the queue is CENTRAL_TM_ALARM_MANAGER_QUEUE these on sercer side..


and on the client side i did this settiings

Open the Control Panel: Click Start > Settings > Control Panel
Double-click System.
Click the Advanced tab.
Click Environment Variables.
In the User Variables pane, click New.
Type MQSERVER into the Variable Name field.

Type CLIENT.QM_ORANGE/TCP/hostname into the Variable Value field, where hostname is the computer name or IP address that identifies the machine hosting queue manager QM_ORANGE. If you do not use the default port number 1414, you must also specify the port number where the listener is listening, for example: MQSERVER=CLIENT.QM_orf_qa01/TCP/ip adres(server) (1415)
Click OK. The MQSERVER environment variable will appear in the User Variables pane.


Now when try to run sample progrmme

Sample AMQSPUT0 start
i get this error


C:\>amqsputc QM_orf_qa01
Sample AMQSPUT0 start
MQCONN ended with reason code 2059

Pls help me in finding solution


Hi

you have create a client channel(svrcon) and set the authorities?

sincerly
Arne Krieger
Back to top
View user's profile Send private message Send e-mail
Hanuman
PostPosted: Fri Sep 22, 2006 2:10 am    Post subject: Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

i did not get you point.

Can u explain we what should i do on client side....
Back to top
View user's profile Send private message
scanner
PostPosted: Fri Sep 22, 2006 2:14 am    Post subject: Reply with quote

Apprentice

Joined: 10 Jul 2001
Posts: 28
Location: Germany

Parag wrote:
i did not get you point.

Can u explain we what should i do on client side....

first check if u can reach the server (ping)
than you should check if u channel is right! What kind of channel u have create? It is a server connection channel?
Back to top
View user's profile Send private message Send e-mail
Hanuman
PostPosted: Fri Sep 22, 2006 2:27 am    Post subject: Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

ya i able to ping the server ...

this is waht i set in my enviornment variables... MQSERVER=CLIENT.QM_orf_qa01/TCP/3.209.121.74 (1414)
These are the steps i followed while setting up of server... on windows
In the Navigator view, expand the Queue Managers folder.
Expand QM_ORANGE then expand the Advanced folder.
Right-click the Channels folder, then click New > Server-connection Channel The New Server-connection Channel wizard opens.
In the Name field, type CLIENT.QM_orf_qa01, then click Next.
In the tree on the left of the dialog, click MCA to open the MCA page.
In the MCA User ID field, type your Windows login name (or a user name in the mqm group).
Click Finish


Please help me out in this....
Back to top
View user's profile Send private message
scanner
PostPosted: Fri Sep 22, 2006 2:30 am    Post subject: Reply with quote

Apprentice

Joined: 10 Jul 2001
Posts: 28
Location: Germany

MQSERVER=CLIENT.QM_orf_qa01/TCP/3.209.121.74 (1414)

between the ip and the port is a space !?! try it this way
MQSERVER=CLIENT.QM_orf_qa01/TCP/3.209.121.74(1414)
Back to top
View user's profile Send private message Send e-mail
Hanuman
PostPosted: Fri Sep 22, 2006 2:37 am    Post subject: Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

Same out put
C:\Program Files\IBM\WebSphere MQ>amqsputc CENTRAL_TM_TCQ_SQDATA
Sample AMQSPUT0 start
MQCONN ended with reason code 2059
This waht i did....
MQSERVER=CLIENT.QM_orf_qa01/TCP/3.209.121.74(1414)
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Sep 22, 2006 2:43 am    Post subject: Reply with quote

Jedi Knight

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

You need to ensure that the SERVER side is correctly configured:

1. SVRCONN channel exists
2. listener is active
3. qmgr is active ....

please search here for client and 2059, you'll see this exact problem and answer hunders (thousands) of times .....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Fri Sep 22, 2006 3:05 am    Post subject: Reply with quote

Grand High Poobah

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

Parag wrote:
Same out put
C:\Program Files\IBM\WebSphere MQ>amqsputc CENTRAL_TM_TCQ_SQDATA
Sample AMQSPUT0 start
MQCONN ended with reason code 2059
This waht i did....
MQSERVER=CLIENT.QM_orf_qa01/TCP/3.209.121.74(1414)


You are on Winx? try (guess the export command did not work eh?)


Code:
SET MQSERVER=CLIENT.QM_orf_qa01/TCP/3.209.121.74(1414)


And you might have to use quotes around the variable value (takes care of (port))
Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PaulClarke
PostPosted: Fri Sep 22, 2006 3:09 am    Post subject: Reply with quote

Grand Master

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

What message is in the client error log ? Look in <MQ INSTALL PATH>\errors\AMQERR01.LOG and see whether there's anything in there.

Cheers,
P.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
Hanuman
PostPosted: Fri Sep 22, 2006 5:58 am    Post subject: Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

error log...

There is no definition of channel 'MQSERVER=CLIENT.QM_o' at the remote
location.
ACTION:
Add an appropriate definition to the remote hosts list of defined channels and
retry the operation.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 22, 2006 6:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

MQSERVER should be like <channel name>/TCP/<hostname>(<port>)

It should not be <queue manager name>
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bbburson
PostPosted: Fri Sep 22, 2006 6:03 am    Post subject: Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

Go back to wschutz's questions:
wschutz wrote:
You need to ensure that the SERVER side is correctly configured:

1. SVRCONN channel exists
2. listener is active
3. qmgr is active ....

please search here for client and 2059, you'll see this exact problem and answer hunders (thousands) of times .....
Your last post just answered "NO" to the first one.
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Fri Sep 22, 2006 6:22 am    Post subject: Reply with quote

Grand Master

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

It looks like (somehow) has picked up the text MQSERVER= as part of the channel definiiton!

Exactly what is you MQSERVER environment set to ?
If you just type 'set MQ' on a command line what do you see ?

P.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration 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.