Professional Web Applications Themes

tftp server zero-ed files sizes ? - Linux / Unix Administration

Hi, I have a weird problem with tftp looking for some pointers: Running : 2.4.21-27.0.1.EL Linux /etc/xinetd.d/tftp content: service tftp { disable = no socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -c -s /tftpboot per_source = 11 cps = 100 2 flags = IPv4 } rpm -q tftp : tftp-0.40-1 When ever I try to tftp file to it, the file will last a few secs, and then goes from what ever sizes it is to 0 bytes. chkconfig --list showed only 1 instance of tftp: on If I try ...

  1. #1

    Default tftp server zero-ed files sizes ?

    Hi, I have a weird problem with tftp looking for some pointers:
    Running : 2.4.21-27.0.1.EL Linux
    /etc/xinetd.d/tftp content:
    service tftp
    {
    disable = no
    socket_type = dgram
    protocol = udp
    wait = yes
    user = root
    server = /usr/sbin/in.tftpd
    server_args = -c -s /tftpboot
    per_source = 11
    cps = 100 2
    flags = IPv4
    }
    rpm -q tftp : tftp-0.40-1

    When ever I try to tftp file to it, the file will last a few secs,
    and then goes from what ever sizes it is to 0 bytes.
    chkconfig --list showed only 1 instance of tftp: on

    If I try to put the file twice:
    tftp server
    tftp> put a.file
    tftp> put a.file
    then the file will stick (some of the time)

    If I tried to put multiple files: a, b ,c at the same time in order,
    the content of a usually is from b, the content of b is from c, and c is zeroed byte.

    Weird behavior that I couldn't seem to google for: anyone had a fix or know what's wrong ?
    Thanks.

    Guest

  2. #2

    Default Re: tftp server zero-ed files sizes ?

    homeunix.org wrote: 

    What are the permissions on the directory /tftpboot?
     

    Some of the time? TFTP uses UDP and it has no error correction
    built in. How is your network connection? If it is over a
    high latency link the line may be dropping packets.
     

    What command lines? This appears to be pilot error.

    Doug Guest

  3. #3

    Default Re: tftp server zero-ed files sizes ?

    Doug Freyburger <com> wrote: 
    >
    > What are the permissions on the directory /tftpboot?[/ref]

    /tftpboot is chmod 777
     
    >
    > Some of the time? TFTP uses UDP and it has no error correction
    > built in. How is your network connection? If it is over a
    > high latency link the line may be dropping packets.
    >[/ref]
    some of the time...meaning that depend on how "fast" i put the file and have the
    prompt back the file content might or might not stay.
    The network link has no errors that I could find.
    Files sizes doesn't appear to matter - 700 bytes to 33M - it will moved and showed
    under ls -l for a few secs...and then files sizes goes back to zero.
    It's almost as if the -c function doesn't work - yet if I pre-touch file.e and then
    put file.e, it will still goes to zero.
     
    > What command lines? This appears to be pilot error.
    >[/ref]
    command lines I used as follow:
    $ tftp server
    tftp> put file.a
    tftp> put file.b
    tftp> put file.c
    (there might be some reports back from the server as to how long it tooks after a put command)

    I'll capture and post a complete log tomorrow for anyone who could take a look.
    Thanks for your assistance.
    Guest

  4. #4

    Default Re: tftp server zero-ed files sizes ?

    homeunix.org wrote: 
    > >[/ref][/ref]
    http://lists.olug.org/pipermail/olug/2002-May/005444.html
    is essentially the same problem I am seeing..but no resolution ?

    Guest

Similar Threads

  1. Missing PDF page sizes with AutoCAD .pc3 files and AdobePDF
    By Carl_Gray@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 0
    Last Post: April 16th, 10:57 AM
  2. TFTP CLient
    By Dooley in forum Linux / Unix Administration
    Replies: 1
    Last Post: October 18th, 07:27 AM
  3. NT Authority/RPC termination, TFTP files added in startup
    By PC in forum Windows Setup, Administration & Security
    Replies: 6
    Last Post: August 14th, 12:34 AM
  4. RPC termination, TFTP files added in startup, please help!
    By Lauren in forum Windows Setup, Administration & Security
    Replies: 10
    Last Post: August 13th, 07:13 AM
  5. Help with TFTP in OS X
    By Greg in forum Mac Applications & Software
    Replies: 3
    Last Post: July 31st, 12:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139