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 Discussion » Checking listener port when queue manager is down

Post new topic  Reply to topic
 Checking listener port when queue manager is down « View previous topic :: View next topic » 
Author Message
krypton
PostPosted: Wed Jun 28, 2017 5:39 am    Post subject: Checking listener port when queue manager is down Reply with quote

Disciple

Joined: 14 Mar 2010
Posts: 186

Is there a way I can check the listener Port when Queue manager is no running i.e without running the mqsc command.
_________________
Dreams are not something which you watch when you are asleep,it is something which doesn't let you sleep.
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Jun 28, 2017 5:54 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

If you mean checking to see if the listener is running when the queue manager is not, no, if the listener is under queue manager control. If the listener is not under queue manager control then the appropriate OS command line to display running processes will do it, although why in the 21st century you'd want to run a listener outside of queue manager control is beyond me.

If on the other hand you want to see whether the port you want to use is in use by something else, again, there is the appropriate OS command line 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
krypton
PostPosted: Wed Jun 28, 2017 5:57 am    Post subject: Reply with quote

Disciple

Joined: 14 Mar 2010
Posts: 186

Hi Exerk,

I want to check what is the Port Number we have set up for this Queue Manager listener.

I know using runmqsc and "Display Listener" is one way to check the port number, but I am wondering is there any other way to check it in case both Listener and Queue manager is down.
_________________
Dreams are not something which you watch when you are asleep,it is something which doesn't let you sleep.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jun 28, 2017 6:04 am    Post subject: Reply with quote

Poobah

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

Refer to the machine-readable or hard-copy backup(s) of your MQSC object definitions, or equivalents.
_________________
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
exerk
PostPosted: Wed Jun 28, 2017 6:05 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Documentation, e.g. the input file used to create the queue manager and its objects. If you don't have documentation then you are up a particular creek, and with no paddle...
_________________
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
gbaddeley
PostPosted: Wed Jun 28, 2017 4:18 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2492
Location: Melbourne, Australia

WARNING: Unsupported UNIX hack follows

Code:
cd /var/mqm/qmgrs/MQABCD/listener
ls -l
(locate the listener object file name)
od -l MY.LISTENER
0000000   1280070209           1         284   842019123
0000020    758134317   842407968   809053748   908996662
0000040   1279873876  1162757458   538976288   538976288
0000060    538976288   538976288   538976288   538976288
*
0000220            2           0        1414   538976288
0000240    538976288   538976288   538976288   538976288

Shows port 1414.
Do not include this in your standard support documentation or procedures, but it could help out in an emergency.
_________________
Glenn
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Jun 29, 2017 12:56 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

gbaddeley wrote:
WARNING: Unsupported UNIX hack follows

Code:
cd /var/mqm/qmgrs/MQABCD/listener
ls -l
(locate the listener object file name)
od -l MY.LISTENER
0000000   1280070209           1         284   842019123
0000020    758134317   842407968   809053748   908996662
0000040   1279873876  1162757458   538976288   538976288
0000060    538976288   538976288   538976288   538976288
*
0000220            2           0        1414   538976288
0000240    538976288   538976288   538976288   538976288

Shows port 1414.
Do not include this in your standard support documentation or procedures, but it could help out in an emergency.

Every day a school day!
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Checking listener port when queue manager is down
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.