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 listener questions

Post new topic  Reply to topic
 MQ listener questions « View previous topic :: View next topic » 
Author Message
mqsme
PostPosted: Fri May 15, 2015 11:17 am    Post subject: MQ listener questions Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Fri May 15, 2015 11:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri May 15, 2015 11:22 am    Post subject: Re: MQ listener questions Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri May 15, 2015 11:23 am    Post subject: Reply with quote

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
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 listener questions
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.