[SOLVED] FTP cancels download

  • Hi
    I have a problem with my ftp server.
    If a user starts a download, he will be kicked after 600 seconds of downloading.


    The system log says:
    :User login successful.
    :Datatransfer stall timeout: 600 seconds
    :FTP session closed


    The FTP is working with SSL.
    And the Timelimit is on 0.


    So why is the FTP kicking the user out after 600 seconds of downloading ?
    The Data's are about 8-10GB.


    Any ideas ?

    Einmal editiert, zuletzt von Ego ()

  • Yes that looks like my problem.
    But what can be the solution for my problem?
    Should i set a high time instead of the 0 ?

  • I can tell you with a vsftp server the connection will close to the server, after a period of inactivity, but the passive port will remain open if there is data being transferred. So it may be normal what you ave seeing. Have you checked to see if data is still being transferred?

  • Hey
    Thanks for your answer.
    Yes, till the poínt of disconnect the Data has been downloaded with the full upload speed.
    But why is the server not able to send the data anymore?
    There is no setting in the OMV which could be the reason for that disconnect. (in my opinion)


    Do you think that the reson for this fault coud be the router ?
    the aktiv port and the passiv ports are set in the router.

  • Would it be possible for you to upload:


    your proftd configuration file: /etc/proftpd/proftpd.conf
    the proftpd log: /var/log/proftpd/proftpd
    and the transfer log: /var/log/xferlog


    It seems very strange to me that you are getting a data timeout stalled error when the data connection is open.

  • :shock: ok i locked in as root (in shell)
    and tryed it with /etc/proftpd/proftpd.conf , but it says that i have no permision.
    When i try /var/log/proftpd/proftpd it says data and foulder not found.
    When i try /var/log/xferlog, there i have also no permision as root ???
    What the hell is wrong with my NAS :?:

  • Once you have logged in as root, what is the output of $groups root


    It should say something like root: root.


    Regardless, root should be the owner of /var/log so it seems very strange, it could be permissions corruption; otherwise your log files could be stored elsewhere.


    Is this a standard OMV install, or did you install it on top of Debian Wheezy or an Ubuntu variant?

  • ok
    when written: groups root.
    It says root: root


    I installed OMV and the Plug ins, nothing else.
    No Debian and no Ubuntu.


    Thanks for your help!!

  • From ls -l / comes


    and from ls -l /var/log


  • Well the permissions look fine and nothing glaringly stands out, the files are owned by root; I cannot see why you should be able to open/download them.

    Code
    drwxr-xr-x 2 root     root         4096 13. Okt 08:31 proftpd
    ...
    -rw-r--r-- 1 root     root       283501 13. Okt 22:23 xferlog
  • i tryed it again.
    That does not work.
    Maybe i wrote it wrong:

    Code
    /etc/proftpd/proftpd.conf


    This is correct, right ?

  • Yes, that is the correct location of the file.


    on my machine for example:

  • Ok i got it.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!