Please refer to the Vsftpd page first. (That page is password locked, so posting here)
For VSFTPD version 2.1.2-2 the default vsftpd.conf has a couple of problems.
1) You MUST include a line:
This is absolutely necessary when vsftpd is run from an inetd of some kind.
This is what diversion script /unslung/rc.xinetd is for.
If you don't you will get an error like:
and you can't connect to the ftp server.
from the man page:
If enabled, vsftpd will run in standalone mode. This means that vsftpd must not be run from an inetd of some kind. Instead, the vsftpd executable is run once directly. vsftpd
itself will then take care of listening for and handling incoming connections.
notice that the default is yes.
Also incorrect in the default vsftpd.conf is the line:
which if used is ignored and your log file will be at the default location of /var/log/vsftpd.log
The correct line would be:
And please see the original (locked) Vsftpd page: http://www.nslu2-linux.org/wiki/Optware/Vsftpd
I hope this helps anyone who is having problems with VSFTPD version 2.1.2-2.