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 » General IBM MQ Support » Couldnt establish connection with the queue manager.

Post new topic  Reply to topic
 Couldnt establish connection with the queue manager. « View previous topic :: View next topic » 
Author Message
Sonal
PostPosted: Tue Mar 24, 2009 4:25 am    Post subject: Couldnt establish connection with the queue manager. Reply with quote

Apprentice

Joined: 20 Mar 2009
Posts: 45

Hi All...



I've few queries. Please help me.



Previously, I was trying to send message from sender (windows box) to receiver (Windows box). "Channel not known" error was coming. From your help, I got the solution to put port number also in conn name of channel in sender. I'd also enabled the remote administration of both the sender and receiver queue managers.



Now, im trying to send the messages from sender (Linux box) to receiver (Windows box). When I try to connect the sender (Linux) with receiver (windows) on windows using MQ Explorer by going into "show/hide managers", it’s prompting the message "Couldn’t establish the connection with queue manager". Here its not getting connected though the listeners and managers are running at both the sides.



Using the MQ Explorer on Windows, I can enable the remote administration on receiver (Windows box). But, I am not able to enable remote administration in Linux as there's no MQ Explorer...only command line.



What do you think could be the reason behind the error of "Couldn’t establish the connection with queue manager"?

Is it because the remote administration is not enabled on Linux (sender) queue manager?



Please help me and let me know:



The MQSC commands for Linux to enable remote administration on Linux (sender) machine.


How to connect the sender (Linux) queue manager with the receiver queue manger using MQ Explorer on Windows? What are the commands do I need to write on Linux for this?


There is a command to define the channel in Linux MQSC:
define channel (QM_ORANGE.QM_APPLE) chltype (sdr) conname ('con-name') xmitq (QM_APPLE) trptype (tcp)

Do I need to add the port number also with the ip address in the connname? if yes, then how? I mean, what's the syntax?



Can MQ Explorer be installed on Linux? If yes, then how? Can you please give me some step by step procedure to follow for the installation?


Thanks a bunch in advance...!
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Mar 24, 2009 4:35 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

1. Read the top three threads HERE.
2. Read the Quick Beginnings manuals for each platform; they contain verification tests to check installation/configuration.
3. Read THIS as it also contains useful information.
4. Get training - this site is NOT a training resource.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
sumit
PostPosted: Tue Mar 24, 2009 4:41 am    Post subject: Re: Couldnt establish connection with the queue manager. Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

Sonal wrote:
There is a command to define the channel in Linux MQSC:
define channel (QM_ORANGE.QM_APPLE) chltype (sdr) conname ('con-name') xmitq (QM_APPLE) trptype (tcp)

Do I need to add the port number also with the ip address in the connname? if yes, then how? I mean, what's the syntax?


Yes, you have to mention port number as well. you can use it like
conname ('con-name(port)')

Refer IBM's intercommunication mannual for all your queries.

Also refer IBM infocenter to check syntax and usage of commands:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
exerk
PostPosted: Tue Mar 24, 2009 4:54 am    Post subject: Re: Couldnt establish connection with the queue manager. Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

sumit wrote:
...Yes, you have to mention port number as well. you can use it like conname ('con-name(port)')...


If a queue manager is listening on IP Port 1414, there is no need to explicitly state that in the CONNAME, however, it is always good practice (in my opinion) to do so.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
MQEnthu
PostPosted: Tue Mar 24, 2009 9:30 pm    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

In your earlier post you said:

Sonal wrote:
After 4 days, the message finally get sent
The problem was: I wasnt mentioning the port number with the ip address in conn name of sender channel...


And now again asking

Sonal wrote:
Do I need to add the port number also with the ip address in the connname?

_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
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 » General IBM MQ Support » Couldnt establish connection with the queue manager.
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.