Author |
Message
|
qwerty |
Posted: Thu Jul 02, 2009 2:31 am Post subject: Listener Port is 0, but QMGR runs on 1616 |
|
|
Apprentice
Joined: 22 Jun 2009 Posts: 37
|
Hello everybody
I have got a QMGR and it runs on port 1616
when I do a
runmqsc command
and
DISPLAY LISTENER(LISTENER.TCP) ALL
then it shows me in the Details that my Listener is on port 0
can somebody explain me why?
thx qwerty |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jul 02, 2009 2:49 am Post subject: Re: Listener Port is 0, but QMGR runs on 1616 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
qwerty wrote: |
can somebody explain me why? |
Because the listener's been defined using runmqlsr. Probably because the queue manager's been migrated from a previous version where listeners were not objects. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Thu Jul 02, 2009 2:54 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
because
- your listener is named different
- your listener is started "outside" MQ e.g. by runmqlsr
- you are using some kind of unix and etc/services
- you are using windows and defined the listener in the MQ services or however this is named
- something else _________________ Regards, Butcher |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jul 02, 2009 2:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Mr Butcher wrote: |
- your listener is named different |
Ooo....well spotted! _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jul 02, 2009 4:10 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
And finally not to be excluded, because your admin defined a different default port (1616) for the qmgr. See the qmgr properties or the qm.ini file ...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Jul 02, 2009 5:42 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
And finally, only root can use ports below 1024.
So find and eliminate the rogue configuration.
Never trust to what the default port has be set to in the stanzas.
Always specify the port number on all CONNAMEs. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jul 02, 2009 5:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
JosephGramig wrote: |
And finally, only root can use ports below 1024.
|
I suspect the poster saw the definition for SYSTEM.DEFAULT.LISTENER.TCP which has a port of 0.
But I agree with all of your points. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|