SUMMARY:telnet: connection refused

From: Seth Rothenberg <SROTHENB_at_montefiore.org>
Date: Wed Dec 08 2004 - 16:24:06 EST
This is a summary - I had searched the archive, found no answer,
google no answer, but Sun Silver support did have the answer...

telnet was not working...not from any host....not even telnet
localhost...
telnet localhost got me telnet: Unable to connect to remote host:
Connection refused

ftp worked, rsh worked, ssh worked...just telnet not working, 
suggesting it is not an inetd problem.

This is a Production Server. Reboot is not an option.
Stopping and restarting inetd did not help.
This is Solaris 2.6 on Sun Enterprise 4500.


Answer:
netstat -an | grep '[.]23[ ]'  showed several sessions ESTABLISHED,
and
*.23 with status BOUND.

That's wrong.  Our other server had *.23 with state of LISTEN

ps -eaf | grep telnet showed several sessions.
Fortunately, we know that our prod server has few human users...
so I told one person to log out, found a few old sessions that
were not associated with real sessions, so I killed them,

Then I sent a HUP to inetd
kill -1 <processID>

and the problem was resolved.

Thanks Sun!


Seth
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Dec 8 16:28:27 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:40 EST