Current time: 11-24-2024, 12:59 AM Hello There, Guest! (LoginRegister)


Post Reply 
FTP-Problem
Author Message
Trevit Offline


Posts: 2
Joined: Jan 2011
Reputation: 0
Post: #1
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
Find all posts by this user Quote this message in a reply
shaggy Offline
Junior Member
*

Posts: 32
Joined: Jan 2011
Reputation: 0
Post: #2
Exclamation RE: FTP-Problem
It could be an issue with permissions, you might need to change the directory chmod and chown to the user that is trying to access it or to the user of ispCP. not sure cause I haven't run into that issue with ispCP yet.
01-16-2011 02:49 PM
Find all posts by this user Quote this message in a reply
=David= Offline
Junior Member
*

Posts: 10
Joined: Jan 2011
Reputation: 0
Post: #3
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
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)