Hi, First I just want to say that I went to check all these questions but did not find solutions to my problem: https://www.howtoforge.com/community/threads/pureftpd-on-ispconfig-3-wont-connect.39372/ https://www.howtoforge.com/community/threads/ftp-login-authentication-failed.77287/ https://www.howtoforge.com/communit...rver-has-closed-connection.39697/#post-205926 Problem: All new and existing FTP users cannot login. Gets this error: Status: Connecting to 209.208.146.203: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 04:23. 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 ernz Response: 331 User ernz OK. Password required Command: PASS ************ Response: 530 Login authentication failed tail -n 100 /var/log/syslog output: Jul 6 04:08:19 ap pure-ftpd: ([email protected]) [INFO] PAM_RHOST enabled. Getting the peer address Jul 6 04:08:26 ap pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [ernz] Jul 6 04:08:26 ap pure-ftpd: ([email protected]) [INFO] Logout. Jul 6 04:08:51 ap pure-ftpd: ([email protected]) [INFO] New connection from 122.3.53.166 Jul 6 04:08:52 ap pure-ftpd: ([email protected]) [DEBUG] Command [user] [ernz] Jul 6 04:08:52 ap pure-ftpd: ([email protected]) [DEBUG] Command [pass] [<*>] Jul 6 04:08:52 ap pure-ftpd: ([email protected]) [INFO] PAM_RHOST enabled. Getting the peer address Jul 6 04:08:59 ap pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [ernz] Jul 6 04:08:59 ap pure-ftpd: ([email protected]) [INFO] Logout. iptables -L output Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Solutions I have tried: uninstalled and then installed PureFTP update ISPConfig and reconfigured services Also tried to login using the MySQL username and PW at /etc/pure-ftpd/db/mysql.conf. Can access the ispconfig DB and ftp_user table Please help. Thank you,
ISPConfig FTP users normally have a username prefix, so the username might be something like "c1enz" and not "enz". You can see the actual full FTP username in the FTP user list in ispconfig. and the installed ftp daemon must be pure-ftpd-mysql not just pure-ftpd. pure-ftpd (without mysql) has no support for mysql and therefore is not able to connect to the user database.
Hi Till.. I did not use the FTP prefix. My FTP user prefix is blank. And the FTP user list states the same usernames, no prefix. I have installed pure-ftpd-mysql. Here is part of the /etc/pure-ftpd/db/mysql.conf Code: ############################################## # # # Sample Pure-FTPd Mysql configuration file. # # See README.MySQL for explanations. # # # ############################################## # Optional : MySQL server name or IP. Don't define this for unix sockets. MYSQLServer localhost # Optional : MySQL port. Don't define this if a local unix socket is used. MYSQLPort 3306 # Optional : define the location of mysql.sock if the server runs on this host. # MYSQLSocket /var/run/mysqld/mysqld.sock # Mandatory : user to bind the server as. MYSQLUser ispconfig # Mandatory : user password. You must have a password. MYSQLPassword <password> # Mandatory : database to open. MYSQLDatabase dbispconfig # Mandatory : how passwords are stored # Valid values are : "cleartext", "crypt", "md5" and "password" # ("password" = MySQL password() function) # You can also use "any" to try "crypt", "md5" *and* "password" MYSQLCrypt crypt