Author |
Message
|
krypton |
Posted: Wed Jun 28, 2017 5:39 am Post subject: Checking listener port when queue manager is down |
|
|
 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 |
|
 |
exerk |
Posted: Wed Jun 28, 2017 5:54 am Post subject: |
|
|
 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 |
|
 |
krypton |
Posted: Wed Jun 28, 2017 5:57 am Post subject: |
|
|
 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 |
|
 |
bruce2359 |
Posted: Wed Jun 28, 2017 6:04 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 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 |
|
 |
exerk |
Posted: Wed Jun 28, 2017 6:05 am Post subject: |
|
|
 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 |
|
 |
gbaddeley |
Posted: Wed Jun 28, 2017 4:18 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 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 |
|
 |
exerk |
Posted: Thu Jun 29, 2017 12:56 am Post subject: |
|
|
 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 |
|
 |
|