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. Thoughts? Thanks |
Looking in the log, I think I found the problem, but don't know how to fix it.
"kernal: pure-ftpd[port]: segfault at [address1] ip [address2] sp [address3] error 6 in pure-ftpd[8048000+22000]" Examples: port: 9931 address1: bf784c80 address2: 0805423d address2: bf784c80 port: 8710 address1: bf597aa0 address2: 0805423d address3: bf597aa0 Thoughts? |
Ok, so after some more digging, it turns out that it isn't just me who is having this problem... someone messed up the build that is in the OSS repo.
http://forums.opensuse.org/network-i...ml#post1835456 The link that Ben posted is now out-of-date. Here is the directory of the SUSE_Factory: http://download.opensuse.org/reposit..._Factory/i586/ I just downloaded & installed using "Install Software" -- note: do NOT install with the "Install with YAST" option, as it'll go out & get the Repo version 9since it is newer). Uninstall the Repo version before installing this one. |
All times are GMT -5. The time now is 03:35 AM. |