LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1058|回复: 7

on状态下本机tftp都用不了...不知道为什么

[复制链接]
发表于 2004-10-23 22:09:20 | 显示全部楼层 |阅读模式
不知道为什么会这样

[root@shlinux tftpboot]# chkconfig --list | grep tftp
        tftp:   on
touch /tftpboot/bb
[root@shlinux tftpboot]# tftp localhost
tftp> get bb
Transfer timed out.
本机tftp都用不了...不知道为什么
 楼主| 发表于 2004-10-24 19:12:46 | 显示全部楼层
关于这个tftp本机不能使用...time out
那么客户端端的远程安装等一切都不能进行了....
所以请高手把帮助解决实质上的问题....
论坛上有些贴子...完全可以不必讨论的...(不要踢我哦,个人意见而已)))))))))))
谢谢各路高手,请回答一下下..给与一点小小提示..或许对我很重要哦..........
 楼主| 发表于 2004-10-24 19:51:12 | 显示全部楼层
[root@shlinux tftpboot]# netstat -al | grep ftp
tcp        0      0 *:ftp                   *:*                     LISTEN
udp        0      0 *:tftp                  *:*
[root@shlinux tftpboot]# chkconfig --list | grep tftp
        tftp:   on


udp        0      0 *:tftp                  *:*
这一行倒底有什么作用啊..告诉我们tftp 已开启了??并用了端口号??
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
为什么................
udp        0      0 *:tftp                  *:*没有状态啊...
是不是没有开启啊...
可是
chkconfig --list | grep tftp
        tftp:   on
这又是怎么回事呢???
 楼主| 发表于 2004-10-24 20:51:35 | 显示全部楼层
对了
udp本来就是没有状态的..
可是我怎么判断
tftp service 是正常在运行???
 楼主| 发表于 2004-10-24 21:09:24 | 显示全部楼层
只好顶了..........
 楼主| 发表于 2004-10-24 21:16:01 | 显示全部楼层
[root@shlinux /]# ls -ld tftpboot/
drwxrwxrwx  4 root root 4096 Oct 24 21:16 tftpboot//
[root@shlinux /]# cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
        disable = no
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -s /tftpboot
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}
[root@shlinux /]# cat /etc/services | grep tftp
tftp            69/udp
tftp            69/tcp
tftp-mcast      1758/tcp
tftp-mcast      1758/udp
[root@shlinux /]# cd /tftpboot/
[root@shlinux tftpboot]# ls
bb*        default*      initrd.img*  options.msg*  pxelinux.0*    README*      snake.msg*     vmlinuz*
boot.msg*  general.msg*  ok*          param.msg*    pxelinux.cfg/  rescue.msg*  syslinux.cfg/
[root@shlinux tftpboot]# chkconfig --list | grep tftp
        tftp:   on
[root@shlinux tftpboot]# netstat -al | grep 69
udp        0      0 *:32769                 *:*
unix  2      [ ACC ]     STREAM     LISTENING     1013001 /root/tmp/orbit-root-28a86808/linc-698-0-4fab4011efad7
unix  2      [ ACC ]     STREAM     LISTENING     1013027 /root/tmp/orbit-root-28a86808/linc-69c-0-238c2307620e5
unix  3      [ ]         STREAM     CONNECTED     1013569
unix  3      [ ]         STREAM     CONNECTED     1013244 /root/tmp/orbit-root-28a86808/linc-69c-0-238c2307620e5
unix  3      [ ]         STREAM     CONNECTED     1013169 /root/tmp/orbit-root-28a86808/linc-69c-0-238c2307620e5
unix  3      [ ]         STREAM     CONNECTED     1013139 /root/tmp/orbit-root-28a86808/linc-69c-0-238c2307620e5
unix  3      [ ]         STREAM     CONNECTED     1013034 /root/tmp/orbit-root-28a86808/linc-69c-0-238c2307620e5
unix  3      [ ]         STREAM     CONNECTED     1013030 /root/tmp/orbit-root-28a86808/linc-69c-0-238c2307620e5
unix  3      [ ]         STREAM     CONNECTED     1013004 /root/tmp/orbit-root-28a86808/linc-698-0-4fab4011efad7
unix  2      [ ]         DGRAM                    6906
[root@shlinux tftpboot]# netstat -al | grep tftp
udp        0      0 *:tftp                  *:*
有这么多信息.......
到底我哪里做错了???
 楼主| 发表于 2004-10-24 21:50:19 | 显示全部楼层
一个晚上没结果........我只好下线了...高手........版主..........黑猫,白猫...........救星.............在哪里...
帮帮我...
3Q各位..祝各位做个好梦...tftp也帮我想想啊..
 楼主| 发表于 2004-11-7 12:54:21 | 显示全部楼层
沒辦法再頂了...
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表