免费注册 查看新帖 |

Chinaunix

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

tftpd报错:recvfrom: Socket operation on non-socket [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-11-17 21:16 |只看该作者 |倒序浏览
这是什么原因阿,我的配置如下
root@www xinetd.d]# more tftp
# default: off
# description: tftp (DARPA Trivial File Transfer Protocol) server
# securlevel: 30
service tftp
{
        disable = no
        socket_type     = dgram
        protocol        = udp
        wait            = yes
        user            = root
        server          = /usr/sbin/in.tftpd
        server_args     = -c -s /tftpboot
        per_source = 11
        cps = 100 2

}

drwxr-xrwx    2 nobody   nobody       4096 Nov 11 16:36 tftpboot/

直接重启xinetd 无告警

[root@www /]# netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 0.0.0.0:35              0.0.0.0:*               LISTEN      1138/xinetd         
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      499/httpd           
tcp        0      0 0.0.0.0:55              0.0.0.0:*               LISTEN      1138/xinetd         
udp        0      0 0.0.0.0:514             0.0.0.0:*                           400/syslogd         
udp        0      0 0.0.0.0:161             0.0.0.0:*                           492/snmpd           
udp        0      0 0.0.0.0:69              0.0.0.0:*                           1138/xinetd   

手工启动/usr/sbin/in.tftpd&

在日志里就有如题所示告警

windows,unix下测试 总是提示 timeout

iptables 默认是accept的 没问题,
这是什么原因阿,查了两天了,各位大侠救命

论坛徽章:
0
2 [报告]
发表于 2005-11-18 09:12 |只看该作者
那位大虾帮我看看哪,我顶!

论坛徽章:
0
3 [报告]
发表于 2005-11-18 09:18 |只看该作者
原帖由 active 于 2005-11-17 21:16 发表
udp        0      0 0.0.0.0:69              0.0.0.0:*                           1138/xinetd   


这样服务就算起来了

论坛徽章:
0
4 [报告]
发表于 2005-11-18 13:45 |只看该作者
可是我在winxp下
E:>tftp 61.xxx.xxx.231 put zstest0829.txt
Timeout occurred

在运行tftp的linux下测试
tftp> put /home/yuzheng/zs-2005041509.txt
Error code 2: Access violation(违反?)

这是哪里有问题啊?

drwxrwxrwx    2 nobody   nobody       4096 Nov 11 16:36 tftpboot/

其他配置同上,

论坛徽章:
0
5 [报告]
发表于 2005-11-18 19:28 |只看该作者
问题还没有解决阿,大家都没碰到过这种情况吗?
我自己顶!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP