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 Port

Post new topic  Reply to topic
 MQ Port « View previous topic :: View next topic » 
Author Message
swann
PostPosted: Thu Jan 26, 2012 8:06 am    Post subject: MQ Port Reply with quote

Acolyte

Joined: 21 Jun 2011
Posts: 50

Hi,
I have a unix servers on which three QMs are running.I did a recycle of MQ services and now i need to find the port on which the QM were running.I known the port of only one QM that was using previously.But i qould like to start the listener for that with runmqlsr command but could figure out which port it was using previously.So is there any way to come out of it...Thanks...
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jan 26, 2012 8:28 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

ps -ef should show a list of all of the mq listeners, including the information about the port they are using.

netstat -an | grep -i LISTEN will show all of the open ports on the machine.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jan 26, 2012 8:35 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
ps -ef should show a list of all of the mq listeners, including the information about the port they are using.

netstat -an | grep -i LISTEN will show all of the open ports on the machine.


I thought the problem was that the listeners weren't running, and the OP wanted to know what port to use?

I'd find a sender channel that pointed to that queue manager & see what port number was in the conname.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jan 26, 2012 8:59 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Oh!

Yeah, as of 7.0 and later, at least, there should be mention somewhere in the AMQERR logs of when the listener started up last and what port it used. Likely best to look in the qmgr logs, less noise.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Jan 26, 2012 2:22 pm    Post subject: Re: MQ Port Reply with quote

Jedi Knight

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

swann wrote:
I have a unix servers on which three QMs are running.I did a recycle of MQ services and now i need to find the port on which the QM were running.

Why not just use the normal procedure for starting up the QMs, eg when the system is booted? This should include the correct runmqlsr commands, or the QMs will automatically start the LISTENER objects on the correct ports.
_________________
Glenn
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jan 26, 2012 2:56 pm    Post subject: Re: MQ Port Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

gbaddeley wrote:
This should include the correct runmqlsr commands, or the QMs will automatically start the LISTENER objects on the correct ports.


It should. I rather suspect the OP's boxes are not so configured.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 IBM MQ Support » MQ Port
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.