vsftp error: 500 OOPS: child died

14,278

On Unbuntu 13.10, some has reported this error and have fixed it by adding :

seccomp_sandbox=NO in vsftpd.conf

It seems this is because :

With version 3.0 of vsftpd, a new feature was introduced and it appears that this has caused problems for a few people. That feature is seccomp sandboxing and it can turned off

Further infos :

Share:
14,278

Related videos on Youtube

Hunter
Author by

Hunter

Software Engineer, love technology, music, movies, freedom, traveling. -- Do one thing, and do it well.

Updated on September 18, 2022

Comments

  • Hunter
    Hunter almost 2 years

    I installed vsftp, and then setup the config file as following:

    anonymous_enable=NO
    
    local_enable=YES
    
    write_enable=YES
    
    local_umask=022
    
    chroot_local_user=NO
    
    chroot_list_enable=YES
    
    chroot_list_file=/etc/vsftpd.chroot_list
    
    xferlog_file=/var/log/vsftpd.log
    
    anon_root=/var/ftp
    
    local_root=~
    

    and in /etc/vsftpd.chroot_list, I added the users that I allow to log in.

    and then restart service:

    service vsftpd restart

    then when I try to log in, I got this error:

    ftp> open 127.0.0.1

    Connected to 127.0.0.1.
    500 OOPS: child died

    I googled, but failed to find the answer.

    Please help, thanks!

    • krisFR
      krisFR over 10 years
      What is your OS ?
    • Hunter
      Hunter over 10 years
      ubuntu 13.10, using linode VPS.
    • krisFR
      krisFR over 10 years
      Can you try adding seccomp_sandbox=NO in your vsftpd.conf ?
    • Hunter
      Hunter over 10 years
      that works! Magic. Thanks very much! This problem bothers me for quite a long time. So, could you tell me what is this directive doing and why none of the tutorials I saw mention it?
    • krisFR
      krisFR over 10 years
      great! i've made an answer for it.
  • lepe
    lepe about 6 years
    It also works in alpine linux