tftp claims: "no such file or directory"
This document (7023207) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)
SUSE Linux Enterprise Server 11 Service Pack 4 (SLES 11 SP4)
SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)
Situation
Filename: pxelinux.0
tftp://172.17.0.13/pxelinux.0... No such file or directory (http://ipxe.org/2d12603b)
mytftpserver:/srv/tftpboot # ls -l pxelinux.0
lrwxrwxrwx 1 root root 29 25. Jul 10:01 pxelinux.0 -> /srv/tftpboot/test/pxelinux.0
smt:/srv/tftpboot #
Resolution
mytftpserver:/srv/tftpboot # ln -s test/pxelinux.0 pxelinux.0
mytftpserver:/srv/tftpboot # ls -l pxelinux.0
lrwxrwxrwx 1 root root 15 25. Jul 10:11 pxelinux.0 -> test/pxelinux.0
mytftpserver:/srv/tftpboot #
Cause
/etc/xinet.d/tftp:
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
flags = IPv6 IPv4
user = root
server = /usr/sbin/in.tftpd
server_args = -u tftp -s /srv/tftpboot
disable = no
}
Using absolute path names in links will end up in a "No such file or directoy" message as the absolute name cannot be found.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7023207
- Creation Date: 25-Jul-2018
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com