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 version 5.3 and below versions: verify listener running

Post new topic  Reply to topic
 MQ version 5.3 and below versions: verify listener running « View previous topic :: View next topic » 
Author Message
tanishka
PostPosted: Tue Dec 23, 2008 7:52 am    Post subject: MQ version 5.3 and below versions: verify listener running Reply with quote

Centurion

Joined: 24 Nov 2008
Posts: 144

what is the command to know listener running or not on version 5.3 and below versions.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Dec 23, 2008 8:20 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Platform?

1. ps -fu mqm | grep "runmqlsr" for UNIX
2. MQSeries Services if Windows
_________________
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
tanishka
PostPosted: Tue Dec 23, 2008 8:23 am    Post subject: Reply with quote

Centurion

Joined: 24 Nov 2008
Posts: 144

Platform LINUX and below is the output
ps -fu mqm | grep runmqlsr
mqm 7083 6197 0 10:59 pts/0 00:00:00 grep runmqlsr
[mqm@lxxxx mqm]$ ps -fu mqm | grep "runmqlsr"
mqm 7113 6197 0 11:00 pts/0 00:00:00 grep runmqlsr
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 23, 2008 8:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

tanishka wrote:
Platform LINUX and below is the output
ps -fu mqm | grep runmqlsr
mqm 7083 6197 0 10:59 pts/0 00:00:00 grep runmqlsr
[mqm@lxxxx mqm]$ ps -fu mqm | grep "runmqlsr"
mqm 7113 6197 0 11:00 pts/0 00:00:00 grep runmqlsr

This is why I don't like the fu option. I am more partial to the ef option as the listener does not necessarily run under mqm. This has implications. A listener running under a different Id does not necessarily work as expected...
Note: you may not have a listener running.

Code:
ps -ef | grep runmqlsr


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
tanishka
PostPosted: Tue Dec 23, 2008 9:00 am    Post subject: Reply with quote

Centurion

Joined: 24 Nov 2008
Posts: 144

same output

ps -ef | grep runmqlsr
mqm 9427 6197 0 11:59 pts/0 00:00:00 grep runmqlsr
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 23, 2008 9:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

tanishka wrote:
same output

ps -ef | grep runmqlsr
mqm 9427 6197 0 11:59 pts/0 00:00:00 grep runmqlsr

So no listener running.

Remember to start it you have to finish the command line with '&' to put the listener into the background and run it as a daemon. You could possibly also try nohup.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Michael Dag
PostPosted: Tue Dec 23, 2008 2:56 pm    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

fjb_saper wrote:
tanishka wrote:
same output

ps -ef | grep runmqlsr
mqm 9427 6197 0 11:59 pts/0 00:00:00 grep runmqlsr

So no listener running.

could still be running amqcrsta via inetd.conf...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
fjb_saper
PostPosted: Tue Dec 23, 2008 9:58 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Michael Dag wrote:
fjb_saper wrote:
tanishka wrote:
same output

ps -ef | grep runmqlsr
mqm 9427 6197 0 11:59 pts/0 00:00:00 grep runmqlsr

So no listener running.

could still be running amqcrsta via inetd.conf...


Thanks for reminding me Michael. As I started working with MQ with 5.3 and runmqlsr I have a tendency to forget all the inetd setup.

Let's remind our friends out there that since version 5.3 IBM recommends the use of runmqlsr over the use of amqcrsta via inetd.conf.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ version 5.3 and below versions: verify listener running
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.