ispCP - Board - Support
FTP-Problem - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: FTP-Problem (/thread-12598.html)



FTP-Problem - Trevit - 01-05-2011 06:12 AM

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)


RE: FTP-Problem - shaggy - 01-16-2011 02:49 PM

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.


RE: FTP-Problem - =David= - 01-30-2011 06:45 AM

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.