HowTo: I-MSCP 1.5.3 installation on Debian 10

  • Nothing really gets logged in the log file thats what made this hard to figure out. Like i said after an hour or digging around and trying various things it end up i stopped proftpd and started it again. in the end it started working again and hasn't been an issue since.

  • I had the same issue with proftpd, could not start this service after a new clean install of a debian server following this HowTo. Stopping and starting of proftpd did not help. However a "force-start" did help and I can now use ftp connections.


    cu
    Nagilum

  • I had the same issue with proftpd, could not start this service after a new clean install of a debian server following this HowTo. Stopping and starting of proftpd did not help. However a "force-start" did help and I can now use ftp connections.


    cu
    Nagilum

    Code
    1. nano /etc/default/proftpd
    2. under
    3. CONFIG_FILE=/etc/proftpd/proftpd.conf
    4. add:
    5. # Master system-wide proftpd switch. The initscript
    6. # will not run if it is not set to yes.
    7. RUN="yes"
  • some more fixes:

    Code
    1. # Bind9 when ipv6 disabled (Unable to fetch DNSKEY set)
    2. sudo nano /etc/default/bind9
    3. OPTIONS="-u bind -4"
    Code
    1. # LetsEncrypt fix
    2. mv /opt/eff.org /opt/eff.org_OLD
    3. cd /tmp
    4. sudo wget https://raw.githubusercontent.com/certbot/certbot/7f0fa18c570942238a7de73ed99945c3710408b4/letsencrypt-auto-source/letsencrypt-auto
    5. chmod a+x letsencrypt-auto
    6. ./letsencrypt-auto --dry-run


    Code
    1. # Proftpd starter
    2. nano /etc/default/proftpd
    3. #below
    4. CONFIG_FILE=/etc/proftpd/proftpd.conf
    5. # add
    6. # Master system-wide proftpd switch. The initscript
    7. # will not run if it is not set to yes.
    8. RUN="yes"
    Code
    1. # dovecot TLS protocols
    2. nano /etc/dovecot/dovecot.conf
    3. #ssl_protocols = !SSLv3
    4. ssl_min_protocol = TLSv1.2
    5. ssl_dh=</etc/dovecot/dh.pem
    6. # run
    7. dd if=/var/lib/dovecot/ssl-parameters.dat
    8. openssl dhparam -out /etc/dovecot/dh.pem 4096
    9. sudo service dovecot restart

    debian9 to debian10 fixes

    Code
    1. sudo apt purge rsyslog
    2. sudo apt install rsyslog
    3. systemctl daemon-reload
    4. sudo service rsyslog restart

    you should purge & re-install also:

    dovecot, fail2ban, spamassassin, opendkim, postfwd

    because pid location changed from "/var/run" to "/run"

    or edit all these files:

    Code
    1. nano /lib/systemd/system/dovecot.service
    2. nano /etc/systemd/system/multi-user.target.wants/dovecot.service
    3. PIDFile=/run/dovecot/master.pid

    logrotate

    and another dovecot fix ...


    reboot afterwards

    Edited 12 times, last by fulltilt: updated ().

  • Hey,

    I'm currlently trying to install the latest i-mscp maintenance checkout from git on an Ubuntu 22.04 machine. In addition to fulltilt, I was able to install the bind zone by installing the bind-utils and changing the named_compilezone parameter in 'engine/PerlLib/Servers/named/bind.pm' on line 1055.
    (Changing the constant in configs/debian/bind/bind.data.dist didn't give any success).



    Hope that helps someone here :thumbsup:


    Regards,

    Sascha

  • I'm currlently trying to install the latest i-mscp maintenance checkout from git on an Ubuntu 22.04 machine. In addition to


    please try:

    Please help - update i-MSCP to run on new system


    this mod works for me w/ debian 11

  • Is the Letsencrypt (certbot) plugin working for you on Debian 11?


    please try:

    Please help - update i-MSCP to run on new system


    this mod works for me w/ debian 11