Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ProFTPd, Mandriva 2009.1, Write issue 1

Status
Not open for further replies.

donb01

IS-IT--Management
Feb 20, 2006
2,241
US
I have a stable server running Mandriva 2009.1 in a typical LAMP configuration with a few other things. I have ProFTPd running on there with no problems, and it's set up so each user can login and read/write their home directory. Everything is setup out of box as much as I can remember - it's been a long time since I set it up.

So I built an identical system for another guy except for hardware and a few other utilities he's not going to use and cannot for the life of me get read/write access to anything from ProFTPd. As far as I know everything is the same - I located and compared all proftpd files that mattered and they are all the same. The port's open in shorewall, everyone has permissions on their own directories, etc.

I can connect to the box and login. When I login (FireFTP) it shows the login and password prompts, etc, and the last command is (from memory) LIST -al or something like that which I assume is supposed to display the directory contents - then it just sits there, times out after maybe a minute and then does a "reconnecting in 10 seconds" bit.

It displays the home base directory and the user's directory beneath it and shows that it's selected, but does not display the rest of the tree under the user's directory or any of the other contents. If I select a file on my PC and try to upload it just sits there and does nothing, times out and reconnects.

I am at a loss as to why my identically configured system works and this one doesn't. I haven't modified the OOB proftpd.conf file at all - haven't even removed the comment tick from the 'DirectoryRoot' (sp?) argument that is supposed to lock users into their own directory.

Any suggestions would be appreciated.

My current line of thought is that my working system is configured static and direct to the outside, and this system (right now) is configured as 192.168.1.100 (static) behind a Linksys consumer router that has is listed as the DMZ host and additionally has ports 20 - 22, 80 and 10000 routed to that box. He is in the process of getting a few more static IP's from Comcast and then the box will be on a dedicated 'real' IP. Do you think the Linksys is interfering with the file transfer stuff somehow, even though I can connect and login?

 
Ahh - I see what you mean. I suspected it was the stupid NAT router. I'm working on fixing that as soon as the guy gets a second static IP. Then the Comcast router will send everything to the box and let the firewall handle it, which is what I prefer.

I tried typing quote pasv and quot pasv on mine and it didn't like either iteration of 'quote'.

I can't get into the other box. The guy is out of town and either shut it down or something else weird happened to it. I can't get to ftp or http on it and they were both working fine last night.

I did get what I needed to pick which ports it uses and then we can route them in the Linksys and it should clear up until I get the static IP situation fixed...

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top