Hi, I have a really strange behaviour. I cannot connect with FTP to my server. The ftp_user table seams ok : Code: 6 riud riud 1 5 zoroweb $1$KSHuIly\$GU52WEJmEtmuOjdX9C8iu1 -1 y web5 client5 /srv/d_vidy/www/clients/client5/web5 -1 -1 -1 I've set the log of pur_ftp to verbose (after having browsed a lot this forum) and the log look like Code: Nov 29 19:10:43 vidy pure-ftpd: ([email protected]) [INFO] New connection from zzz Nov 29 19:10:43 vidy pure-ftpd: ([email protected]) [DEBUG] Command [user] [zoroweb] Nov 29 19:10:43 vidy pure-ftpd: ([email protected]) [DEBUG] Command [pass] [<*>] Nov 29 19:10:48 vidy pure-ftpd: ([email protected]) [INFO] New connection from zzz Nov 29 19:10:48 vidy pure-ftpd: ([email protected]) [DEBUG] Command [user] [zoroweb] Nov 29 19:10:48 vidy pure-ftpd: ([email protected]) [DEBUG] Command [pass] [<*>] but the log of filezilla give an error " Could not connect to server" Code: Status: Resolving address of vidy.xxxxx.com Status: Connecting to xx.xx.xx.xx:21... Status: Connection established, waiting for welcome message... Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- Response: 220-You are user number 1 of 50 allowed. Response: 220-Local time is now 19:10. Server port: 21. Response: 220-This is a private system - No anonymous login Response: 220-IPv6 connections are also welcome on this server. Response: 220 You will be disconnected after 15 minutes of inactivity. Command: USER zoroweb Response: 331 User zoroweb OK. Password required Command: PASS ******* Error: Could not connect to server Status: Waiting to retry... Status: Resolving address of vidy.xxxxx.com Status: Connecting to xx.xx.xx.xx:21... Status: Connection established, waiting for welcome message... Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- Response: 220-You are user number 1 of 50 allowed. Response: 220-Local time is now 19:10. Server port: 21. Response: 220-This is a private system - No anonymous login Response: 220-IPv6 connections are also welcome on this server. Response: 220 You will be disconnected after 15 minutes of inactivity. Command: USER zoroweb Response: 331 User zoroweb OK. Password required Command: PASS ******* Error: Could not connect to server Ok, I have to admit that it works just after having finished the installation of ispconfig. I just move the folder var/www to an other disk and manage to change basedir, path and symlinks value in ispconfig. Since I did it, it doesn't seams to work I have no clue what's append. Do you have any idea what I should dig in ? Thanks for your answer or any help you can provide
Might be a permission problem of the new directories Please check that /srv and /srv/d_vidy have the exact same owner and permissions then /var and /var/www
Hi till, Not sure what were permissions on /var/www as I removed this folder and create a symbolic link that point to /srv/d_vidy/www. Next are the owner/permissions currently set on the relocated www folder. /srv : drwxr-xr-x 3 root root /srv/d_vidy : drwxrwxr-x 9 root admin /srv/d_vidy/www : drwxrwxr-x 5 www-data www-data /srv/d_vidy/www/clients : drwx------ 5 www-data www-data /srv/d_vidy/www/clients/client5 : drwxr-xr-x 3 root root /srv/d_vidy/www/clients/client5/web5 : drwxr-x--x 6 web5 client5 Are these owner/persmissions correct ? I did try to connect with FTP with a wrong password and I get the following entry in messages logfile Code: Nov 30 12:39:27 vidy pure-ftpd: ([email protected]) [INFO] New connection from zzzz Nov 30 12:39:27 vidy pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [zoroweb] Nov 30 12:39:33 vidy pure-ftpd: ([email protected]) [INFO] Logout. So the authentication process is working right. But why when I give the correct password the ftp server responds with "Error: Could not connect to server" ? Any other log files to check ? Thanks for your help
Enable verbose logging in pure-ftpd and then check if the log contains more infor if you try to login again.