This is my first post. I have searched through all other threads looking for an answer, so I am hopeful that one of you may have a solution. I am running Fedora 9 64bit, fresh install. I have vino/vnc running for ease of administration along with SSH. I have pure-ftpd configured and running (using the command line options: pure-ftpd -4AbBEGKHirZl puredb:/etc/pureftpd.pdb -p 50000:50100 &). My issue is this: I can connect to this server with FTP from my windows PC with CORE FTP using PASV, but I can not connect to it using ACTIVE. When I connect from command line, I get the following: (I have replaced IP replaced with XX.XX.XX.XXX) 220---------- Welcome to Pure-FTPd ---------- 220-You are user number 1 of 50 allowed. 220-Local time is now 03:03. Server port: 21. 220-This is a private system - No anonymous login 220 You will be disconnected after 15 minutes of inactivity. User (XX.XX.XX.XXXnone)): ftptestuser 331 User ftptestuser OK. Password required Password: 230-User ftptestuser has group access to: 501 230 OK. Current directory is / ftp> ftp> ftp> ls 500 I won't open a connection to 0.0.0.0 (only to XX.XX.XX.XXX) 425 No data connection ftp> I have ports 1-5000 tcp and udp open. I can FTP in to the service from the Fedora box console and connect in ACTIVE mode. What makes it even stranger is that if I shut down pure-ftpd and run vsftp I am able to connect from the Windows box using active, so it is not a firewall/network issue. I really need some of the features of pure-ftpd for the application I am using. Any suggestions would be very welcome. One note too. It took me a good deal of time to figure out why I couldn't connect in the first place. It seems that when you disable the firewall in Fedora 9 64bit, it clamps down on FTP.
Thanks for your reply - here is more info: There are no errors in the log: Oct 27 22:00:47 testftpfedora pure-ftpd: ([email protected]) [INFO] New connection from 10.3.7.232 Oct 27 22:01:19 testftpfedora pure-ftpd: ([email protected]) [INFO] ftptestuser is now logged in I just remembered that when logging in from the local box (terminal window), it does go to passive mode when I request data such as a directory listing: 331 User ftptestuser OK. Password required Password: 230-User ftptestuser has group access to: 501 230 OK. Current directory is / Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 227 Entering Passive Mode (127,0,0,1,195,82) 150 Accepted data connection So... to answer your questions - no errors in /var/log/messages whether I am logging in from inside the network or outside. There may be other logs you can suggest that I look at that I am not aware of... The issue seems to be both inside and outside the network. However, VSFTP on the same box/same network seems to work fine in Active mode.
Another question on the same topic Does anyone know if there are any conflicts between pure-ftpd and any other services/apps? Has anyone had experience running pure-ftpd on Fedora 9 64bit?
I don't think there are any conflicts (unless you're running multiple FTP servers). Can you try and disable SELinux?
SELinux Guess I should have mentioned that. SELinux was disabled early on as a part of my original setup. I recently also went to the trouble of disabling network Manager and reverting back to the old network service. That didn't work either. I am very much open to other thoughts or suggestions. Thank you
Tne Answer Well... hopefully my experiences can help someone else down the road. I have found out what the issue is. Pure-ftpd will run under Fedora 9 64bit, but the active feature will not work. I reinstalled Fedora 9 32bit and pure-ftpd is working flawlessly now. Unrelated, but possibly useful to others, Steelvine management software for Silicon Image raid controllers also seems to require 32bit libraries to run correctly. Good luck all!
I have the same problem, both with fedora 9 and fedora 10 64 bit editions. Switching to 32 bit is not an option for me, so I ended up dumpgin the os alltogether as I could not find a solution. Actually I did do a bit of a search now, and it seems we're not the only ones running into it https://bugzilla.redhat.com/show_bug.cgi?id=481114 It also lists a possible solution I will have to try later.
I decided to test this on FC10 x86_64 agian, and to compile pure-ftpd from the latest source released 2 days ago. The newest version "1.0.22 (released on April 27, 2009) from pureftpd.org" has solved these problems for me! Regards, -Stefan