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 » Listeners running but can't find object definitions

Post new topic  Reply to topic
 Listeners running but can't find object definitions « View previous topic :: View next topic » 
Author Message
MQMB&WAS
PostPosted: Thu Nov 14, 2019 8:01 am    Post subject: Listeners running but can't find object definitions Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Thu Nov 14, 2019 8:23 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
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
View user's profile Send private message
MQMB&WAS
PostPosted: Thu Nov 14, 2019 9:06 am    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Thu Nov 14, 2019 10:04 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
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
View user's profile Send private message
HubertKleinmanns
PostPosted: Thu Nov 14, 2019 10:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Listeners running but can't find object definitions
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.