Current time: 11-25-2024, 09:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
Cannot open directory (ftp_choose_dir.php)
Author Message
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #1
Cannot open directory (ftp_choose_dir.php)
Hello!

When I configure ftp user and choose dir for user
I get window with this message "Cannot open directory!
Please contact your administrator!"

Please help me resolve this problem.

Ubuntu 10.04 LTS 64bit
ispCP 1.0.7 OMEGA
System was upgraded from 1.0.6

Best Regards
BSN
10-10-2010 01:52 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #2
RE: Cannot open directory (ftp_choose_dir.php)
I'll try to reproduce
10-10-2010 03:40 AM
Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #3
RE: Cannot open directory (ftp_choose_dir.php)
You have problems with the FTP service. See the solving proftpd issues guide to try to solve them.
(This post was last modified: 10-10-2010 04:05 AM by kilburn.)
10-10-2010 04:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #4
RE: Cannot open directory (ftp_choose_dir.php)
I found where is problem!
I run
tcpdump -i lo -n -nn
and I see this
21:09:54.787138 IP6 ::1.33991 > ::1.21: Flags [S], seq 773365646, win 32752, options [mss 16376,sackOK,TS val 45778022 ecr 0,[|tcp]>
21:09:54.787171 IP6 ::1.21 > ::1.33991: Flags [R.], seq 0, ack 773365647, win 0, length 0
Why IP6?
I don't use ipv6.
I have changed /etc/proftpd/proftpd.conf
UseIPv6 off -> UseIPv6 on
Then
service proftpd restart
And now ftp_choose_dir.php work correctly.
Maybe this is not the best solution, but it worked.

Sorry for my english
10-10-2010 04:20 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #5
RE: Cannot open directory (ftp_choose_dir.php)
what your /etc/hosts file content ?
10-10-2010 04:21 AM
Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #6
RE: Cannot open directory (ftp_choose_dir.php)
O! It's idea
I commented all line with IPV6
I returned in proftpd.conf UseIPv6 off
service proftpd restart
ftp_choose_dir.php work correctly.

Now my hosts
127.0.0.1<----->localhost
X.X.X.X<>srv01.domain.su>srv01

# The following lines are desirable for IPv6 capable hosts
#::1 localhost ip6-localhost ip6-loopback
#fe00::0 ip6-localnet
#ff00::0 ip6-mcastprefix
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters

Thanks Nuxwin
(This post was last modified: 10-10-2010 04:37 AM by bsn.)
10-10-2010 04:36 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)