bsn
Junior Member
Posts: 32
Joined: Feb 2009
Reputation: 0
|
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 |
|
Nuxwin
Unregistered
|
RE: Cannot open directory (ftp_choose_dir.php)
I'll try to reproduce
|
|
10-10-2010 03:40 AM |
|
bsn
Junior Member
Posts: 32
Joined: Feb 2009
Reputation: 0
|
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 |
|
Nuxwin
Unregistered
|
RE: Cannot open directory (ftp_choose_dir.php)
what your /etc/hosts file content ?
|
|
10-10-2010 04:21 AM |
|
bsn
Junior Member
Posts: 32
Joined: Feb 2009
Reputation: 0
|
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 |
|