tftp server issue under UBUNTU 10.04

0 views
Skip to first unread message

Su Wang

unread,
Sep 2, 2010, 2:11:51 AM9/2/10
to sh...@googlegroups.com
Hi all,
遇到一个tftp server配置的奇怪问题:
刚开始安装了tftp hpa 和tftpd hpa,配置了xintd等service,在KVM环境中tftp client可以get文件,但是不能put;然后根据网上查到的经验,配置了/etc/某文件夹/tftp之后,可以put了。
但是重启ubunu后还是不能put,而且安装之前的方法配置也无效。
有次问题的解决办法吗?

wd

unread,
Sep 2, 2010, 6:41:24 AM9/2/10
to sh...@googlegroups.com
重启系统 xintd 没起来?

在 2010年9月2日 下午2:11,Su Wang <wang...@gmail.com>写道:
xintd

Su Wang

unread,
Sep 2, 2010, 10:00:26 PM9/2/10
to sh...@googlegroups.com
是否自动加载不知道,但是手动start了,iptable也手动shutdown了,真是奇怪啊
--
We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness.

章津楠

unread,
Sep 2, 2010, 10:11:30 PM9/2/10
to sh...@googlegroups.com
如果在RHEL上启动服务以后重启是不会自动启动服务,需要chkconfig tftpd on。ubuntu的话我倒是没很关注过这个问题。你可以查询一下相关的文档。那个xintd可以形象的说是一些小服务的管家,它起来就是可以管理其它小服务,而如果tftp本身没开呢?你可以查看一下。

Su Wang

unread,
Sep 2, 2010, 10:18:31 PM9/2/10
to sh...@googlegroups.com
奇怪的地方是可以get但是不能put,这说明tftp server运行起来了,查了一些maillist的类似问题贴子,解释有两种:blocked by firewall 和blocked by xintd
但是目前这两个原因貌似都可以排除

章津楠

unread,
Sep 2, 2010, 10:56:26 PM9/2/10
to sh...@googlegroups.com
你关闭iptables是怎么关闭的,是否真的已经关闭了,有时候关闭不代表真的防火墙不起作用。你可以使用iptables -L和iptables -t nat -L查看防火墙上是否还有相应的规则。如果都没有规则的话基本上不是防火墙的问题。如果有规则的话你可以使用iptables -F清除相应的规则。这样再试试!

2010/9/3 Su Wang <wang...@gmail.com>

Su Wang

unread,
Sep 2, 2010, 11:23:02 PM9/2/10
to sh...@googlegroups.com
查看了一下,tftpd-hpa is off
但是$ sudo chkconfig tftpd-hpa on会报错
///////////////////////////////////////////////////////////////////
$ sudo chkconfig tftpd-hpa
tftpd-hpa  off
$ sudo chkconfig tftp
tftp  xinetd
$ sudo iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
//////////////////////////////////////////////////////////////////////////

章津楠

unread,
Sep 3, 2010, 5:28:29 AM9/3/10
to sh...@googlegroups.com
这个的话我也实在没什么好的办法了,最后的绝招的话就是看日志。你可以查看相关的日志,具体那个日志的话你需要google一下!嘿嘿!

2010/9/3 Su Wang <wang...@gmail.com>
Reply all
Reply to author
Forward
0 new messages