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