1819870 Members
2684 Online
109607 Solutions
New Discussion юеВ

telnet localhost fails

 
brian_31
Super Advisor

telnet localhost fails

i have looked at inetd.conf and this is the entry
# grep telnet /etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd

no inetd.sec, services file fine. but in
# netstat -an | grep "\.23"

i see an established and TIME_WAIT but no LISTEN..what could be the issue?

Thanks

Brian

4 REPLIES 4
rick jones
Honored Contributor

Re: telnet localhost fails

Is there an inetd running?
there is no rest for the wicked yet the virtuous have no pillows
brian_31
Super Advisor

Re: telnet localhost fails

yes, that is what worries me..inetd is running and i also made sure the entries and also restarted it

brian
John Kittel
Trusted Contributor

Re: telnet localhost fails

is "localhost" defined in either /etc/hosts file or DNS ?
rick jones
Honored Contributor

Re: telnet localhost fails

is the telnetd binary where inetd.conf believes it to be? is it executable?

you could I suppose tusc a restart of the inetd (be sure to follow forks) and see if it even attempts to setup a listen endpoint for telnet - look for a bind() call to bind to port 23. (make the tusc trace verbose, and start inetd by hand rather than via an rc script - making sure the previous inetd is killed first - which should not kill services launched by it but if this is production, perhaps better to wait :)

or maybe a touching of inetd.conf and tuscing the inetd pid when you do the inetd -c
there is no rest for the wicked yet the virtuous have no pillows