WMQ and 1414 unable to bind to port

I have a QMgr running on a SUSE 11.1 - I start my runmqlsr under qmgr control on 1414. After a few minutes the listener dies saying that it can’t bind to port. I did a netstat -a and I see no service on 1414. I did an lsof | grep 1414 and found nothing.

So what am I missing here?:frowning:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Does your application give you any other clues? With which user are you
running? 1414 isn’t that special but maybe the application is trying to
bind it multiple times. Perhaps it’s trying to bind the wrong IP with
port 1414 due to a misconfiguration in something like /etc/hosts. Can you
get it with netcat? Post the output from:

netcat -l -p 1414 &

netstat -anp | grep :1414

Good luck.

On 02/16/2010 07:06 AM, hhjeter wrote:
>
> I have a QMgr running on a SUSE 11.1 - I start my runmqlsr under qmgr
> control on 1414. After a few minutes the listener dies saying that it
> can’t bind to port. I did a netstat -a and I see no service on 1414. I
> did an lsof | grep 1414 and found nothing.
>
> So what am I missing here?:frowning:
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJLeqePAAoJEF+XTK08PnB5Fm8P/3p1PeIZo4M8NVVu4qIVsJt0
Qt2J4hh3rRDGDhChhwW5ned8nM+1GQsuWsVWLXhbW7Grf/DT2b5jm87zRaJsDTis
x2fyybkMpaqGuqjWm3Vhc7u2g8swTLLkWrRvY8kc2TF4iZtqnUHgFFTcvbn4MbMe
nyIH1/lXqr+0L8XnPIRmJvqYPfytnsgc2ORP+ZHnazkl1YlmS4r3hwllZ+3nrsCX
CipVV2XQ0vJgc2aTWrJRHOK3uSeOXLHeg0MnnVOVxojXSJ53AW0ccVCGplBLfIht
7OWtAEPbXKYJbCKV2aW1XX1/trXx7nFCe79b8CItCkR+WItnRqlBFqRTMrJHUP2I
4B8N12uW1Q/jiWdixGY0TVbjc3XisH8uuZZ2fDnKADxnufvH57g/CzpuLRoPYeHo
mSzTv63exWgk964rmHHjcoP8dgQLD9vp2UuTNrvukbrohrVw0SDPwm7yUf6+EgwK
rWjTCKxM5X9ZHMinFhFPeWvILW+CgMukj43ANiJSLDmvdkgpsqiAL5hs6/oKuvwx
YVFpoqISCg9/DvjiEVxqncL+uN+h7LBvSdETpt4Jctd2wBnr/Xnk8yj+oTMOmQqO
0KXI+cZscpqJMsyYZNt/y++ndVGnb1Ir38x4Ke+LZibnmyMO7/aBoQFc6zh9zC5V
lN0GonA4i4CtYcqAn/7i
=0JrK
-----END PGP SIGNATURE-----

This is what MQ returns from the manual start of the listener. The AMQ9218 is The &4 listener program could not bind to port number &1.
Explanation: An attempt to bind the &4 socket to the listener port was unsuccessful.
User Response: The failure could be due to another program using the same port number. The return code from the ’&3’ call for port &5&1 was &2. Record these values and tell the systems administrator.

linux-ff14:/opt/mqm/bin # ./runmqlsr -r -m QMGR1 -t TCP -p 1414 -i 192.169.1.6
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
02/16/10 09:44:27 AMQ9218: The TCP/IP listener program could not bind to port number 1414.

but a netstat -a|grep 1414 shows no connections.

I did the netcat and the results follow as well as my /etc/hosts
netcat -l -p 1414 &
[1] 7924
netstat -anp |grep 1414
tcp 0 0 0.0.0.0:1414 0.0.0.0:* LISTEN 7924/netcat
unix 17 ] STREAM CONNECTED 14143 4028/dbus-daemon @/tmp/dbus-DVdCCK7aaY
unix 3 ] STREAM CONNECTED 14142 6224/kdesu
unix 75 ] STREAM CONNECTED 14141 3200/Xorg /tmp/.X11-unix/X0
unix 3 ] STREAM CONNECTED 14140 6224/kdesu
linux-ff14:/opt/mqm/bin #

linux-ff14:/etc # more hosts

hosts This file describes a number of hostname-to-address

mappings for the TCP/IP subsystem. It is mostly

used at boot time, when no name servers are running.

On small systems, this file can be used instead of a

“named” name server.

Syntax:

IP-Address Full-Qualified-Hostname Short-Hostname

127.0.0.1 localhost

special IPv6 addresses

::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 linux-ff14.site linux-ff14
192.168.1.6 WMQ

Any help in my resulving this issue is greatly appreciated

I found the issue, within the config of MQ. :open_mouth:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Good to hear. Thank-you for posting back.

Good luck.

On 02/16/2010 11:06 AM, hhjeter wrote:
>
> I found the issue, within the config of MQ. :open_mouth:
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJLeyK3AAoJEF+XTK08PnB5ngsP/3rK75wSymr7CDJeKoKz77vP
wBtnspKYPlJUuG+V3u0yqwL0if+CH7cE5Bl/3Rke2S4us9e7AUM944FnGRHomvmR
b/FKewricJIf41wYj92lUj/gNuPW5I1cF4mmc0/giO28yi7wP5jxhaw3r9L/mKw5
z4z2jeTs0NeHluLyKJm0mude1+10qnucTt7aD86ReT6y7P6ALzgSZJiIaNaDbfkO
TXhKOgA3l07qNSSEaxRxROL5pV4hMR6O/lwpaMiGRiY8q+IyYEzAKQyf3HLT6M0j
FNAiG74GW4w27lao4uvc1edpfDeaQmiq7cqLaYmIw3/WjZJHrf5J3AEIgWKQGkQ+
WRKCE5c/fTRiEbtctoeYlMR8leL6lLNrumEa7deYIYzqRIIXeEAE4IHianIVEUb8
m8Qlr9A+CPL3Um6Ok7QaJ1Zp99E7n8YMlBRm2el1q2HwRoi/9DsocBJAIGFh9jKV
iPm4BYfFoKXWDGbvr3Mewn4szYp7ajmjQmMD6PEPAyZAVl70fH7IyTvjxlPdz5St
Uc4kGey6x3wBfG7SfP9sk3/E6pxOo4cUvSvcNMz9CTbsj/XdJiWQF4dD9wDSCK3v
+n9toAb1IQmQvTDKv2oObimsg9ZsOjSa9WuvF5PvGK5SuL2LLRBqqA/tNlFBXZ5/
56wGO8weBZSaYAwmiYAU
=m67F
-----END PGP SIGNATURE-----