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 Discussion » Problem starting Listener

Post new topic  Reply to topic
 Problem starting Listener « View previous topic :: View next topic » 
Author Message
sumit.jr
PostPosted: Mon Jun 04, 2007 6:05 am    Post subject: Problem starting Listener Reply with quote

Newbie

Joined: 04 Jun 2007
Posts: 3

Hi

I am attempting to start Listener on my queue manager running on AIX and I get this message. Could anyone please guide me on what the problem could be ?

AMQ9218: The TCP/IP listener program could not bind to port number 1414.

The return code from the 'bind' call for port 1414 was 67.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 04, 2007 6:10 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Mr Google say TCP code 67 is "Link has been severed".

What does netstat say (if anything) about that port, specifically what else is using it? What does the box administrator say about any firewall or other network software that's running?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Mon Jun 04, 2007 6:10 am    Post subject: Re: Problem starting Listener Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Maybe another process (another listener) is listening on this port ?
Try telnet on this port.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
sumit.jr
PostPosted: Mon Jun 04, 2007 7:41 am    Post subject: Re: Problem starting Listener Reply with quote

Newbie

Joined: 04 Jun 2007
Posts: 3

This is how I tried netstat

netstat -Aan |grep 1415

But it only gives me PCB/ADDR

PCB/ADDR Proto Recv-Q Send-Q Local Address Foreign Address (state)
f10000f0002e2b58 tcp4 0 0 *.1415 *.* LISTEN
f10000f000471b58 tcp4 0 0 10.1.222.60.1415 10.1.111.67.1147 ESTABLISHED
f10000f00022fb58 tcp4 0 0 10.1.222.60.1415 10.1.111.60.43101 ESTABLISHED


Is there a way I can find out the processes these relate to ?





Although I tried lsof -i:<Port No>

which I was not aware was installed and it did give me the processes which were using the port.

Thanks a ton for your help.

Cheers,

Sumit
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 04, 2007 7:46 am    Post subject: Re: Problem starting Listener Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sumit.jr wrote:
netstat -Aan |grep 1415


sumit.jr wrote:
AMQ9218: The TCP/IP listener program could not bind to port number 1414.


What's wrong with this picture....?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sumit.jr
PostPosted: Mon Jun 04, 2007 8:38 am    Post subject: Reply with quote

Newbie

Joined: 04 Jun 2007
Posts: 3

just a typo nothing else ....
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Mon Jun 04, 2007 6:50 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

sumit.jr wrote:
just a typo nothing else ....


OK...so what does the GREP output from 1414 say?
Back to top
View user's profile Send private message
Nigelg
PostPosted: Mon Jun 04, 2007 10:20 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Perhaps there is an entry for 1414 in /etc/services & /etc/inetd.conf. If so, the port is already bound by inetd and runmqlsr will not be able to bind to the same port. Remove the entries and restart inetd (or send it a SIGHUP) so that it re-reads the config files.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
csmith28
PostPosted: Tue Jun 05, 2007 6:51 am    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

Actually you should be able to do a:

# refresh -s inetd

once you have edited the inetd.conf file.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Jun 05, 2007 10:18 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

csmith28 wrote:
Actually you should be able to do a:

# refresh -s inetd

once you have edited the inetd.conf file.

Works on AIX only
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Problem starting 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.