Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.