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 » Q Mgr Not Available, but no firewall

Post new topic  Reply to topic
 Q Mgr Not Available, but no firewall « View previous topic :: View next topic » 
Author Message
Gideon
PostPosted: Tue Jul 13, 2010 4:27 pm    Post subject: Q Mgr Not Available, but no firewall Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

I am using WMQ 7.1 on Linux

When I try to add a Qmgr on the Explorer or access the qmgr via JMS code, I get a 2059 (Qmgr not available)

So I try to Putty into 1414 on the host

I get an "Error, connection refused"

Good news I think, I will just take down the Firewall

However the Firewall was already disabled, so I try to connect with both the Firewall disabled, or enable with 1414 allowed, but neither option worked.

Any ideas on how I should track this error down ?

Thanks
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Tue Jul 13, 2010 4:34 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
When I try to add a Qmgr on the Explorer or access the qmgr via JMS code, I get a 2059 (Qmgr not available)

From where are you doing this? Same box as the qmgr?

Can you use the tcp/ip ping command successfully? If not, then there is something else blocking the connection.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Gideon
PostPosted: Tue Jul 13, 2010 4:37 pm    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

I am trying to add the qmgr to the explorer on a WIndows client (from the Linux Server)

From the Windows client I can ping the ip of the Linux Server, so the connection is not blocked

any ideas ?
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Tue Jul 13, 2010 4:55 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
So I try to Putty into 1414 on the host

I get an "Error, connection refused"


This is a TCP/IP error, not an MQ error.

So, tcp ping is OK.

But Putty fails.

Can you telnet to the server?

Have you contacted your network support people?

Is there firewall software on your Windows box? Is there another router/firewall between Windows and Linux?

If you are on the Linux box, can you Putty?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 13, 2010 6:30 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Gideon wrote:
From the Windows client I can ping the ip of the Linux Server, so the connection is not blocked


No, that just means the ping port is not blocked. The port WMQ's trying to use might well be. Use telnet not ping, and telnet to the specific WMQ port not the telnet default one.

Connection refused is typically a firewall problem.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 14, 2010 5:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
Gideon wrote:
From the Windows client I can ping the ip of the Linux Server, so the connection is not blocked


No, that just means the ping port is not blocked. The port WMQ's trying to use might well be. Use telnet not ping, and telnet to the specific WMQ port not the telnet default one.

Connection refused is typically a firewall problem.


It seems he or she has already done that... ?
Gideon wrote:
So I try to Putty into 1414 on the host

I get an "Error, connection refused"


There's probably a personal firewall on linux and potentially a second firewall in the network between the two machines that is blocking this port.

This is usually actually a good thing - you should take the time to map out all of the desktops that *really* *absolutely* will *require* access to the MQ listener port on this machine, and only configure the firewall to allow those in. It will save time later and is the best way to start planning MQ security - at the network level.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 14, 2010 5:21 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
It seems he or she has already done that... ?
Gideon wrote:
So I try to Putty into 1414 on the host

I get an "Error, connection refused"


My point was if you telnet (Putty) to the machine, it uses the default port. A better test is to telnet to the port WMQ is using.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 14, 2010 5:33 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
mqjeff wrote:
It seems he or she has already done that... ?
Gideon wrote:
So I try to Putty into 1414 on the host

I get an "Error, connection refused"


My point was if you telnet (Putty) to the machine, it uses the default port. A better test is to telnet to the port WMQ is using.


My point is that I think you're still misreading what Gideon said. "Putty *into* 1414 on the host". How is that not an equivalent to "telnet <host> 1414"?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 14, 2010 5:39 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
Vitor wrote:
mqjeff wrote:
It seems he or she has already done that... ?
Gideon wrote:
So I try to Putty into 1414 on the host

I get an "Error, connection refused"


My point was if you telnet (Putty) to the machine, it uses the default port. A better test is to telnet to the port WMQ is using.


My point is that I think you're still misreading what Gideon said. "Putty *into* 1414 on the host". How is that not an equivalent to "telnet <host> 1414"?


Ah
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 14, 2010 4:15 pm    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:

My point is that I think you're still misreading what Gideon said. "Putty *into* 1414 on the host". How is that not an equivalent to "telnet <host> 1414"?

Because he did not specify whether on the putty screen he had the raw, telnet, rlogin or ssh protocol checked. I understand he switched the port on the putty screen to 1414.

By default I would assume he had telnet checked but it never hurts to have it confirmed.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Q Mgr Not Available, but no firewall
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.