Author |
Message
|
navjotkaur78 |
Posted: Tue May 09, 2006 2:30 am Post subject: Problem in MQ listener. |
|
|
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 |
|
 |
Nigelg |
Posted: Tue May 09, 2006 2:34 am Post subject: |
|
|
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 |
|
 |
navjotkaur78 |
Posted: Tue May 09, 2006 2:51 am Post subject: |
|
|
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 |
|
 |
mvic |
Posted: Tue May 09, 2006 3:20 am Post subject: |
|
|
 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 |
|
 |
navjotkaur78 |
Posted: Tue May 09, 2006 3:36 am Post subject: |
|
|
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 |
|
 |
navjotkaur78 |
Posted: Tue May 09, 2006 3:50 am Post subject: |
|
|
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 |
|
 |
navjotkaur78 |
Posted: Tue May 09, 2006 3:58 am Post subject: |
|
|
Apprentice
Joined: 09 Feb 2006 Posts: 31
|
hey its working!!! thanx all of u especially "Nigelg"..
thanx a lot |
|
Back to top |
|
 |
|