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 » problem with loopback (127.0.0.1) in WMQ 5.3 for Solaris?

Post new topic  Reply to topic
 problem with loopback (127.0.0.1) in WMQ 5.3 for Solaris? « View previous topic :: View next topic » 
Author Message
Guava72
PostPosted: Fri Jan 30, 2004 9:46 am    Post subject: problem with loopback (127.0.0.1) in WMQ 5.3 for Solaris? Reply with quote

Apprentice

Joined: 06 Jun 2003
Posts: 46
Location: Champaign, IL

Hi, I'm using Websphere MQ 5.3 (base product) on SunOS 5.8.
I'm trying to start a channel to itself, but it gets stuck in "Retrying" mode. I am using "127.0.0.1" for the Connection Name. I have done this exact same setup before and it worked, but there I was using MQSeries 5.2.1 CSD05 on Windows 2000.

In the AMQERR01.LOG, I see that it is trying to connect to "127.0.0.1(1414). This is not the port of my QM. Before when this worked on the Windows machines, those QM's were not on port 1414 and I had no problem.

Are there any problems with the use of the loopback address in 5.3 for Solaris, or is there some setting I can tweak, or...??? Thanks for any help.
Back to top
View user's profile Send private message Send e-mail
MQRR
PostPosted: Fri Jan 30, 2004 9:53 am    Post subject: Reply with quote

Centurion

Joined: 10 Aug 2003
Posts: 110

Look into the following post.

http://www.mqseries.net/phpBB2/viewtopic.php?t=4137&highlight=127+0+0+1

MQRR
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Jan 30, 2004 10:03 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Your conname should be hostname(port)
like
127.0.0.1(1420) assuming your receiver QMGR's listener is running on 1420. If you do not specify anything in the port it will default to 1414.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
EddieA
PostPosted: Fri Jan 30, 2004 10:05 am    Post subject: Reply with quote

Jedi

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

MQRR. That problem, and 'workaround' is for Windows boxes only. It's a known problem with Microsoft's TCP/IP stack that they refuse to fix.

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
Guava72
PostPosted: Fri Jan 30, 2004 10:48 am    Post subject: Reply with quote

Apprentice

Joined: 06 Jun 2003
Posts: 46
Location: Champaign, IL

MQRR...thanks for the ultra-fast reply! But, alas, Eddie seems to be correct. I exported MQNOREMPOOL=1 in the user's .bash_profile that starts the QM, re-executed it and restarted the QM. I got the exact same results.

Since there is no QM on this machine with port 1414 anyway, I tried manually running a listener (runmqlsr) for the QM using TCP/IP and port 1414, but it died shorly thereafter with

Code:
AMQ9502: Type of channel not suitable for action requested.


Eddie...IBM knows about this and hasn't put the fix in any 5.3 CSD? :-?
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Fri Jan 30, 2004 11:12 am    Post subject: Reply with quote

Jedi Knight

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

The problem is a Microsoft TCP/IP problem, so IBM can't fix it in an WMQ CSD.

One of your comments has me confused:
Quote:
Since there is no QM on this machine with port 1414 anyway, I tried manually running a listener (runmqlsr) for the QM using TCP/IP and port 1414, but it died shorly thereafter with
Are you saying there is no queue manager on the machine that you want to loopback to? If so, this won't work. If you are saying that you are using a different port, you have to specify this on your MQSERVER environment variable.

The final error leads me to believe that you have your program attempting to use a channel of the wrong type. What is the name and type of channel that you are using? I would have expected you to be using a server connection or client connection channel.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
vennela
PostPosted: Fri Jan 30, 2004 11:29 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Maybe he is trying to create a SDR and RCVR on the same QMGR
Quote:
I'm trying to start a channel to itself, but it gets stuck in "Retrying" mode.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guava72
PostPosted: Fri Jan 30, 2004 12:23 pm    Post subject: Reply with quote

Apprentice

Joined: 06 Jun 2003
Posts: 46
Location: Champaign, IL

Right. The QM is on this box, and I'm creating a Sender and Receiver channel pair and XMITQ. I was just trying to copy a setup that was done on 5.2.1 on Windows. So I was surprised today when I tried the exact same thing on 5.3 on Solaris but ran into trouble. Since MQ is an IBM product, and Solaris is a Sun product, where does Microsoft come into play?
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Fri Jan 30, 2004 12:44 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Guava72
How many QMGRs do you have on the solaris box.
What are you trying to do?

If you want to send messages from one QMGR to another QMGR look at this link

http://www.mqseries.net/phpBB2/viewtopic.php?t=6802&highlight=ron+bower+two
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bower5932
PostPosted: Fri Jan 30, 2004 1:34 pm    Post subject: Reply with quote

Jedi Knight

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

Microsoft came into the discussion because of the MQNOREMPOOL. It is an MQ work-around to the listener pool that takes care of the Microsoft tcp/ip problem.

Also, if you are having trouble with loopback, have you tried specifying the actual hostname/ipaddress of the machine?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
sjunejo
PostPosted: Fri Sep 19, 2008 5:39 am    Post subject: Reply with quote

Novice

Joined: 12 Sep 2008
Posts: 16

I have followed all the steps given on link:

http://my.advisor.com/Articles.nsf/nl/BOWEO001

instead of using 127.0.0.1 I am using IP address of my machine. I have both queue managers ate the same machine. everything working untill this point which is last after this i should able to send messages from one manager to another..

When I try to start my channel on QMGR2 I recieve this error message

hml-bladep6a1-~/mq: runmqchl -c QMGR2.TO.QMGR1

19/09/08 14:31:47 Channel 'QMGR2.TO.QMGR1' is starting.
19/09/08 14:31:47 AMQ9502: Type of channel not suitable for action requested.
19/09/08 14:31:47 AMQ9999: Channel program ended abnormally.

Could anyone plz help me. everything is same as described on the link.

Thank you. I am using AIX machine with MQv7.0 by the way. I have already tried telnet technique. Following command is giving me following error as well...

hml-bladep6a1-~/mq: runmqchl -c QMGR1.TO.QMGR2

19/09/08 14:49:22 Channel 'QMGR1.TO.QMGR2' is starting.

After a long pause it gives me following two lines on QMGR1 as well. ERRRGGGG!!!!

19/09/08 14:49:42 AMQ9514: Channel 'QMGR1.TO.QMGR2' is in use.
19/09/08 14:49:42 AMQ9999: Channel program ended abnormally.


Please help....
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Sep 19, 2008 7:02 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Please post the channel definitions; that will enable more targeted help.
_________________
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
sjunejo
PostPosted: Fri Sep 19, 2008 7:23 am    Post subject: Reply with quote

Novice

Joined: 12 Sep 2008
Posts: 16

I have got it...

I was missing somrthing imy command...

runmqchl -c CHLNAME -m QMGR2

now its working...I cans end messages from one to another...

Thanks for reply....Thanks

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 » problem with loopback (127.0.0.1) in WMQ 5.3 for Solaris?
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.