Installing and Administering Internet Services
Chapter 5 245
Configuring TFTP and BOOTP Servers
Troubleshooting BOOTP and TFTP Servers
specify at least one file or directory with the tftpd command. Make sure
that you specify the full path name when attempting to get a file from a
directory specified with the tftpd command.
Symptom: File transfer fails with Access Violation, Permission Denied,orTFTP
Error Code 2 message.
Cause: tftpd does not have permission to read the file.
Action: If the transfer is a get operation where the client is attempting to read
the file from the server, then the server does not have read permissions
on the file that it is trying to send. Ensure that the file the client is
reading has read permissions for the user tftp. For example, if the client
was attempting to read the file named xterm, xterm should be mode
0400 and owned by the user tftp:
$ ll /home/tftpdir/xterm
-r-------- 1 tftp guest 438 May 10 1989 xterm
If the transfer is a put operation (which is not something a BOOTP client
will be doing as part of the BOOTP protocol), then this message means
that the file did not have sufficient write permissions for the server to
write to the file. If the server is to receive a file, it must already exist and
be writeable by the user tftp. For example, if a tftp client is sending
the file named fontlist, the file must be mode 0600 and owned by tftp:
$ ll /home/tftpdir/fonts
-rw------- 1 tftp guest 0 May 10 1989 fonts
Error Logging
This section explains the error messages that bootpd logs through
syslogd. The three levels of error logging documented in this section are
as follows:
• “Information Log Level” on page 246
• “Notice Log Level” on page 247
• “Error Log Level” on page 247
The bootpd debug level must be set for these messages to be logged. Set
the debug level using the -d option to bootpd.