Pure-FTPd 421 Connection closed by remote host
I'm really baffled by this one...
I'm running openSuSE 11.0 on a 10-year old machine. I recently setup Pure-FTPd, primarily so I could have friends & family members send me large files, without having to use a third-party service.
When I first setup Pure-FTPd, I am using PAM authentication (in addition to UNIX authentication), which was what I thought was the source of the problems I was experiencing. However, the problem even happens with "virtual" users.
I can log onto the server without an issue & obtain directory listings, create folders, and download without any issues.
When I try to upload a file, I get a "Connection closed by remote host".
This is also happening from any PC on my home network, as well as the physical machine itself that is hosting Pure-FTPd (ftp localhost).
When I ftp to localhost, the error message has error code 421, followed by the "Connection closed" message.
If I was not having this issue with localhost, I would say that it was a network configuration issue.
Doing a netstat -tan shows the following for port 21
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
As I mentioned, it is ONLY when uploading... I could understand if I couldn't issue any commands (what is really baffling is the creation of folders/directories works), but it is just on an upload.
I made myself a member of the ftp group, and that is the only group that the virtual users are set for.