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 » MQ Explorer-could not establish a connection to the QM

Post new topic  Reply to topic Goto page Previous  1, 2, 3, 4  Next
 MQ Explorer-could not establish a connection to the QM « View previous topic :: View next topic » 
Author Message
Thiru
PostPosted: Wed Jan 04, 2023 7:47 am    Post subject: Reply with quote

Novice

Joined: 22 Dec 2022
Posts: 21

Quote:

Thiru wrote:
I have two local queue managers running on windows R12 server

For clarity, does "local" here mean that both qmgrs are in the same o/s instance? Same LPAR?

Thiru Yes both are running in same OS and LPAR.

Thiru wrote:
... and
those are running absolutely fine but after few days of qm restart (monthly failover)

How do you "restart" these qmgrs? What commands are issued?

Thiru We will open failover cluster manager and right click on the role and move it to second node, then automatically all the resources will move to passive node

Thiru wrote:
... sometimes those were automatically disconnecting
from MQ explore and I am not able to view the objects but i can be able to access them from cmd prompt.

Do you mean that you can issue runmqsc cmd, then DISPLAY mqsc command? Or some other cmd prompt commands?

Thiru I can see queue status and channel status etc.
Thiru wrote:
I tried to connect again but getting below error. facing the issue in MQ V9.2.2.0 and MQ V9.1.3.0 as well.
Your original post says that you have two local queue managers ...

I'm confused here. This seems to say that you have this same issue on other queue managers, as well. Please clarify

Thiru: I mean to say, I have two different environments and two different installations.
one environment have MQ installation of V9.2.2.0 and another one is having V9.1.3.0 and servers and IP's and everything is different, but issue is same, and each environment have two queue managers.
.
Back to top
View user's profile Send private message
Thiru
PostPosted: Wed Jan 04, 2023 7:50 am    Post subject: Reply with quote

Novice

Joined: 22 Dec 2022
Posts: 21

Exerk Wrote:
Quote:

Thiru: Is the MQ Explorer instance(s) you are using installed on a machine remote from the queue managers, or do you have an instance of MQ Explorer on each of the MSCS nodes?

Thiru: We installed on both the nodes.
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Jan 04, 2023 8:19 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Thiru wrote:
Exerk Wrote:
Quote:

Thiru: Is the MQ Explorer instance(s) you are using installed on a machine remote from the queue managers, or do you have an instance of MQ Explorer on each of the MSCS nodes?

Thiru: We installed on both the nodes.

Why not use MQ Explorer on a remote machine, e.g., your workstation? There is very little utility to having multiple instances of MQ Explorer just to "manage local queue managers", especially when those "local queue managers" are on the same machine, especially as the user data may be stored in a roaming profile...
_________________
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
bruce2359
PostPosted: Wed Jan 04, 2023 10:07 am    Post subject: Reply with quote

Poobah

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

Please be precise with your replies.
Thiru wrote:
... sometimes those were automatically disconnecting from MQ explore and I am not able to view the objects but i can be able to access them from cmd prompt.

cmd prompt usually means DOS shell. Exactly what cmd do you enter to access them?

Thiru wrote:
I can see queue status and channel status etc.

Exactly how can you see queue status and channel status?
_________________
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
hughson
PostPosted: Wed Jan 04, 2023 2:45 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

hughson wrote:
Could you tell us about the connection configuration details?
Thiru wrote:
Queue Manager Name: TEST
Connection Type: Local
Refresh Interval: 15 Seconds
Auto Reconnect: Yes
Wait Interval:30
Expiry Interval:30


hughson wrote:
Are you able to ping the IP address where the MQ Explorer is trying to connect to?
Thiru wrote:
Yes


So this is quite confusing. On the one hand you have told me that you can ping the IP address that MQ Explorer is using to try to connect to the queue manager, but on the other hand you have shown that MQ Explorer is not using a Client connection with an IP address, but is in fact using a Local bindings connection to the queue manager.

If the queue manager is not running on the same machine as the MQ Explorer, it will not be able to connect to it using a local bindings connection.

