Skip to content

tftp did not start

Firefly (CentOS 7) has this config:

    include tftp::defaultroot
    class { 'tftp::server':
        tftproot => $tftp::defaultroot::tftproot,
	clients  => [
            $nscnets::serenity,
            $nscnets::nsc_lhcopn,
        ],
    }

But tftp was not available to the clients. systemctl reported:

[root@firefly ~]# systemctl status tftp
● tftp.service - Tftp Server
   Loaded: loaded (/usr/lib/systemd/system/tftp.service; indirect; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:in.tftpd

[root@firefly ~]# systemctl status xinetd
● xinetd.service - Xinetd A Powerful Replacement For Inetd
   Loaded: loaded (/usr/lib/systemd/system/xinetd.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2021-05-06 17:28:15 CEST; 1 months 12 days ago
 Main PID: 1630 (xinetd)
   CGroup: /system.slice/xinetd.service
           └─1630 /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid

I had to do this to be able to kickstart my machine:

[root@firefly ~]# systemctl start tftp
[root@firefly ~]# systemctl status tftp
● tftp.service - Tftp Server
   Loaded: loaded (/usr/lib/systemd/system/tftp.service; indirect; vendor preset: disabled)
   Active: active (running) since Fri 2021-06-18 15:02:43 CEST; 1s ago
     Docs: man:in.tftpd
 Main PID: 24946 (in.tftpd)
   CGroup: /system.slice/tftp.service
           └─24946 /usr/sbin/in.tftpd -s /var/lib/tftpboot

Jun 18 15:02:43 firefly.serenity.nsc.liu.se systemd[1]: Started Tftp Server.
Edited by Jens Larsson