You are not logged in.

#1 2015-05-15 03:50:42

garasubo
Member
Registered: 2015-05-15
Posts: 1

Fail to start tftp daemon

I use tftpd-hpa.
I tried to start tftp daemon but failed as follow:

$ sudo systemctl start tftpd.service  
Job for tftpd.service failed. See "systemctl status tftpd.service" and "journalctl -xe" for details.

I saw the journal:

$ journalctl -u tftpd -b        
-- Logs begin at 金 2015-02-27 00:28:49 JST, end at 金 2015-05-15 12:16:00 JST. --
 5月 15 12:15:54 Boreas systemd[1]: Got more than one socket.
 5月 15 12:15:54 Boreas systemd[1]: tftpd.service failed to run 'start' task: Inv
 5月 15 12:15:54 Boreas systemd[1]: Failed to start hpa's original TFTP daemon.
 5月 15 12:15:54 Boreas systemd[1]: Unit tftpd.service entered failed state.
 5月 15 12:15:54 Boreas systemd[1]: tftpd.service failed.
 5月 15 12:15:54 Boreas systemd[1]: Starting hpa's original TFTP daemon...
...skipping...

I restarted tftpd.socket but that was no effect.
Could anyone tell me how to fix this problem?

Offline

#2 2016-02-22 19:14:09

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Fail to start tftp daemon

The error seems come from the fact that you try to enable 2 systemd socket service that try to listen the same port (69). You either need:
1) Disable one of the socket services
2) Change port number for on of the services

Please confirm it and update your wiki changes.


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

Board footer

Powered by FluxBB