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 » IBM MQ Installation/Configuration Support » Problem in MQ listener.

Post new topic  Reply to topic
 Problem in MQ listener. « View previous topic :: View next topic » 
Author Message
navjotkaur78
PostPosted: Tue May 09, 2006 2:30 am    Post subject: Problem in MQ listener. Reply with quote

Apprentice

Joined: 09 Feb 2006
Posts: 31

I've 2 QM on AIX machine, one should listen on 1414 and other 1415.

in services i've entry:

mqseries 1414/tcp # mqseries
mqseries 1415/tcp # mqseries

in inetd.config i've

mqseries stream tcp nowait mqm /usr/mqm/bin/amqcrsta amqcrsta -m ACIWAS15
mqseries stream tcp nowait mqm /usr/mqm/bin/amqcrsta amqcrsta -m A25WAS18


my listener on port 1415 is running fine but not for 1414..

when i issue command " ps -ef | grep runmqlsr" I GET OUTPUT
mqm 581866 1 0 May 02 - 0:02 runmqlsr -m A25WAS18 -t TCP -p 1415
navjot 1159362 1105964 0 10:25:57 pts/0 0:00 grep runmqlsr


when i give this command " runmqlsr -t tcp -p 1414 -m ACIWAS15", it gives error
"AMQ9218: The TCP/IP listener program could not bind to port number 1414."

also when i when i stop the QM and try to stop the listener, it gives me error:

endmqlsr -w -m ACIWAS15
No WebSphere MQ listeners found for the given Queue Manager


Can anyone tell me whats wrong?


Thanx in advance
Back to top
View user's profile Send private message
Nigelg
PostPosted: Tue May 09, 2006 2:34 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

The services have the same name, so the mqseries 1415 entry overrides the mqseries 1414 entry.

Give the services different names:


mqseries1 1414/tcp # mqseries listener 1
mqseries2 1415/tcp # mqseries listener 2


mqseries1 stream tcp nowait mqm /usr/mqm/bin/amqcrsta amqcrsta -m ACIWAS15
mqseries2 stream tcp nowait mqm /usr/mqm/bin/amqcrsta amqcrsta -m A25WAS18
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
navjotkaur78
PostPosted: Tue May 09, 2006 2:51 am    Post subject: Reply with quote

Apprentice

Joined: 09 Feb 2006
Posts: 31

i did what u said and also issued command "refresh -s inetd", still getting the same output..

is there anything else i could do?
Back to top
View user's profile Send private message
mvic
PostPosted: Tue May 09, 2006 3:20 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

navjotkaur78 wrote:
i did what u said and also issued command "refresh -s inetd", still getting the same output..

is there anything else i could do?

You should expect the runmqlsr commands to fail if inetd is working properly. If inetd has bound to local ports 1414 and 1415, then runmqlsr cannot do so.

What is the output from
Code:
netstat -a | grep mqseries
Back to top
View user's profile Send private message
navjotkaur78
PostPosted: Tue May 09, 2006 3:36 am    Post subject: Reply with quote

Apprentice

Joined: 09 Feb 2006
Posts: 31

the output from "netstat -a | grep mqseries"

tcp4 0 0 *.mqseries *.* LISTEN
tcp4 0 0 a25ciwas015.mqseries a25sod014.toront.39163 ESTABLISHED
tcp4 0 0 a25ciwas015.mqseries a25sod014.toront.39164 ESTABLISHED
tcp4 0 0 a25ciwas015.mqseries a25sod014.toront.39165 ESTABLISHED
tcp4 0 0 a25ciwas015.mqseries a25sod014.toront.39166 ESTABLISHED
tcp4 0 0 a25ciwas015.mqseries a25sod014.toront.39167 ESTABLISHED
tcp4 0 0 a25ciwas015.mqseries a25sod014.toront.39168 ESTABLISHED
tcp4 0 44 a25ciwas015.mqseries a25sod014.toront.39169 ESTABLISHED
tcp4 0 0 a25ciwas015.mqseries a25sod014.toront.39170 ESTABLISHED
tcp4 0 44 a25ciwas015.mqseries a25sod014.toront.39171 ESTABLISHED
tcp4 0 44 a25ciwas015.mqseries a25sod014.toront.39172 ESTABLISHED


also there's no output from "netstat -a | grep 1414"

$ netstat -a | grep 1414
$
Back to top
View user's profile Send private message
navjotkaur78
PostPosted: Tue May 09, 2006 3:50 am    Post subject: Reply with quote

Apprentice

Joined: 09 Feb 2006
Posts: 31

also when i issue the command now

runmqlsr -t tcp -p 1414 -m ACIWAS15

its getting hangged...
Back to top
View user's profile Send private message
navjotkaur78
PostPosted: Tue May 09, 2006 3:58 am    Post subject: Reply with quote

Apprentice

Joined: 09 Feb 2006
Posts: 31

hey its working!!! thanx all of u especially "Nigelg"..


thanx a lot
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 » IBM MQ Installation/Configuration Support » Problem in MQ listener.
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.