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 » amqmdain end but listener still running?

Post new topic  Reply to topic
 amqmdain end but listener still running? « View previous topic :: View next topic » 
Author Message
lozaza
PostPosted: Wed Mar 13, 2013 7:16 pm    Post subject: amqmdain end but listener still running? Reply with quote

Apprentice

Joined: 04 Mar 2013
Posts: 27

Hi Guys, I use the amqmdain end command to stop queue manager and use dltmqm to delete queue manger as below

amqmdain end QM1
dltmqm QM5

MQ1 is stopped but runmqlsr is still running so it can't be deleted. tried endmqm same thing.

whats the point to have the listener running but queue manager is stopped. is there a way to stop it completely then delete it.

Josh
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Mar 13, 2013 7:24 pm    Post subject: Reply with quote

Poobah

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

Runmqlsr is a stand-alone listener. Stop using it.

Instead, create a listener object with mqsc command DEFINE LISTENER.

Research control command endmqlsr.
_________________
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
lozaza
PostPosted: Wed Mar 13, 2013 7:45 pm    Post subject: Reply with quote

Apprentice

Joined: 04 Mar 2013
Posts: 27

I didn't use runmqlsr to create listener for QM1, all I did is

DEFINE LISTENER(LISTENER.TCP) TRPTYPE(TCP) PORT(1414)
START LISTENER(LISTENER.TCP)
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Mar 13, 2013 8:04 pm    Post subject: Reply with quote

Poobah

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

Runmqlsr does not start or stop with the qmgr. You or a script must start runmqlsr manually.

Runmqlsr is a listener; it does not start a listener.
_________________
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: Thu Mar 14, 2013 12:57 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Identify the PID of the QM1 Listener and kill the process and are you trying to delete QM1 or QM5 because your original post says QM5?
_________________
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: Thu Mar 14, 2013 2:39 pm    Post subject: Reply with quote

Jedi Knight

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

lozaza wrote:
I didn't use runmqlsr to create listener for QM1, all I did is
DEFINE LISTENER(LISTENER.TCP) TRPTYPE(TCP) PORT(1414)
START LISTENER(LISTENER.TCP)


This will start a runmqlsr.exe, but its not under control of the qmgr because you didn't specify CONTROL(QMGR). Therefore you will need to start and stop it manually using the START / STOP LISTENER mqsc's. Life will be much easier if you redefine the LISTENER object with CONTROL(QMGR).
_________________
Glenn
Back to top
View user's profile Send private message
lozaza
PostPosted: Thu Mar 14, 2013 10:00 pm    Post subject: Reply with quote

Apprentice

Joined: 04 Mar 2013
Posts: 27

exerk wrote:
Identify the PID of the QM1 Listener and kill the process and are you trying to delete QM1 or QM5 because your original post says QM5?


Sorry my bad its a typo should be QM1
Back to top
View user's profile Send private message
lozaza
PostPosted: Thu Mar 14, 2013 10:28 pm    Post subject: Reply with quote

Apprentice

Joined: 04 Mar 2013
Posts: 27

gbaddeley wrote:
lozaza wrote:
I didn't use runmqlsr to create listener for QM1, all I did is
DEFINE LISTENER(LISTENER.TCP) TRPTYPE(TCP) PORT(1414)
START LISTENER(LISTENER.TCP)


This will start a runmqlsr.exe, but its not under control of the qmgr because you didn't specify CONTROL(QMGR). Therefore you will need to start and stop it manually using the START / STOP LISTENER mqsc's. Life will be much easier if you redefine the LISTENER object with CONTROL(QMGR).


works perfect just like an muffin! Thanks all inputs from everyone! much appreciated!.

also info I found on IBM to share:

CONTROL(string)
Specifies how the listener is to be started and stopped.:
MANUAL
The listener is not to be started automatically or stopped automatically. It is to be controlled by use of the START LISTENER and STOP LISTENER commands. This is the default value.
QMGR
The listener being defined is to be started and stopped at the same time as the queue manager is started and stopped.
STARTONLY
The listener is to be started at the same time as the queue manager is started, but is not requested to stop when the queue manager is stopped.
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 » amqmdain end but listener still 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.