Can you tell us why you do not use the IP address you have been telling us about in your MQ Explorer settings?

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Thiru
PostPosted: Thu Jan 05, 2023 5:43 am    Post subject: Reply with quote

Novice

Joined: 22 Dec 2022
Posts: 21

Exerk Wrote:

Quote:
Why not use MQ Explorer on a remote machine, e.g., your workstation? There is very little utility to having multiple instances of MQ Explorer just to "manage local queue managers", especially when those "local queue managers" are on the same machine, especially as the user data may be stored in a roaming profile...


Thiru: Due to security reasons customer is not allowing us to do that.
Back to top
View user's profile Send private message
Thiru
PostPosted: Thu Jan 05, 2023 5:58 am    Post subject: Reply with quote

Novice

Joined: 22 Dec 2022
Posts: 21

Bruce2359 Wrote

Quote:

Please be precise with your replies.
Thiru wrote:
... sometimes those were automatically disconnecting from MQ explore and I am not able to view the objects but i can be able to access them from cmd prompt.

cmd prompt usually means DOS shell. Exactly what cmd do you enter to access them?
Thiru wrote:
I can see queue status and channel status etc.

Exactly how can you see queue status and channel status?

Thiru:
I just opened windows command processer and ran the below commands
1) Runmqsc qmgrname
2) DIS QL(*) where(curdepth ne 0)
3) dis chstatus(*)
Back to top
View user's profile Send private message
Thiru
PostPosted: Thu Jan 05, 2023 6:05 am    Post subject: Reply with quote

Novice

Joined: 22 Dec 2022
Posts: 21

Hughson wrote:

Quote:
So this is quite confusing. On the one hand you have told me that you can ping the IP address that MQ Explorer is using to try to connect to the queue manager, but on the other hand you have shown that MQ Explorer is not using a Client connection with an IP address, but is in fact using a Local bindings connection to the queue manager.

If the queue manager is not running on the same machine as the MQ Explorer, it will not be able to connect to it using a local bindings connection.

Can you tell us why you do not use the IP address you have been telling us about in your MQ Explorer settings?


Thiru: The comment was by mistake actually what I meant to say is. I tried ping the server IP address from different servers, but they are all pingable as I mentioned before MQ server and MQ explorer both are on the same Windows Server machine
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Jan 05, 2023 8:40 am    Post subject: Reply with quote

Poobah

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

Correct me if I've misunderstood:
- you have MQExplorer installed in the same o/s as the qmgrs
- you are connecting MQExplorer to local (same o/s) qmgrs
- one or more or all local qmgrs are visible in the Navigator pane, but
- expanding one or more of the local qmgrs, does NOT display object details in any Content panes

Further, does the same MQExplorer instance display any qmgrs and their objects successfully?

I've seen this behavior occasionally. Try this:
- stop the MQExplorer
Restart the MQExplorer with options to clear Eclipse cache
- strmqcfg -c
or
- strmqcfg -i

Please tell us the results.

You might want to try the new-ish MQConsole to see if it produces correct results.
_________________
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
Thiru
PostPosted: Fri Jan 06, 2023 9:02 pm    Post subject: Reply with quote

Novice

Joined: 22 Dec 2022
Posts: 21

bruce2359 Wrote:
Quote:

Correct me if I've misunderstood:
- you have MQExplorer installed in the same o/s as the qmgrs
- you are connecting MQExplorer to local (same o/s) qmgrs
- one or more or all local qmgrs are visible in the Navigator pane, but
- expanding one or more of the local qmgrs, does NOT display object details in any Content panes

Thiru: Yes, that is the exact issue
Further, does the same MQExplorer instance display any qmgrs and their objects successfully?

Thiru: No

I've seen this behavior occasionally. Try this:
- stop the MQExplorer
Restart the MQExplorer with options to clear Eclipse cache
- strmqcfg -c
or
- strmqcfg -i

Please tell us the results.

Thiru: Tried those as well but no luck and results are still same.
I also tried to add these queue mangers to another instance of MQ explorer running on different server and below is the reported error.

could not establish a connection to the queue manager - reason 2538. (AMQ4059).

