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 » Unable to conect from client to Mqseries server

Post new topic  Reply to topic
 Unable to conect from client to Mqseries server « View previous topic :: View next topic » 
Author Message
srohit
PostPosted: Thu Oct 11, 2001 1:58 am    Post subject: Reply with quote

Newbie

Joined: 10 Oct 2001
Posts: 3

I have installed mqseries for windows 2000 version5.2.I have also installed the client software on an windows 98 Pc.

I am trying to connect from the client to the queue of mqseries using amqsputc command.
But I am geeting an error reason code 2059. When i open the error log it gives me error as: Type of remote channel not suitable for action requested.

I have created all the queues and connections using the pdf available on net.

Can somebody tell me how i can connect to a mqseries server from the client pc

Thanks in Advance
Rohit
Back to top
View user's profile Send private message
Cliff
PostPosted: Thu Oct 11, 2001 3:20 am    Post subject: Reply with quote

Centurion

Joined: 27 Jun 2001
Posts: 145
Location: Wiltshire

You should look in the Clients manual for a full explanation, but one way of allowing a client to connect to a qmgr is to alter the qmgr to enable automatic definition of channels (highlight the qmgr in MQSeries Explorer, Properties->Communication) then create a Server Connection channel. On the client machine, create an environment variable MQCHLLIB and set it to the network path of your qmgr's channel table, which will be something like Z:program filesMQSeriesQMgrsYOURQMNAME@ipcc if Z is mapped to the server's C drive.

This sets up the qmgr to automatically define channels when servicing inbound connection requests and tells the client where to look to get information on the qmgr it is trying to connect to, and you should be in business. But as I said, the full picture is in the manual!

Have fun,

Cliff
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Thu Oct 11, 2001 6:21 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Another quick approach to take is to set the MQSERVER environment variable:

set MQSERVER=SYSTEM.DEF.SVRCONN/tcp/hostname

It doesn't give you as many options as the channel table, but it allows for a quick test.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
srohit
PostPosted: Thu Oct 11, 2001 6:29 am    Post subject: Reply with quote

Newbie

Joined: 10 Oct 2001
Posts: 3

I tried out the option but am still not able to connect it.
the error in log file is as follows10/11/01 19:46:15
AMQ9547: Type of remote channel not suitable for action requested.

EXPLANATION:
The operation requested cannot be performed because channel 'channel1' on the
remote machine is not of a suitable type. For example, if the local channel is
defined as a sender the remote machine must define its channel as either a
receiver or requester.
ACTION:
Check that the channel name is specified correctly. If it is, check that the
remote channel has been defined correctly.

can you help me by telling what exactly i have to do if i recive the above error

Thanks in advance
Rohit

Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Oct 11, 2001 7:58 am    Post subject: Reply with quote

Jedi

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

Rohit,

The message is telling you exactly what is wrong. "Type of remote channel not suitable for action requested."

What Channel type are you trying to connect to on the server. It should be a Server-Connection channel, CHLTYPE(SVRCONN).

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
srohit
PostPosted: Thu Oct 11, 2001 11:06 pm    Post subject: Reply with quote

Newbie

Joined: 10 Oct 2001
Posts: 3

thanks guys.

I have been able to solve it.The channel type was server channel, as i did it to server connection channel .its working fine.


thanks a lot
Rohit
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 » Unable to conect from client to Mqseries server
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.