I am using Ubuntu 13.04 on my VPS. I have installed vsftpd from this command:
sudo apt-get install vsftpd
with the following configuration:
anonymous_enable=NO
local_enable=YES
write_enable=YES
chroot_local_user=YES
use_localtime=YES
and the other default configurations. When I connect to FTP using any client, it gives this error:
OOPS:500: CHILD DIED
P.S.: I mistakenly deleted a file called ftpusers in /etc and I don't know if it's causing the problem. I purged and reinstalled vsftpd, but I'm still getting the same error.
I also tried restarting Apache and vsftpd.
The contents of the ftpusers file is:
# /etc/ftpusers: list of users disallowed FTP access. See ftpusers(5).
root
daemon bin
sys
sync
games
man
lp
mail
news uucp
nobody
Permissions and owner of ftpuser are:
-rw-r--r-- 1 root root 132 May 16 2013 /etc/ftpusers
I am connecting to FTP from user ash
.
Best Answer
This article suggests a few solutions. The summary is: