FTP-Problem
|
Author |
Message |
Trevit
Posts: 2
Joined: Jan 2011
Reputation: 0
|
FTP-Problem
Hello,
I have a problem with the FTP-System. When I want to choose a directory for the user, I get the message "Cannot open directory!
Please contact your administrator!". What's the problem?
System: Debian Lenny (minimal)
(This post was last modified: 01-05-2011 06:13 AM by Trevit.)
|
|
01-05-2011 06:12 AM |
|
=David=
Junior Member
Posts: 10
Joined: Jan 2011
Reputation: 0
|
RE: FTP-Problem
I also am having this problem. I checked server status and it show that port 21 is down.
I check my router and made sure it's forwarding correctly. I then tried adding them to the iptable with;
<code>
iptables -A INPUT -p tcp -s 0/0 --sport 1024:65535 -d 202.54.1.20 --dport 21 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p tcp -s 202.54.1.20 --sport 21 -d 0/0 --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT
</code>
that didn't seem to work either.
is this a settings problem in proftp?
Hey Trevit, turns out that in my case proftpd either wasn't running or didn't have the right config loaded. I typed
# /etc/init.d/proftpd restart
everything's good. they directory chooser works and users can now log in.
(This post was last modified: 01-30-2011 07:13 AM by =David=.)
|
|
01-30-2011 06:45 AM |
|
User(s) browsing this thread: 1 Guest(s)