VSFTPD / Net2FTP - FTP Login Problem

  • Hello,


    I see that there are some problems with net2ftp in the past on the Bug Tracker, but i think so that my error on fresh I-MSCP 1.5.x (today) is not related to them.


    Debian Stretch 9.2
    I-MSCP 1.5.x (23.10.2017 - 11:00)
    Maria DB 10.2.9 from I-MSCP Installer
    PHP-FPM 7.1.10
    Installed Plugins: Let´s encrypt and PhpSwitcher (both latest version)


    When i try to login via net2ftp i get following error message:

    HTML
    1. The error occured in file /var/www/imscp/gui/public/tools/ftp/includes/filesystem.inc.php on line 64. function ftp_openconnection (/var/www/imscp/gui/public/tools/ftp/modules/browse/browse.inc.php on line 232) function net2ftp_module_printBody (/var/www/imscp/gui/public/tools/ftp/includes/main.inc.php on line 327) function net2ftp (/var/www/imscp/gui/public/tools/ftp/index.php on line 65) argument 0: printBody

    The vsftpd status brings following error messages:

    Shell-Script
    1. root@xxx:~# service vsftpd status● vsftpd.service - vsftpd FTP server Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2017-10-23 11:55:26 CEST; 4h 33min ago Process: 31284 ExecStartPre=/bin/mkdir -p /var/run/vsftpd/empty (code=exited, status=0/SUCCESS) Main PID: 31287 (vsftpd) CGroup: /system.slice/vsftpd.service └─31287 /usr/sbin/vsftpd /etc/vsftpd.confOkt 23 15:02:40 xxx vsftpd[844]: PAM unable to dlopen(pam_mysql.so): /lib/security/pam_mysql.so: cannot open shared object file: No such file or directoryOkt 23 15:02:40 xxx vsftpd[844]: PAM adding faulty module: pam_mysql.soOkt 23 16:17:42 xxx vsftpd[1590]: PAM unable to dlopen(pam_mysql.so): /lib/security/pam_mysql.so: cannot open shared object file: No such file or directoryOkt 23 16:17:42 xxx vsftpd[1590]: PAM adding faulty module: pam_mysql.soOkt 23 16:17:52 xxx vsftpd[1602]: PAM unable to dlopen(pam_mysql.so): /lib/security/pam_mysql.so: cannot open shared object file: No such file or directoryOkt 23 16:17:52 xxx vsftpd[1602]: PAM adding faulty module: pam_mysql.soOkt 23 16:18:35 xxx vsftpd[1607]: PAM unable to dlopen(pam_mysql.so): /lib/security/pam_mysql.so: cannot open shared object file: No such file or directoryOkt 23 16:18:35 xxx vsftpd[1607]: PAM adding faulty module: pam_mysql.soOkt 23 16:23:15 xxx vsftpd[1646]: PAM unable to dlopen(pam_mysql.so): /lib/security/pam_mysql.so: cannot open shared object file: No such file or directoryOkt 23 16:23:15 xxx vsftpd[1646]: PAM adding faulty module: pam_mysql.soroot@xxx:~#

    Ok, that sounds that pam_mysql is missing, but is not needed in MariaDB, right?


    It is also not possible to login via FlashFXP with the created login credentials (FTP prog)


    Do i forget to set-up something? ?(


    The Log-File from vsftpd gives me following notifications:


    Brainfuck Source Code
    1. Mon Oct 23 16:17:42 2017 [pid 1591] CONNECT: Client "::ffff:127.0.0.1"
    2. Mon Oct 23 16:17:42 2017 [pid 1590] [xxx.tld] FAIL LOGIN: Client "::ffff:127.0.0.1"
    3. Mon Oct 23 16:17:52 2017 [pid 1603] CONNECT: Client "::ffff:127.0.0.1"
    4. Mon Oct 23 16:17:52 2017 [pid 1602] [user@xxx.tld] FAIL LOGIN: Client "::ffff:127.0.0.1"
    5. Mon Oct 23 16:18:35 2017 [pid 1608] CONNECT: Client "::ffff:127.0.0.1"
    6. Mon Oct 23 16:18:35 2017 [pid 1607] [user@xxx.tld] FAIL LOGIN: Client "::ffff:127.0.0.1"
    7. Mon Oct 23 16:23:15 2017 [pid 1647] CONNECT: Client "::ffff:127.0.0.1"
    8. Mon Oct 23 16:23:15 2017 [pid 1646] [user@xxx.tld] FAIL LOGIN: Client "::ffff:127.0.0.1"

    Also tried to change the generated password to "G12345" - no change.


    EDIT:


    Problem solved by changing vsftpd to proftpd and net2ftp to monstaftp!


    Best regards.

    Support Infos: I-MSCP Version: 1.5.x / Distro: Debian Stretch / PHP: 7.1.27 - FPM / I-MSCP Plugins: Let´s Encrypt + PHPSwitcher (latest Versions)

  • Nuxwin

    Set the Label from to be investigated to won't fix
  • Nuxwin

    Closed the thread.