You might want to try the new-ish MQConsole to see if it produces correct results.

Thiru: Please advise the steps.
Back to top
View user's profile Send private message
hughson
PostPosted: Sat Jan 07, 2023 12:36 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

Thiru wrote:
I also tried to add these queue mangers to another instance of MQ explorer running on different server and below is the reported error.

could not establish a connection to the queue manager - reason 2538. (AMQ4059).

Reason code 2538 (MQRC_HOST_NOT_AVAILABLE) is an error you would get when trying to make a client connection. Are your queue manager's configured to accept client connections? Earlier you said:
Thiru wrote:
Due to security reasons customer is not allowing us to do that.


Thiru wrote:

bruce2359 wrote:
You might want to try the new-ish MQConsole to see if it produces correct results.

Please advise the steps.

First you need to set up the mqweb server running on the machine where your queue manager resides. If your queue manager admins are not allowing client connections, I suspect they may not want to open up a REST interface ovr HTPP to the queue manager either?

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
bruce2359
PostPosted: Sat Jan 07, 2023 6:02 am    Post subject: Reply with quote

Poobah

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

I asked:
Quote:
Further, does the same MQExplorer instance display any qmgrs and their objects successfully?


You replied Thiru: No

Please clarify:
Quote:
Are you saying that the MQExplorer Content panes are NOT being displayed? Or, are you saying that the Content panes are displayed but not populated with object names and attributes?

_________________
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
Thiru
PostPosted: Sun Jan 08, 2023 8:36 pm    Post subject: Reply with quote

Novice

Joined: 22 Dec 2022
Posts: 21

Hughson
Quote:

Thiru wrote:
I also tried to add these queue mangers to another instance of MQ explorer running on different server and below is the reported error.

could not establish a connection to the queue manager - reason 2538. (AMQ4059).

Reason code 2538 (MQRC_HOST_NOT_AVAILABLE) is an error you would get when trying to make a client connection. Are your queue manager's configured to accept client connections? Earlier you said:


Thiru: The above error is happening only when I face the MQ explorer issue, If I do the failover then all seems okay and i can able to add the queue manager to another instance of mq explorer as well.

Quote:
Thiru wrote:
Due to security reasons customer is not allowing us to do that.

I mean local instance of MQ explore for that yes, we are not allowed to setup. But here i tried with another instance of explore in same environment but in different server .
Back to top
View user's profile Send private message
Thiru
PostPosted: Sun Jan 08, 2023 8:43 pm    Post subject: Reply with quote

Novice

Joined: 22 Dec 2022
Posts: 21

bruce2359

Quote:
I asked:
Quote:
Further, does the same MQExplorer instance display any qmgrs and their objects successfully?


You replied Thiru: No

Please clarify:
Quote:
Are you saying that the MQExplorer Content panes are NOT being displayed? Or, are you saying that the Content panes are displayed but not populated with object names and attributes?


Thiru; I am saying that content panes are displayed and i can see the queue managers as well but not their objects.
Back to top
View user's profile Send private message
hughson
PostPosted: Mon Jan 09, 2023 1:56 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

Thiru wrote:
Hughson
Quote:

Thiru wrote:
I also tried to add these queue mangers to another instance of MQ explorer running on different server and below is the reported error.

could not establish a connection to the queue manager - reason 2538. (AMQ4059).

Reason code 2538 (MQRC_HOST_NOT_AVAILABLE) is an error you would get when trying to make a client connection. Are your queue manager's configured to accept client connections? Earlier you said:


Thiru: The above error is happening only when I face the MQ explorer issue, If I do the failover then all seems okay and i can able to add the queue manager to another instance of mq explorer as well.


Hi Thiru,

Is it possible that your listener hasn't started properly as part of the failover?

You say that when you have this problem, you are still able to use runmqsc. Can you use DISPLAY LSTATUS(*) to check that your listener is running next time this happens?

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3, 4  Next Page 2 of 4

MQSeries.net Forum Index » General IBM MQ Support » MQ Explorer-could not establish a connection to the QM
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.