Cannot open directory (ftp_choose_dir.php) - 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: Cannot open directory (ftp_choose_dir.php) (/thread-11845.html) |
Cannot open directory (ftp_choose_dir.php) - bsn - 10-10-2010 01:52 AM 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 RE: Cannot open directory (ftp_choose_dir.php) - Nuxwin - 10-10-2010 03:40 AM I'll try to reproduce RE: Cannot open directory (ftp_choose_dir.php) - kilburn - 10-10-2010 04:04 AM You have problems with the FTP service. See the solving proftpd issues guide to try to solve them. RE: Cannot open directory (ftp_choose_dir.php) - bsn - 10-10-2010 04:20 AM 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 RE: Cannot open directory (ftp_choose_dir.php) - Nuxwin - 10-10-2010 04:21 AM what your /etc/hosts file content ? RE: Cannot open directory (ftp_choose_dir.php) - bsn - 10-10-2010 04:36 AM 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 |