|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ listener questions |
« View previous topic :: View next topic » |
Author |
Message
|
mqsme |
Posted: Fri May 15, 2015 11:17 am Post subject: MQ listener questions |
|
|
 Acolyte
Joined: 16 Sep 2013 Posts: 51
|
Hi,
My broker program tries to write message to default queue manager and hit
MQException: MQJE001: Completion Code '2', Reason '2059'
dspmq shows the queue manager is running. listener is also running
>>
1 : dis lsstatus(*)
AMQ8631: Display listener status details.
LISTENER(mqbroker1) STATUS(RUNNING)
PID(18390)
2 : dis listener('mqbroker1')
AMQ8630: Display listener information details.
LISTENER(mqbroker1) CONTROL(QMGR)
TRPTYPE(TCP) PORT(1414)
IPADDR( ) BACKLOG(0)
DESCR( ) ALTDATE(2015-05-11)
ALTTIME(12.05.03)
ps -ef | grep runmqlsr also shows listener program is working
>>
mqm 18390 18370 0 11:41 ? 00:00:00 /opt/mqm/bin/runmqlsr -r -m mqbroker1 -t TCP -p 1414
What more interesting is in AMQERR01.LOG
>>
-------------------------------------------------------------------------------
05/15/2015 11:41:57 AM - Process(18370.1) User(mqm) Program(amqzmgr0)
Host(linux_server1)
AMQ5026: The Listener 'mqbroker1' has started. ProcessId(18390).
EXPLANATION:
The Listener process has started.
ACTION:
None.
-------------------------------------------------------------------------------
05/15/2015 11:41:58 AM - Process(18370.1) User(mqm) Program(amqzmgr0)
Host(linux_server1)
AMQ5026: The Listener 'SYSTEM.LISTENER.TCP.1' has started. ProcessId(18441).
EXPLANATION:
The Listener process has started.
ACTION:
None.
-------------------------------------------------------------------------------
05/15/2015 11:41:58 AM - Process(18441.1) User(mqm) Program(runmqlsr)
Host(linux_server1)
AMQ9255: Listener already running.
EXPLANATION:
The request to start the WebSphere MQ listener failed because there is already
a listener running against the specified network resources.
ACTION:
None.
----- amqcclxa.c : 586 --------------------------------------------------------
05/15/2015 11:41:58 AM - Process(18370.1) User(mqm) Program(amqzmgr0)
Host(linux_server1)
AMQ5027: The Listener 'SYSTEM.LISTENER.TCP.1' has ended. ProcessId(18441).
Can anyone tell me why broker fail to connect to the MQ manager,
and why is there a 'SYSTEM.LISTENER.TCP.1' trying to start? I do not recognize this 'SYSTEM.LISTENER.TCP.1' was defined anywhere.
Thanks! |
|
Back to top |
|
 |
mqjeff |
Posted: Fri May 15, 2015 11:21 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Broker doesn't use the listener, unless you are at v10 and have configured it to make client connections.
Did the broker previously work? or is this a new install/config?
either way, you probably need to delete the broker and create it again, paying extra attentio to what you set the queue manager to.
If you have two listeners starting, it's because you turned on two listeners. |
|
Back to top |
|
 |
Vitor |
Posted: Fri May 15, 2015 11:22 am Post subject: Re: MQ listener questions |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqsme wrote: |
why is there a 'SYSTEM.LISTENER.TCP.1' trying to start? I do not recognize this 'SYSTEM.LISTENER.TCP.1' was defined anywhere. |
So if you type:
Code: |
dis listener(SYSTEM.LISTENER.TCP.1) |
nothing comes up? Just because (and no-one who by rights should be defining such things) has defined it does not mean it's not defined to the queue manager are trying to start. The queue manager certainly seems to think it's defined.
As to the 2059, have you checked all the usual non-WMQ causes for such a problem? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Fri May 15, 2015 11:23 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Broker doesn't use the listener, unless you are at v10 and have configured it to make client connections. |
Doh!
Friday pm - time to  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|