免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2777 | 回复: 15
打印 上一主题 下一主题

请教:telnetd [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-27 11:19 |只看该作者 |倒序浏览
busybox自带的telnetd,启动inetd后,能看到23号端口在监听,
但别处telnet板子后出现提示:telnetd: bind: Address already in use
请赐教!谢!

论坛徽章:
0
2 [报告]
发表于 2006-07-27 23:33 |只看该作者
恕俺寡闻,没听说过你用的那种发行版,你的问题也是第一次遇见。顶一个。

论坛徽章:
0
3 [报告]
发表于 2006-07-28 08:33 |只看该作者
我是准备在板子上开telnet服务,在busybox编译时选中了telnetd,
在板子上启动telnet服务后,别处telnet板子就出现提示信息:telnetd: bind: Address already in use
还请各位兄弟不吝赐教!谢!

论坛徽章:
0
4 [报告]
发表于 2006-07-28 10:22 |只看该作者
another version of telnetd is already listening on your system.

"netstat -anp" will show the process & prcess ID. Likely it's "inetd" or "xinted".

[ 本帖最后由 chinaux 于 2006-7-28 10:23 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2006-07-28 12:12 |只看该作者
关键在于我就是通过inetd启动telnetd的,怎么也搞不明白Address already in use?

论坛徽章:
0
6 [报告]
发表于 2006-07-28 13:58 |只看该作者
"Address already in use?" means the port is in use.

"lsof -i tcp:23" can also show the process which is using the port 23.

论坛徽章:
0
7 [报告]
发表于 2006-08-01 15:25 |只看该作者
chinaux兄弟,照你的方法,我用lsof看后,得出的结果是:
COMMAND PID USER   FD   TYPE DEVICE SIZE NODE NAME
inetd    94 root    4u  IPv4    903       TCP *:telnet (LISTEN)
似乎只有inetd占用23端口啊?该如何是好!

论坛徽章:
0
8 [报告]
发表于 2006-08-01 15:28 |只看该作者
会不会telnetd已经启动了你再启动多次

论坛徽章:
0
9 [报告]
发表于 2006-08-01 16:21 |只看该作者
comment out telnet on /etc/inetd.conf (add "#" at the beginning of the line), and then "kill -1 94" will free up 23/tcp

论坛徽章:
0
10 [报告]
发表于 2006-08-01 17:17 |只看该作者
ps -A | grep telnetd;
kill -9 it
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP