Knowledge Base : Enable tftpd Solaris10

How to enable tftpd in Solaris 10

The shortest way is to create a pseudy line in /etc/inetd.conf:

  1. TFTPD – tftp server (primarily used for booting)
    tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot

..and then use inetconv:

inetconv -f

On our systems, we got:

root@vdi0-0 VDI /root# svcs -a | grep tftp
maintenance 0:08:24 svc:/network/tftp/udp6:default

dmesg showed:

Oct 21 00:13:39 vdi0-0 inetd533: ID 702911 daemon.error Property ‘proto’ of instance svc:/network/tftp/udp6:default is missing, inconsistent or invalid
Oct 21 00:13:39 vdi0-0 inetd533: ID 702911 daemon.error Invalid configuration for instance svc:/network/tftp/udp6:default, placing in maintenance

Solution:

nsswitch.conf was incorrectly configured by “ldapclient”, or, depending on the way you look at it, entries in OID/LDAP ware incorrect.

Make sure it reads like:

protocols: files
rpc: files

…and you get:

root@vdi0-0 VDI /root# svcs -a | grep tftp
online 0:19:56 svc:/network/tftp/udp6:default

See also: discussion at Der Keiler