|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
|
|
Listeners running but can't find object definitions |
« View previous topic :: View next topic » |
Author |
Message
|
MQMB&WAS |
Posted: Thu Nov 14, 2019 8:01 am Post subject: Listeners running but can't find object definitions |
|
|
Centurion
Joined: 12 Jun 2016 Posts: 130
|
Hello,
I just saw a few qmgrs where listeners are in running state, but when I issue the display command it says object not found.
Is this possible? I can see the runmqlsr process with ps -ef command as well. |
|
Back to top |
|
|
bruce2359 |
Posted: Thu Nov 14, 2019 8:23 am Post subject: |
|
|
Poobah
Joined: 05 Jan 2008 Posts: 9442 Location: US: west coast, almost. Otherwise, enroute.
|
How did you see listeners running? What commands did you issue?
Sure it’s possible - if the listener was started at a shell, and not from a listener object. It’s the same executable runmqlsr. _________________ 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 |
|
|
MQMB&WAS |
Posted: Thu Nov 14, 2019 9:06 am Post subject: |
|
|
Centurion
Joined: 12 Jun 2016 Posts: 130
|
bruce2359 wrote: |
How did you see listeners running? What commands did you issue? |
Dis lsstatus(*)
ps -ef | grep runmqlsr |
|
Back to top |
|
|
bruce2359 |
Posted: Thu Nov 14, 2019 10:04 am Post subject: |
|
|
Poobah
Joined: 05 Jan 2008 Posts: 9442 Location: US: west coast, almost. Otherwise, enroute.
|
MQMB&WAS wrote: |
bruce2359 wrote: |
How did you see listeners running? What commands did you issue? |
Dis lsstatus(*) |
This is an MQSC command that displays status of listener object named in the ( )'s.
MQMB&WAS wrote: |
ps -ef | grep runmqlsr |
This is a UNIX command to list processes, in this case, a process called runmqsr. If you have multiple qmgrs in the same o/s instance, you will likely have multiple runmqlsr's.
The executable is the same.
IMHO, the value of the listener OBJECT is that you can specify CONTROL(QMGR) which starts the listener when the qmgr starts up, and ends it when the qmgr shuts down. _________________ 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 |
|
|
HubertKleinmanns |
Posted: Thu Nov 14, 2019 10:51 pm Post subject: |
|
|
Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
It depends on the options you used to start the listener on the command line.
Specifying option "-r":
Code: |
$ runmqlsr -r -m MYQMGR -t TCP -p 11402 &
$ runmqsc MYQMGR
5724-H72 (C) Copyright IBM Corp. 1994, 2019.
Starting MQSC for queue manager MYQMGR.
AMQ8706I: Request to stop IBM MQ Listener accepted.
dis lsstatus(*)
3 : dis lsstatus(*)
AMQ8147E: IBM MQ object * not found.
|
Omitting the option "-r":
Code: |
$ runmqlsr -m MYQMGR -t TCP -p 11402 &
$ runmqsc MYQMGR
5724-H72 (C) Copyright IBM Corp. 1994, 2019.
Starting MQSC for queue manager MYQMGR.
dis lsstatus(*)
1 : dis lsstatus(*)
AMQ8631I: Display listener status details.
LISTENER(SYSTEM.LISTENER.TCP.1) STATUS(RUNNING)
PID(28049422)
|
_________________ Regards
Hubert |
|
Back to top |
|
|
|
|
|
|
Page 1 of 1 |
|
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
|
|
|
|