NSLU2-Linux
view · edit · print · history

Please refer to the Vsftpd page first. (That page is password locked, so posting here)

http://www.nslu2-linux.org/wiki/Optware/Vsftpd

For VSFTPD version 2.1.2-2 the default vsftpd.conf has a couple of problems.

1) You MUST include a line:

   listen=NO

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:

'500 OOPS: could not bind listening IPv4?'

and you can't connect to the ftp server.

from the man page:

_______________________________________________________

listen

    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.

    Default: YES

________________________________________________________

notice that the default is yes.

This took place when v2.1.0 released. "- FC10? patch (vsftpd-2.0.6-listen.patch): default listen to YES"

(from changelog)

Previous versions of vsftpd for NSLU2 UnSlung? didn't have this happen even though a 'listen' line was not included the default vsftpd.conf

Also incorrect in the default vsftpd.conf is the line:

xferlog_file=/opt/var/log/vsftpd.log

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:

vsftpd_log_file=/opt/var/log/vsftpd.log

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.

view · edit · print · history · Last edited by SRS.
Originally by SRS.
Page last modified on June 21, 2009, at 11:17 PM