home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux      Getting to be as bloated as Windows!      107,822 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 107,296 of 107,822   
   Theo to Java Jive   
   Re: Problems with tftp & tftpd on Ubuntu   
   16 May 25 20:15:01   
   
   XPost: uk.comp.os.linux   
   From: theom+news@chiark.greenend.org.uk   
      
   In uk.comp.os.linux Java Jive  wrote:   
   > That's odd, I've not changed anything since this morning, except that I   
   > shut down the PC when I went out for a walk, but the behaviour has   
   > changed slightly since then:   
   >   
   > user@Computer:/home$ tftp localhost   
   > tftp> get test.txt   
   > Transfer timed out.   
   >   
   > tftp> q   
   >   
   > ... resulting in a 0-length file in my home folder, and now when I check   
   > syslog, whereas previously it had been unhelpfully free of anything   
   > relevant, now I see the following 5 times ...   
   >   
   > May 16 17:17:09 Computer xinetd[1991]: execv( /usr/sbin/tcpd ) failed:   
   > No such file or directory (errno = 2)   
   >   
   > ... and indeed the following doesn't find tcpd anywhere at all on the   
   > system partition:   
   >   
   > user@Computer:/home$ sudo find / -xdev -name tcpd   
   >   
      
   So it looks like you've configured tftpd in both inetd.conf and xinetd.conf,   
   and the one in inetd.conf has taken priority but isn't working.  According   
   to the man page the inetd.conf format has the following fields, tab or space   
   separated, one service per line:   
      
   service name   
   socket type   
   protocol[,sndbuf=size][,rcvbuf=size]   
   wait/nowait[.max]   
   user[.group] or user[:group]   
   server program   
   server program arguments   
      
   It looks like you're trying to run a server command:   
   "/usr/sbin/tcpd /usr/sbin/in.tftpd /srv/tftp"   
      
   tcpd was a very old way to do access control, ie allow/deny certain hosts.   
   Nowadays you'd do that in the firewall.  That's probably why you don't have   
   that binary.   
      
   Also that command is setting the root of your TFTP files to be /srv/tftp and   
   I think you want it to be /home/tftpboot   
      
   I think you need to remove one or other of the inetd.conf and xinetd.conf as   
   otherwise you're trying to start the service twice.  Try deleting the   
   inetd.conf line, rebooting and trying again?   
      
   Theo   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca