LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tftpd doesnot start (https://www.linuxquestions.org/questions/linux-newbie-8/tftpd-doesnot-start-843214/)

divyashree 11-09-2010 07:40 AM

tftpd doesnot start
 
tftpd doesnot start with xinetd ,unable to catch where the error is ?

iamwilliam 11-10-2010 01:38 AM

Hi,

Have you tried starting xinetd from the terminal with debug option. This will let you see exactly what the error is

Code:

xinetd -d
Provide the debug output if you need further assisstance.

divyashree 11-10-2010 02:05 AM

It shows tftp is started ,but I am not getting the tftp service entry in ps list or in netstat list and its showing tftp error during pxeboot.




Code:

xinetd -d




10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/chargen-dgram [file=/etc/xinetd.conf] [line=49]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/chargen-stream [file=/etc/xinetd.d/chargen-stream] [line=67]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/cvs [file=/etc/xinetd.d/cvs] [line=67]
10/11/10@13:28:28: WARNING: 6417 {identify_attribute} attribute user expects 1 values and 3 values were specified [file=/etc/xinetd.d/cvs] [line=13]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/daytime-dgram [file=/etc/xinetd.d/daytime-dgram] [line=20]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/daytime-stream [file=/etc/xinetd.d/daytime-stream] [line=67]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/discard-dgram [file=/etc/xinetd.d/discard-dgram] [line=67]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/discard-stream [file=/etc/xinetd.d/discard-stream] [line=67]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/echo-dgram [file=/etc/xinetd.d/echo-dgram] [line=67]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/echo-stream [file=/etc/xinetd.d/echo-stream] [line=67]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/eklogin [file=/etc/xinetd.d/eklogin] [line=67]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/ekrb5-telnet [file=/etc/xinetd.d/ekrb5-telnet] [line=13]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/gssftp [file=/etc/xinetd.d/gssftp] [line=14]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/klogin [file=/etc/xinetd.d/klogin] [line=14]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/krb5-telnet [file=/etc/xinetd.d/krb5-telnet] [line=13]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/kshell [file=/etc/xinetd.d/kshell] [line=13]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/nrpe [file=/etc/xinetd.d/nrpe] [line=13]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/rmcp [file=/etc/xinetd.d/rmcp] [line=16]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/rsync [file=/etc/xinetd.d/rsync] [line=34]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/tcpmux-server [file=/etc/xinetd.d/tcpmux-server] [line=12]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/tftp [file=/etc/xinetd.d/tftp] [line=68]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/time-dgram [file=/etc/xinetd.d/time-dgram] [line=19]
10/11/10@13:28:28: DEBUG: 6417 {handle_includedir} Reading included configuration file: /etc/xinetd.d/time-stream [file=/etc/xinetd.d/time-stream] [line=67]
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing chargen
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing chargen
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing cvspserver
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing daytime
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing daytime
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing discard
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing discard
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing echo
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing echo
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing eklogin
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing telnet
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing ftp
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing klogin
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing telnet
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing kshell
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing asf-rmcp
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing asf-secure-rmcp
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing rsync
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing tcpmux
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing time
10/11/10@13:28:28: DEBUG: 6417 {remove_disabled_services} removing time
Service defaults
        Instances = 50
        Groups = yes
        umask = 2
        CPS = max conn:50 wait:10
        PER_SOURCE = 10
        Bind = All addresses.
        Only from: All sites
        No access: No blocked sites
        Logging to syslog. Facility = daemon, level = info
        Log_on_success flags = HOST DURATION EXIT PID
        Log_on_failure flags = HOST

Service configuration: nrpe
        id = nrpe
        flags = REUSE IPv4
        socket_type = stream
        Protocol (name,number) = (tcp,6)
        port = 5666
        wait = no
        user = 501
        group = 501
        Groups = yes
        umask = 2
        PER_SOURCE = 10
        Bind = All addresses.
        Server = /usr/local/nagios/bin/nrpe
        Server argv = nrpe -c /usr/local/nagios/etc/nrpe.cfg --inetd
        Only from:  127.0.0.1(NUMERIC) 192.168.0.4(NUMERIC)
        No access: No blocked sites
        Logging to syslog. Facility = daemon, level = info
        Log_on_success flags = HOST DURATION EXIT PID
        Log_on_failure flags = HOST USERID

Service configuration: tftp
        id = tftp
        flags = IPv4
        socket_type = dgram
        Protocol (name,number) = (udp,17)
        port = 69
        wait = yes
        user = 0
        Groups = yes
        umask = 2
        CPS = max conn:100 wait:2
        PER_SOURCE = 11
        Bind = All addresses.
        Server = /usr/sbin/in.tftpd
        Server argv = in.tftpd -s /tftpboot
        Only from: All sites
        No access: No blocked sites
        Logging to syslog. Facility = daemon, level = info
        Log_on_success flags = HOST DURATION EXIT PID
        Log_on_failure flags = HOST

10/11/10@13:28:28: ERROR: 6417 {activate_normal} bind failed (Address already in use (errno = 98)). service = nrpe
10/11/10@13:28:28: ERROR: 6417 {cnf_start_services} Service nrpe failed to start and is deactivated.
10/11/10@13:28:28: DEBUG: 6417 {cnf_start_services} Started service: tftp
10/11/10@13:28:28: DEBUG: 6417 {cnf_start_services} mask_max = 6, services_started = 1
10/11/10@13:28:28: NOTICE: 6417 {main} xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
10/11/10@13:28:28: NOTICE: 6417 {main} Started working: 1 available service
10/11/10@13:28:28: DEBUG: 6417 {main_loop} active_services = 1



All times are GMT -5. The time now is 08:17 PM.