I'm trying to run the simplest tftp daemon via xinetd and I couldn't get it to work so far. Could you please help.
here's my /etc/xinetd.d/tftp
Code: Select all
service tftp
{
protocol = udp
socket_type = dgram
wait = yes
user = nobody
group = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
log_type = SYSLOG authpriv info
log_on_success = HOST PID USERID
log_on_failure = HOST
disable = no
}
Code: Select all
defaults
{
only_from = localhost
instances = 60
log_type = SYSLOG authpriv info
# log_type = FILE /var/log/servicelog
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
Code: Select all
May 11 15:36:16 gentoo xinetd[7578]: Reading included configuration file: /etc/xinetd.d/chargen-tcp [file=/etc/xinetd.conf] [line=18]
May 11 15:36:16 gentoo xinetd[7578]: Reading included configuration file: /etc/xinetd.d/chargen-udp [file=/etc/xinetd.d/chargen-udp] [line=13]
May 11 15:36:16 gentoo xinetd[7578]: Reading included configuration file: /etc/xinetd.d/cups-lpd [file=/etc/xinetd.d/cups-lpd] [line=14]
May 11 15:36:16 gentoo xinetd[7578]: Reading included configuration file: /etc/xinetd.d/cvspserver [file=/etc/xinetd.d/cvspserver] [line=13]
May 11 15:36:16 gentoo xinetd[7578]: Reading included configuration file: /etc/xinetd.d/daytime-tcp [file=/etc/xinetd.d/daytime-tcp] [line=14]
May 11 15:36:16 gentoo xinetd[7578]: Reading included configuration file: /etc/xinetd.d/daytime-udp [file=/etc/xinetd.d/daytime-udp] [line=13]
May 11 15:36:16 gentoo xinetd[7578]: Reading included configuration file: /etc/xinetd.d/echo-tcp [file=/etc/xinetd.d/echo-tcp] [line=14]
May 11 15:36:16 gentoo xinetd[7578]: Reading included configuration file: /etc/xinetd.d/echo-udp [file=/etc/xinetd.d/echo-udp] [line=13]
May 11 15:36:16 gentoo xinetd[7578]: Reading included configuration file: /etc/xinetd.d/swat [file=/etc/xinetd.d/swat] [line=14]
May 11 15:36:16 gentoo xinetd[7578]: Reading included configuration file: /etc/xinetd.d/tftp [file=/etc/xinetd.d/tftp] [line=17]
May 11 15:36:16 gentoo xinetd[7578]: Reading included configuration file: /etc/xinetd.d/time-tcp [file=/etc/xinetd.d/time-tcp] [line=14]
May 11 15:36:16 gentoo xinetd[7578]: Reading included configuration file: /etc/xinetd.d/time-udp [file=/etc/xinetd.d/time-udp] [line=13]
May 11 15:36:16 gentoo xinetd[7578]: removing chargen
May 11 15:36:16 gentoo xinetd[7578]: removing chargen
May 11 15:36:16 gentoo xinetd[7578]: removing printer
May 11 15:36:16 gentoo xinetd[7578]: removing cvspserver
May 11 15:36:16 gentoo xinetd[7578]: removing daytime
May 11 15:36:16 gentoo xinetd[7578]: removing daytime
May 11 15:36:16 gentoo xinetd[7578]: removing echo
May 11 15:36:16 gentoo xinetd[7578]: removing echo
May 11 15:36:16 gentoo xinetd[7578]: removing swat
May 11 15:36:16 gentoo xinetd[7578]: removing time
May 11 15:36:16 gentoo xinetd[7578]: removing time
May 11 15:36:16 gentoo xinetd[7578]: xinetd Version 2.3.13 started with libwrap loadavg options compiled in.
May 11 15:36:16 gentoo xinetd[7578]: Started working: 1 available service
Code: Select all
% ps aux I also tried the commented out:
Code: Select all
# log_type = FILE /var/log/servicelog I'm really out of ideas. Hope you can help.
Thanks,
Bahadir


