I'm running Arch Linux with kernel 2.6.35-ec2. I've got the most recent version of VSFTPD installed and running. Here is its log file:
anonymous_enable=YES
local_enable=YES
write_enable=YES
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
This isn't my final config, but it's what I've cut it down to to get it working.
The server is on Amazon EC2, and ports 20 and 21 are open to it. There is no other firewall enabled.
I try to connect on OSX with /usr/bin/ftp
and with the Transmit
client. The former hangs for a long time and eventually says the connection timed out. The latter only takes about ten seconds to say that the connection timed out. I've tried specifying ports 20 and 21.
There's nothing in any of the normal Arch Linux log files such as auth.log and everything.log. /var/log/vsftpd.log
doesn't even exist.
Can anyone help me figure out where to even begin with this? The Arch Linux wiki and what other reading I have done suggest that this is a de facto standard lightweight FTP server.
ps auwx | grep ftp
- or are you running it via xineted? Is anything listening on port 21:netstat -pant | grep 21
ps auwx
. If I start it with/etc/rc.d/vsftpd start
, and try to stop, it fails. If I start then start immediately again, it works. I guess it's crashing. I can't see why..sudo vsftpd
. It is most likely an error in /etc/vsftpd.conf or it cannot write to /var/log/vsftp.log. What user does it run as normally?tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN -
. However, I still can't connect, and there's still no log. I'm running it as root at the moment; I don't know what user it runs as by default.ftp 127.0.0.1
(from EC2)