fedora17怎么搭建tftp

wanxj 发布于 2013/08/18 20:52
阅读 572
收藏 0

最近在学习嵌入式需要搭建tftp服务器,下面是按照教程的步骤:

 1.yum install tftp

   yum install xinetd

    yum install tftp-server  //添加源

2.vim /etc/xinetd.d/tftp

  修改server_args = -s /tftpboot -c

       disable        = no

3.mkdir /tftpboot    //创建tftpboot目录

4.chmod 777 -R /tftpboot   //更改权限

5.重启计算机

 

 

然后就出现错误了

6.执行service tftp restart

错误如下:Redirecting to /bin/systemctl restart  tftp.service
              Job for tftp.service failed. See 'systemctl status tftp.service' and 'journalctl -xn' for details.

7.于是根据提示运行systemctl status tftp.service,结果如下:

tftp.service - Tftp Server
   Loaded: loaded (/usr/lib/systemd/system/tftp.service; static)
   Active: failed (Result: resources)

 

 

8.根据步骤6的提示运行'journalctl -xn',结果如下:

8月 18 20:25:10 localhost.localdomain systemd[1]: Starting Tftp Server...
8月 18 20:25:10 localhost.localdomain systemd[1]: tftp.service failed to run...
8月 18 20:25:10 localhost.localdomain systemd[1]: Failed to start Tftp Server.
8月 18 20:25:10 localhost.localdomain systemd[1]: Unit tftp.service entered ...

 

[root@localhost ~]# journalctl -xn
-- Logs begin at 一 2013-08-19 04:22:12 CST, end at 一 2013-08-19 04:22:16 CST.
8月 18 20:29:36 localhost.localdomain sendmail[2378]: starting daemon (8.14.5):
8月 18 20:29:36 localhost.localdomain systemd[1]: PID file /run/sendmail.pid not
8月 18 20:29:36 localhost.localdomain systemd[1]: Started Sendmail Mail Transpor
-- Subject: Unit sendmail.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Logs begin at 一 2013-08-19 04:22:12 CST, end at 一 2013-08-19 04:22:16 CST.
8月 18 20:29:36 localhost.localdomain sendmail[2378]: starting daemon (8.14.5):
8月 18 20:29:36 localhost.localdomain systemd[1]: PID file /run/sendmail.pid not
8月 18 20:29:36 localhost.localdomain systemd[1]: Started Sendmail Mail Transpor
-- Subject: Unit sendmail.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit sendmail.service has finished starting up.
--
-- The start-up result is done.
8月 18 20:29:36 localhost.localdomain systemd[1]: Starting Sendmail Mail Transpo
-- Subject: Unit sm-client.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit sm-client.service has begun starting up.
8月 18 20:29:36 localhost.localdomain chronyd[587]: Source 218.75.4.130 offline
8月 18 20:29:36 localhost.localdomain chronyd[587]: Source 202.112.31.197 offlin
8月 18 20:29:36 localhost.localdomain sm-msp-queue[2408]: starting daemon (8.14.
8月 18 20:29:36 localhost.localdomain systemd[1]: Started Sendmail Mail Transpor
-- Subject: Unit sm-client.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit sm-client.service has finished starting up.
--
-- The start-up result is done.
8月 18 20:30:04 localhost.localdomain setroubleshoot[2052]: auto_save database (
8月 18 20:30:04 localhost.localdomain setroubleshoot[2052]: writing database (/v
lines 8-30/30 (END)

 

请问有哪位高手能帮我分析一下这是什么原因吗?谢了

 

加载中
返回顶部
顶部