[syslinux] tftpd error message (File not found)

Matthew J Fletcher mfletcher at serck-controls.co.uk
Fri Mar 12 08:21:16 PST 2004


when i look in my syslog i see.

Mar 12 04:40:49 linuxdev in.tftpd[15218]: RRQ from filename 
Mar 12 04:40:49 linuxdev in.tftpd[15218]: sending NAK (1, File not found) to

here my client has asked for a file, and tftpd has said that it does not exist 
in its path (or cannot access it).

looking in the tftpd.c (from 0.36) i see that on line 779 this error can be 

      ecode = (*pf->f_validate)(filename, tp_opcode, pf, &errmsgptr);
      if (ecode) {
	nak(ecode, errmsgptr);

i run the tftpd server from xinetd as root, so it cannot be a permissions 
problem (i believe ?).

service tftp
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -vvvvv -s /home/scxnucleus/ScxV6 -T 4000000 
-r blksize -r blksize2 -r tsize -r timeout -r utimeout
        disable                 = no

also if i restart the tftpd service '/etc/inet.d/xinetd restart'

the client can then load the file correctly, and i see in syslog

RRQ from filename scx.elf.gz



Matthew J Fletcher
Embedded Software
Serck Controls Ltd

Serck Controls Ltd, Rowley Drive, Coventry, CV3 4FH, UK
Tel: 44 (0) 24 7630 5050   Fax: 44 (0) 24 7630 2437
Web: www.serck-controls.com  Admin: post at serck-controls.co.uk
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the above.  Any views or opinions presented are solely those of the
author and do not necessarily represent those of Serck Controls Ltd.
Please note that Serck Controls Ltd is able to, and reserves the right
to, monitor e-mail communications passing through its network.
This email has been checked for viruses.  Serck Controls Ltd shall not
be responsible for damage caused by any undetected virus.
Serck Controls Ltd is a subsidiary of Serck Controls Pty. Ltd.
Registered in England No. 4353634.

This message has been checked for all known viruses by MessageLabs

More information about the Syslinux mailing list