vsftpd 421 data timeout

Discussion in 'Server Operation' started by Enrikoala, Feb 15, 2009.

  1. Enrikoala

    Enrikoala New Member

    Hi to all..
    I'm a newbie and I've configured a complete Linux Webserver on my company but I've still some problems.
    First of all is the one in the object.
    I'm oblayed to use vsftpd in association with PAM auth and Mysql and when I'm trying to upload files greater than 50Mb it says "421 data timeout". Anyone could help me please?? :) Thanks anyway to everyone! Enrico
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's in your vsftpd.conf? Which distribution are you using?
     
  3. Enrikoala

    Enrikoala New Member

    I'm using Ubuntu Server (Intrepid Ibex).
    Here you have the vsftpd.conf:

    listen=YES
    anonymous_enable=NO
    local_enable=YES
    write_enable=YES
    local_umask=022
    dirmessage_enable=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    nopriv_user=vsftpd
    chroot_local_user=YES
    secure_chroot_dir=/var/run/vsftpd
    pam_service_name=vsftpd
    rsa_cert_file=/etc/ssl/certs/vsftpd.pem
    guest_enable=YES
    guest_username=vsftpd
    local_root=/home/$USER
    user_sub_token=$USER
    virtual_use_local_privs=YES
    user_config_dir=/etc/vsftpd_user_conf
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Looks ok. Do you use some kind of firewall that cuts traffic after 50 MB?
     
  5. Enrikoala

    Enrikoala New Member

    ...nothing... and today I've notice that I've the same problem also in download...
     
  6. falko

    falko Super Moderator Howtoforge Staff

    No router firewall, no personal firewall on your desktop, no firewall on the server?
     
  7. Enrikoala

    Enrikoala New Member

    ...nothing...
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Have you tried both active and passive transfers in your FTP client?
     
  9. Enrikoala

    Enrikoala New Member

    Not really. What's the difference?

    I'll try... :)

    Enrico
     

Share This Page