odd ProFTPd Error

  • noticed no FTP

    checked and found...

    Unit proftpd.service has begun starting up.

    Jul 06 15:48:13 admin proftpd[10720]: Starting ftp server: proftpd2020-07-06 15:48:13,322 admin proftpd[10727]: mod_dso/0.5: unable to load 'mod_sql_mysql.

    Jul 06 15:48:13 admin proftpd[10720]: 2020-07-06 15:48:13,322 admin proftpd[10727]: fatal: LoadModule: error loading module 'mod_sql_mysql.c': No such file

    Jul 06 15:48:13 admin proftpd[10720]: failed!

    Jul 06 15:48:13 admin systemd[1]: proftpd.service: Control process exited, code=exited status=1

    Jul 06 15:48:13 admin systemd[1]: Failed to start LSB: Starts ProFTPD daemon.

    -- Subject: Unit proftpd.service has failed

    apt install proftp-mod-mysql


    The following packages have unmet dependencies:

    proftpd-mod-mysql : Depends: proftpd-basic (= 1.3.5b-4+deb9u4) but 1.3.5e-0+deb8u1 is to be installed

    E: Unable to correct problems, you have held broken packages.

    Debian Stretch install 1.5.3 Current -
    been quiet over here!

  • You say Debian stretch ( = 9) but in the dependencies message it says, that proftpd-basic for Debian 8 is to be installed... (deb8u1) - so as kess wrote... post your sources lists... - seems there is something not ok.

  • good catch..

    system was updated from 8 awhile back and that is probably it..

    1. # apt-get -f install
    2. Reading package lists... Done
    3. Building dependency tree
    4. Reading state information... Done
    5. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    1. deb http://httpredir.debian.org/debian/ stretch main contrib non-free
    2. deb http://httpredir.debian.org/debian/ stretch-updates main contrib non-free
    3. deb http://security.debian.org/ stretch/updates main contrib non-free


    deb https://packages.sury.org/php/ stretch main

    1. Distributor ID: Debian
    2. Description: Debian GNU/Linux 9.12 (stretch)
    3. Release: 9.12
    4. Codename: stretch

    vaguely remember some pinning to jessie repos - but thought that was on an old server...
    had to do with php prior to being able to register already loaded php versions -
    shouldn't have affected Proftpd - but always possible...

  • Athar

    Added the Label not i-MSCP related
  • --- much better - always forget grep -

    only top two look like possible issue.

    rest are just backup of old source.list it looks like right?

    grep -r proftpd /etc/apt

    produced nothing -


    1. Package: *
    2. Pin: origin packages.sury.org
    3. Pin-Priority: 1001
    4. Package: *
    5. Pin: release o=MariaDB,n=jessie
    6. Pin-Priority: 1001


    1. Package: libicu-dev icu-devtools
    2. Pin: release o=debian
    3. Pin-Priority: 1002

    so nothing proftpd...

    proftpd -v

    shows ProFTPD Version 1.3.5e

    which is interesting -
    older server - run same thing is 1.3.5 and everything operational...

    (older one just a test box and not really doing much - really slow but odd it shows older version and works)

    --- process to uninstall proftpd

    then would just re-install imscp again basically should reload based on needed packages I would assume correct?

    (naturally backup before doing but should be a decent path?)

    Edited once, last by viper_iii ().

  • Yes, I'd also uninstall the 1.3.5.e which seems to be a deb8 thing.

    check with dpkg -l | grep deb8 to see all deb8 packages...


  • removed - proftpd

    reran imscp setup

    1. cd /usr/local/src/imscp-1.5.3-2018120800
    2. perl imscp-autoinstall -d

    shows congrats - testing


    panel working -
    proftpd -v
    ProFTPD Version 1.3.5b

    FTP service showing up and running...

    verified user accounts working as expected over normal 21

    odd that the only pin was an old pin to mariadb - was created during some issue over a year ago... also removed per above.

    would bet that I messed up an upgrade from jessie and some of it carried over and has been like this for longer than I care to admit...

    Much Appreciated!


    dpkg -l | grep deb8

    does list some packages but not too many and hoping most are non-major..

    (think they're mainly compiler for phpswitcher due to errors on early Stretch php issues)
    sury for me fixed those issues though.