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: Thu Oct 12, 2006 5:08 am    Post subject: MQCONN ended with reason code 2059 Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

Ok let me explain what I did …
1. Start MQSC by typing the command:
runmqsc
A message tells you that an MQSC session has started. MQSC has no command prompt.
2. Define a server-connection channel by typing the following command on one line:
define channel(CLIENT.QM_orf_qa01) chltype(SVRCONN) trptype(TCP) mcauser('mqm')
A message tells you when the channel has been created.
3. Stop MQSC by typing:
end
Some messages are displayed followed by the command prompt.
4. Start a listener by typing the following command:
runmqlsr -t tcp
then invoked the client… from windowsxp mq
1. Open the Control Panel: Click Start > Settings > Control Panel
2. Double-click System.
3. Click the Advanced tab.
4. Click Environment Variables.
5. In the User Variables pane, click New.
6. Type MQSERVER into the Variable Name field.
7. Type into the CLIENT.QM_orf_qa01/TCP/3.209.124.60(1414)Variable Value field, where hostname is the computer name or IP address that identifies the machine hosting queue manager QM_orf_qa01. If you do not use the default port number 1414, you must also specify the port number where the listener is listening,



8. Click OK. The MQSERVER environment variable will appear in the User Variables pane.


Open a command prompt on the client and follow these steps:
1. Start the amqsputc sample program as follows:
o On Linux, change to the /opt/mqm/samp/bin directory and type the command: ./amqsputc Q1
o On Windows, type the command: amqsputc GEN2OSM_CPM_ALARM

The following messages are displayed:
Sample AMQSPUT0 start
target queue is Q1
2. Type some message text on one or more lines, then press Enter twice. The following message is displayed:
C:\Documents and Settings\942504>amqsputc GEN2OSM_CPM_ALARM
where GEN2OSM_CPM_ALARM is channel defined on Qmanager..

Sample AMQSPUT0 start
MQCONN ended with reason code 2059
This time error code was

10/12/2006 16:29:26 - Process(3280.1) User(942504) Program(amqsputc.exe)
AMQ9202: Remote host 'elabsvr2 (3.209.124.60) (1414)' not available, retry
later.

EXPLANATION:
The attempt to allocate a conversation using TCP/IP to host 'elabsvr2
(3.209.124.60) (1414)' was not successful. However the error may be a
transitory one and it may be possible to successfully allocate a TCP/IP
conversation later.
ACTION:
Try the connection again later. If the failure persists, record the error
values and contact your systems administrator. The return code from TCP/IP is
10061 (X'274D'). The reason for the failure may be that this host cannot reach
the destination host. It may also be possible that the listening program at
host 'elabsvr2 (3.209.124.60) (1414)' was not running. If this is the case,
perform the relevant operations to start the TCP/IP listening program, and try
again.

then I did was this

setmqaut -m QM_orf_qa01 -n SYSTEM.DEFAULT.LOCAL.QUEUE -t queue -p 942504 +allmqi

since client user id iis my deskstop where user id 942504

10/12/2006 16:44:23 - Process(3860.1) User(942504) Program(amqsputc.exe)
AMQ9520: Channel not defined remotely.

EXPLANATION:
There is no definition of channel 'CLIENT.QM_orf_qa01' at the remote location.
ACTION:
Add an appropriate definition to the remote hosts list of defined channels and
retry the operation.


Pls tell what think did I do wrong here…….

And how to resolve this error

MQCONN ended with reason code 2059
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu Oct 12, 2006 5:13 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Quote:
EXPLANATION:
There is no definition of channel 'CLIENT.QM_orf_qa01' at the remote location.
Back to top
View user's profile Send private message
Hanuman
PostPosted: Thu Oct 12, 2006 5:16 am    Post subject: Reply with quote

Voyager

Joined: 28 Aug 2006
Posts: 89

ya but i have define the channel in my steps in step number 2 while configuring server....

Quote:
define channel(CLIENT.QM_orf_qa01) chltype(SVRCONN) trptype(TCP) mcauser('mqm')


why is the error channel not defined...
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 12, 2006 5:18 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Hanuman wrote:
ya but i have define the channel in my steps in step number 2 while configuring server....

Quote:
define channel(CLIENT.QM_orf_qa01) chltype(SVRCONN) trptype(TCP) mcauser('mqm')


why is the error channel not defined...


Please don't start duplicate threads!

Code:
define channel('CLIENT.QM_orf_qa01') chltype(SVRCONN) trptype(TCP) mcauser('mqm')

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu Oct 12, 2006 5:27 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Notice the quotes in Jeff's define
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 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.