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.

HowTo: I-MSCP 1.5.3 installation on Debian 10
-
-
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 -
some more fixes:
Code- # PHP apc
- apt install php7.0-apcu-bc php7.0-apcu php7.0-dev
- edit /autoinstaller/postinstall/php_apcu_bc.sh
- ; priority=25
- ;extension=apc.so
- and
- edit /autoinstaller/postinstall/php_apcu.sh
- extension=apcu.so
- extension=apc.so
- nano /etc/php/7.0/apache2/conf.d/20-apcu.ini
- extension=apcu.so
- extension=apc.so
- nano /etc/php/7.0/apache2/conf.d/25-apcu_bc.ini
- ; priority=25
- ;extension=apc.so
Code- # disable outdated TLS protocols
- nano /etc/apache2/sites-available/00_nameserver.conf
- SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
- nano /etc/apache2/mods-enabled/ssl.conf
- SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
- nano /etc/nginx/nginx.conf
- ssl_protocols TLSv1.2;
- nano /etc/postfix/main.cf
- smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
- smtp_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
- # add
- smtp_tls_mandatory_protocols=!SSLv2, !SSLv3, !TLSv1, !TLSv1.1
- smtpd_tls_mandatory_protocols=!SSLv2, !SSLv3, !TLSv1, !TLSv1.1
- nano /etc/proftpd/proftpd.conf
- TLSProtocol TLSv1.2
debian9 to debian10 fixes
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:
logrotate
Code- edit rsyslog template file
- /configs/debian/logrotate.d/rsyslog
- to:
- /var/log/syslog
- {
- rotate 7
- daily
- missingok
- notifempty
- delaycompress
- compress
- postrotate
- /usr/lib/rsyslog/rsyslog-rotate
- endscript
- }
- /var/log/mail.info
- /var/log/mail.warn
- /var/log/mail.err
- /var/log/mail.log
- /var/log/daemon.log
- /var/log/kern.log
- /var/log/auth.log
- /var/log/user.log
- /var/log/lpr.log
- /var/log/cron.log
- /var/log/debug
- /var/log/messages
- {
- rotate 4
- weekly
- missingok
- notifempty
- compress
- delaycompress
- sharedscripts
- postrotate
- /usr/lib/rsyslog/rsyslog-rotate
- endscript
- }
- and also edit (check):
- nano /etc/logrotate.d/rsyslog
- sudo service rsyslog restart
and another dovecot fix ...
Codereboot afterwards
-
-
It is not really difficult to install I-MSCP stable on Buster ...
I use PHP 7.0 with phpswitcher, mariadb 10.3 MUST be selected.
- install debian 10
Code- apt install gnupg gnupg2 gnupg1 ca-certificates apt-transport-https lsb-release
- apt-key del 95BD4743
- wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
- apt-get update
- apt install php7.0-apcu-bc php7.0-apcu php7.0-dev
- nano /etc/php/7.0/apache2/conf.d/20-apcu.ini
- extension=apcu.so
- extension=apc.so
- nano /etc/php/7.0/apache2/conf.d/25-apcu_bc.ini
- ; priority=25
- ;extension=apc.so
- apt update && apt upgrade
- apt autoremove
- apt-get --assume-yes --no-install-recommends install perl whiptail wget mc bzip2 zip unzip
- cd /usr/local/src
- wget https://github.com/i-MSCP/imscp/archive/1.5.3-2018120800.tar.gz
- tar -xzf 1.5.3-2018120800.tar.gz
- cd imscp-1.5.3-2018120800
- # add gnupg to DebianAdapter.pm
- nano /usr/local/src/imscp-1.5.3-2018120800/autoinstaller/Adapter/DebianAdapter.pm
- # or replace with following part:
- $self->{'preRequiredPackages'} = [
- 'apt-transport-https', 'binutils', 'ca-certificates', 'debconf-utils', 'dialog', 'dirmngr', 'dpkg-dev', 'gnupg', 'libbit-vector-perl', 'libclass-insideout-perl', 'libclone-perl', 'liblchown-perl', 'liblist-moreutils-perl', 'libscalar-defer-perl', 'libsort-versions-perl', 'libxml-simple-perl', 'lsb-release', 'policyrcd-script-zg2',
- 'wget'
- ];
add:
Code- <packages>
- <frontend>
- <nginx
- default="1"
- description="Nginx server"
- class="Package::FrontEnd"
- repository_conflict="http://nginx.org/packages/debian"
- >
- <package>nginx-full</package>
- <package_conflict>nginx</package_conflict>
- </nginx>
- </frontend>
- <httpd>
- <apache_fcgid
- description="Apache2 (MPM Event) server and PHP with CGI/FastCGI SAPI"
- class="Servers::httpd::apache_fcgid"
- >
- <package>apache2</package>
- <package post_install_tasks="sh apache2_postinst.sh">apache2-bin</package>
- <package>apache2-data</package>
- <package>apache2-dev</package>
- <package post_install_tasks="update-alternatives --set suexec /usr/lib/apache2/suexec-pristine">
- apache2-suexec-pristine
- </package>
- <package>libapache2-mod-fcgid</package>
- </apache_fcgid>
- <apache_itk
- description="Apache2 (MPM ITK) server and PHP with Apache2 SAPI"
- class="Servers::httpd::apache_itk"
- >
- <package>apache2</package>
- <package post_install_tasks="sh apache2_postinst.sh">apache2-bin</package>
- <package>apache2-data</package>
- <package>apache2-dev</package>
- <package_delayed>libapache2-mpm-itk</package_delayed>
- </apache_itk>
- <apache_php_fpm
- default="1"
- description="Apache2 (MPM Event) server and PHP with FPM/FastCGI SAPI"
- class="Servers::httpd::apache_php_fpm"
- >
- <package>apache2</package>
- <package post_install_tasks="sh apache2_postinst.sh">apache2-bin</package>
- <package>apache2-data</package>
- <package>apache2-dev</package>
- <package post_install_tasks="update-alternatives --set suexec /usr/lib/apache2/suexec-pristine">
- apache2-suexec-pristine
- </package>
- </apache_php_fpm>
- </httpd>
- <php>
- <php5.6
- description="PHP 5.6"
- class="Servers::php"
- repository_conflict="http://packages.dotdeb.org"
- repository="https://packages.sury.org/php/ buster main"
- repository_key_uri="https://packages.sury.org/php/apt.gpg"
- pinning_package="*"
- pinning_pin="origin packages.sury.org"
- pinning_pin_priority="1001"
- keep_installed="1"
- >
- <package>php5.6</package>
- <package>php5.6-cgi</package>
- <package post_install_tasks="update-alternatives --set php /usr/bin/php5.6">php5.6-cli</package>
- <package>php5.6-fpm</package>
- <package
- post_install_tasks="phpenmod ctype fileinfo ftp gettext iconv pdo phar posix sockets; update-alternatives --set phar /usr/bin/phar5.6; update-alternatives --set phar.phar /usr/bin/phar.phar5.6"
- >
- php5.6-common
- </package>
- <package post_install_tasks="phpenmod curl">php5.6-curl</package>
- <package post_install_tasks="phpenmod gd">php5.6-gd</package>
- <package post_install_tasks="phpenmod gmp">php5.6-gmp</package>
- <package post_install_tasks="phpenmod imap">php5.6-imap</package>
- <package post_install_tasks="phpenmod intl">php5.6-intl</package>
- <package post_install_tasks="phpenmod json">php5.6-json</package>
- <package post_install_tasks="phpenmod mbstring">php5.6-mbstring</package>
- <package post_install_tasks="phpenmod mcrypt">php5.6-mcrypt</package>
- <package post_install_tasks="phpenmod mysqlnd mysqli pdo_mysql">php5.6-mysql</package>
- <package post_install_tasks="phpenmod opcache">php5.6-opcache</package>
- <package post_install_tasks="phpenmod pspell">php5.6-pspell</package>
- <package post_install_tasks="phpenmod dom xml xmlreader xmlwriter">php5.6-xml</package>
- <package post_install_tasks="phpenmod zip">php5.6-zip</package>
- <package post_install_tasks="sh php_apcu.sh 5.6">php-apcu</package>
- <package>php-pear</package>
- <package>libapache2-mod-php5.6</package>
- <package_conflict>php5-common</package_conflict>
- <package_conflict>libapache2-mod-php5</package_conflict>
- </php5.6>
- <php7.0
- default="1"
- description="PHP 7.0"
- class="Servers::php"
- repository_conflict="http://packages.dotdeb.org"
- repository="https://packages.sury.org/php/ buster main"
- repository_key_uri="https://packages.sury.org/php/apt.gpg"
- pinning_package="*"
- pinning_pin="origin packages.sury.org"
- pinning_pin_priority="1001"
- keep_installed="1"
- >
- <package>php7.0</package>
- <package post_install_tasks="update-alternatives --set php /usr/bin/php7.0">php7.0-cli</package>
- <package>php7.0-cgi</package>
- <package>php7.0-fpm</package>
- <package
- post_install_tasks="phpenmod ctype fileinfo ftp gettext iconv pdo phar posix sockets; update-alternatives --set phar /usr/bin/phar7.0; update-alternatives --set phar.phar /usr/bin/phar.phar7.0"
- >
- php7.0-common
- </package>
- <package post_install_tasks="phpenmod curl">php7.0-curl</package>
- <package post_install_tasks="phpenmod gd">php7.0-gd</package>
- <package post_install_tasks="phpenmod gmp">php7.0-gmp</package>
- <package post_install_tasks="phpenmod imap">php7.0-imap</package>
- <package post_install_tasks="phpenmod intl">php7.0-intl</package>
- <package post_install_tasks="phpenmod json">php7.0-json</package>
- <package post_install_tasks="phpenmod mbstring">php7.0-mbstring</package>
- <package post_install_tasks="phpenmod mcrypt">php7.0-mcrypt</package>
- <package post_install_tasks="phpenmod mysqlnd mysqli pdo_mysql">php7.0-mysql</package>
- <package post_install_tasks="phpenmod opcache">php7.0-opcache</package>
- <package post_install_tasks="phpenmod pspell">php7.0-pspell</package>
- <package post_install_tasks="phpenmod dom xml xmlreader xmlwriter">php7.0-xml</package>
- <package post_install_tasks="phpenmod zip">php7.0-zip</package>
- <package post_install_tasks="sh php_apcu.sh 7.0">php-apcu</package>
- <package post_install_tasks="sh php_apcu_bc.sh 7.0">php-apcu-bc</package>
- <package>php-pear</package>
- <package>libapache2-mod-php7.0</package>
- <package_conflict>php5-common</package_conflict>
- <package_conflict>libapache2-mod-php5</package_conflict>
- </php7.0>
- <php7.1
- description="PHP 7.1"
- class="Servers::php"
- repository_conflict="http://packages.dotdeb.org"
- repository="https://packages.sury.org/php/ buster main"
- repository_key_uri="https://packages.sury.org/php/apt.gpg"
- pinning_package="*"
- pinning_pin="origin packages.sury.org"
- pinning_pin_priority="1001"
- keep_installed="1"
- >
- <package>php7.1</package>
- <package post_install_tasks="update-alternatives --set php /usr/bin/php7.1">php7.1-cli</package>
- <package>php7.1-cgi</package>
- <package>php7.1-fpm</package>
- <package
- post_install_tasks="phpenmod ctype fileinfo ftp gettext iconv pdo phar posix sockets; update-alternatives --set phar /usr/bin/phar7.1; update-alternatives --set phar.phar /usr/bin/phar.phar7.1"
- >
- php7.1-common
- </package>
- <package post_install_tasks="phpenmod curl">php7.1-curl</package>
- <package post_install_tasks="phpenmod gd">php7.1-gd</package>
- <package post_install_tasks="phpenmod gmp">php7.1-gmp</package>
- <package post_install_tasks="phpenmod imap">php7.1-imap</package>
- <package post_install_tasks="phpenmod intl">php7.1-intl</package>
- <package post_install_tasks="phpenmod json">php7.1-json</package>
- <package post_install_tasks="phpenmod mbstring">php7.1-mbstring</package>
- <package post_install_tasks="phpenmod mcrypt">php7.1-mcrypt</package>
- <package post_install_tasks="phpenmod mysqlnd mysqli pdo_mysql">php7.1-mysql</package>
- <package post_install_tasks="phpenmod opcache">php7.1-opcache</package>
- <package post_install_tasks="phpenmod pspell">php7.1-pspell</package>
- <package post_install_tasks="phpenmod dom xml xmlreader xmlwriter">php7.1-xml</package>
- <package post_install_tasks="phpenmod zip">php7.1-zip</package>
- <package post_install_tasks="sh php_apcu.sh 7.1">php-apcu</package>
- <package post_install_tasks="sh php_apcu_bc.sh 7.1">php-apcu-bc</package>
- <package>php-pear</package>
- <package>libapache2-mod-php7.1</package>
- <package_conflict>php5-common</package_conflict>
- <package_conflict>libapache2-mod-php5</package_conflict>
- </php7.1>
- </php>
- <po>
- <courier
- description="Courier IMAP/POP3 servers"
- class="Servers::po::courier"
- >
- <package>courier-authlib-mysql</package>
- <package>courier-imap</package>
- <package>courier-imap-ssl</package>
- <package>courier-pop</package>
- <package>courier-pop-ssl</package>
- <package>libgamin0</package>
- <package>libsasl2-modules</package>
- <package>maildrop</package>
- <package_conflict>libsasl2-modules-sql</package_conflict>
- <package_conflict>sasl2-bin</package_conflict>
- </courier>
- <dovecot
- default="1"
- description="Dovecot IMAP/POP3 servers"
- class="Servers::po::dovecot"
- >
- <package>dovecot-core</package>
- <package>dovecot-imapd</package>
- <package>dovecot-pop3d</package>
- <package>dovecot-mysql</package>
- <package>dovecot-managesieved</package>
- <package>dovecot-sieve</package>
- </dovecot>
- </po>
- <mta>
- <postfix
- default="1"
- description="Postfix server"
- class="Servers::mta::postfix"
- >
- <package>postfix</package>
- <package_conflict>procmail</package_conflict>
- </postfix>
- </mta>
- <ftpd>
- <proftpd
- default="1"
- description="ProFTPD server"
- class="Servers::ftpd::proftpd"
- >
- <package>proftpd-basic</package>
- <package>proftpd-mod-mysql</package>
- <package_conflict>vsftpd</package_conflict>
- </proftpd>
- <vsftpd
- description="VsFTPD server"
- class="Servers::ftpd::vsftpd"
- >
- <package rebuild_with_patches="libpam-mysql/patches" patch_sys_type="dpatch" pkg_src_name="pam-mysql">
- libpam-mysql
- </package>
- <package>vsftpd</package>
- <package_conflict>proftpd-basic</package_conflict>
- </vsftpd>
- </ftpd>
- <named>
- <bind
- default="1"
- description="Bind9 server"
- class="Servers::named::bind"
- >
- <package>resolvconf</package>
- <package>bind9</package>
- </bind>
- <external_server
- description="No local DNS server"
- class="Servers::noserver"
- >
- <package>resolvconf</package>
- </external_server>
- </named>
- <sql>
- <mysql_5.5
- description="MySQL 5.5 server"
- class="Servers::sqld::mysql"
- pinning_package="libmysqlclient18 mysql-client-5.5 mysql-common mysql-server-5.5"
- pinning_pin="release o=Debian,n=buster"
- pinning_pin_priority="1001"
- allow_switch="mysql_5.6,mysql_5.7,remote_server"
- >
- <package>libmysqlclient18</package>
- <package>mysql-client-5.5</package>
- <package>mysql-common</package>
- <package>mysql-server-5.5</package>
- </mysql_5.5>
- <mysql_5.6
- description="MySQL 5.6 server"
- class="Servers::sqld::mysql"
- repository="http://repo.mysql.com/apt/debian/ buster mysql-5.6"
- repository_key_id="5072E1F5"
- repository_key_srv="keyserver.ubuntu.com"
- pinning_package="*"
- pinning_pin="origin repo.mysql.com"
- pinning_pin_priority="1001"
- allow_switch="mysql_5.7,remote_server"
- >
- <package>libmysqlclient18</package>
- <package>mysql-community-client</package>
- <package>mysql-common</package>
- <package>mysql-community-server</package>
- </mysql_5.6>
- <mysql_5.7
- description="MySQL 5.7 server"
- class="Servers::sqld::mysql"
- repository="http://repo.mysql.com/apt/debian/ buster mysql-5.7"
- repository_key_id="5072E1F5"
- repository_key_srv="keyserver.ubuntu.com"
- pinning_package="*"
- pinning_pin="origin repo.mysql.com"
- pinning_pin_priority="1001"
- allow_switch="remote_server"
- >
- <package>libmysqlclient18</package>
- <package>libmysqlclient20</package>
- <package>mysql-community-client</package>
- <package>mysql-common</package>
- <package>mysql-community-server</package>
- </mysql_5.7>
- <mariadb_10.0
- description="MariaDB 10.0 server"
- class="Servers::sqld::mariadb"
- pinning_package="libmysqlclient18 mariadb-client-10.0 mariadb-common mariadb-server-10.0 mysql-common"
- pinning_pin="release o=Debian,n=buster"
- pinning_pin_priority="1001"
- allow_switch="mariadb_10.1,mariadb_10.2,remote_server"
- >
- <package>libmysqlclient18</package>
- <package>mariadb-client-10.0</package>
- <package>mariadb-common</package>
- <package pre_install_tasks="/bin/mkdir -p /etc/mysql/mariadb.conf.d">mariadb-server-10.0</package>
- <package>mysql-common</package>
- </mariadb_10.0>
- <mariadb_10.1
- description="MariaDB 10.1 server"
- class="Servers::sqld::mariadb"
- repository="http://mirror.netcologne.de/mariadb/repo/10.1/debian buster main"
- repository_key_id="0x84DF8D521BB943DB"
- repository_key_srv="keyserver.ubuntu.com"
- pinning_package="*"
- pinning_pin="release o=MariaDB,n=buster"
- pinning_pin_priority="1001"
- allow_switch="mariadb_10.2,remote_server"
- >
- <package>libmariadbclient18</package>
- <package>libmysqlclient18</package>
- <package>mariadb-client-10.1</package>
- <package>mariadb-common</package>
- <package pre_install_tasks="/bin/mkdir -p /etc/mysql/mariadb.conf.d">mariadb-server-10.1</package>
- <package>mysql-common</package>
- </mariadb_10.1>
- <mariadb_10.3
- default="1"
- description="MariaDB 10.3 server"
- class="Servers::sqld::mariadb"
- pinning_package="libmariadb3 mariadb-client-10.3 mariadb-common mariadb-server-core-10.3 mysql-common"
- pinning_pin="release o=Debian"
- pinning_pin_priority="1001"
- allow_switch="mariadb_10.3,remote_server"
- >
- <package>libmariadb3</package>
- <package>mariadb-client-10.3</package>
- <package>mariadb-common</package>
- <package pre_install_tasks="/bin/mkdir -p /etc/mysql/mariadb.conf.d">mariadb-server-10.3</package>
- <package>mysql-common</package>
- </mariadb_10.3>
- <percona_5.5
- description="Percona 5.5 server"
- class="Servers::sqld::percona"
- repository="http://repo.percona.com/apt buster main"
- repository_key_id="0x9334A25F8507EFA5"
- repository_key_srv="keyserver.ubuntu.com"
- pinning_package="libperconaserverclient18 libperconaserverclient18-dev percona-server-client-5.5 percona-server-common-5.5 percona-server-server-5.5"
- pinning_pin="origin repo.percona.com"
- pinning_pin_priority="1001"
- allow_switch="percona_5.6,percona_5.7,remote_server"
- >
- <package>libmysqlclient18</package>
- <package>libperconaserverclient18</package>
- <package>mysql-common</package>
- <package>percona-server-client-5.5</package>
- <package>percona-server-common-5.5</package>
- <package>percona-server-server-5.5</package>
- </percona_5.5>
- <percona_5.6
- description="Percona 5.6 server"
- class="Servers::sqld::percona"
- repository="http://repo.percona.com/apt buster main"
- repository_key_id="0x9334A25F8507EFA5"
- repository_key_srv="keyserver.ubuntu.com"
- pinning_package="libperconaserverclient18.1 libperconaserverclient18.1-dev percona-server-client-5.6 percona-server-common-5.6 percona-server-server-5.6"
- pinning_pin="origin repo.percona.com"
- pinning_pin_priority="1001"
- allow_switch="percona_5.7,remote_server"
- >
- <package>libmysqlclient18</package>
- <package>libperconaserverclient18.1</package>
- <package>mysql-common</package>
- <package>percona-server-client-5.6</package>
- <package>percona-server-common-5.6</package>
- <package>percona-server-server-5.6</package>
- </percona_5.6>
- <percona_5.7
- description="Percona 5.7 server"
- class="Servers::sqld::percona"
- repository="http://repo.percona.com/apt buster main"
- repository_key_id="0x9334A25F8507EFA5"
- repository_key_srv="keyserver.ubuntu.com"
- pinning_package="libperconaserverclient20 libperconaserverclient20-dev percona-server-client-5.7 percona-server-common-5.7 percona-server-server-5.7"
- pinning_pin="origin repo.percona.com"
- pinning_pin_priority="1001"
- allow_switch="remote_server"
- >
- <package>libmysqlclient18</package>
- <package>libperconaserverclient20</package>
- <package>mysql-common</package>
- <package>percona-server-client-5.7</package>
- <package>percona-server-common-5.7</package>
- <package>percona-server-server-5.7</package>
- </percona_5.7>
- <remote_server
- description="Remote SQL server"
- class="Servers::sqld::remote"
- pinning_package="libmysqlclient18 mysql-client-5.5 mysql-common"
- pinning_pin="release o=Debian,n=buster"
- pinning_pin_priority="1001"
- allow_switch="mysql_5.5,mysql_5.6,mysql_5.7,mariadb_10.0,mariadb_10.1,mariadb_10.2,percona_5.5,percona_5.6,percona_5.7"
- >
- <package>libmariadb3</package>
- <package>mariadb-client-10.3</package>
- <package>mariadb-common</package>
- </remote_server>
- </sql>
- <perl>
- <package>perl</package>
- <package>libcrypt-blowfish-perl</package>
- <package>libcrypt-cbc-perl</package>
- <package>libcrypt-eksblowfish-perl</package>
- <package>libcrypt-rijndael-perl</package>
- <package>libdata-validate-ip-perl</package>
- <package>libdate-simple-perl</package>
- <package>libdatetime-perl</package>
- <package>libdbd-mysql-perl</package>
- <package>libdbi-perl</package>
- <package>libemail-valid-perl</package>
- <package>libfile-copy-recursive-perl</package>
- <package>libfile-homedir-perl</package>
- <package>libhash-merge-perl</package>
- <package>libjson-perl</package>
- <package>libmailtools-perl</package>
- <package>libmime-tools-perl</package>
- <package>libnet-dns-perl</package>
- <package>libnet-libidn-perl</package>
- <package>libsort-naturally-perl</package>
- <package>libtimedate-perl</package>
- <package>libunix-mknod-perl</package>
- <package>libwww-perl</package>
- <package>libxml-parser-perl</package>
- <package>libxml-simple-perl</package>
- <package>libdbd-mariadb-perl</package>
- <package>libfile-chmod-perl</package>
- </perl>
- <ssl>
- <package>libssl-dev</package>
- <package>openssl</package>
- </ssl>
- <other>
- <package>apt-src</package>
- <package>at</package>
- <package>bash</package>
- <package>bash-completion</package>
- <package>bzip2</package>
- <package>ca-certificates</package>
- <package>coreutils</package>
- <package>cron</package>
- <package>curl</package>
- <package>devscripts</package>
- <package>dirmngr</package>
- <package>dnsutils</package>
- <package>dpkg-dev</package>
- <package>findutils</package>
- <package>gcc</package>
- <package>git</package>
- <package>gzip</package>
- <package>iptables</package>
- <package>iproute2</package>
- <package>ispell</package>
- <package>libc6-dev</package>
- <package>locales-all</package>
- <package>logrotate</package>
- <package>lzma</package>
- <package>make</package>
- <package>mawk</package>
- <package>ntp</package>
- <package>patch</package>
- <package>pbuilder</package>
- <package>pbzip2</package>
- <package>pigz</package>
- <package>ssh</package>
- <package>sudo</package>
- <package>tar</package>
- <package>unzip</package>
- </other>
- <sendmail>
- <package_conflict>sendmail</package_conflict>
- <package_conflict>sendmail-base</package_conflict>
- <package_conflict>sendmail-bin</package_conflict>
- <package_conflict>sendmail-cf</package_conflict>
- <package_conflict>sendmail-doc</package_conflict>
- </sendmail>
- </packages>
Important note:
During the setup mariadb 10.3 MUST be selected, if the software installer is to be used PHP 7.0 must be installed as the default PHP version.
Installation:
## update see additional stuff ##
I did it the same way, but I can't call the panel, how could I call the nanel because panel.domian.info:8880 doesn't work
-
try with the ip - with :8880...
/J
-
-
it seems AppArmor causes errors with bind when using debian 11 (and other new systems) ...
e.g.
Add function to configure AppArmor (needed to allow use of /etc/bind for zone files)
-
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).Code- engine/PerlLib/Servers/named/bind.pm
- sub _compileZone
- {
- my ( $self, $zone, $filename ) = @_;
- local $UMASK = 027;
- my $rs = execute(
- [
- #$self->{'config'}->{'NAMED_COMPILEZONE'},
- 'named-compilezone',
- '-f', 'text',
- '-F', $self->{'config'}->{'BIND_DB_FORMAT'},
- '-s', 'relative',
- '-o', "$self->{'config'}->{'BIND_DB_MASTER_DIR'}/$zone.db",
- $zone,
- $filename
- ],
- \my $stdout,
- \my $stderr
- );
- debug( $stdout ) if !$rs && length $stdout;
- error( sprintf(
- "Couldn't compile the '%s' DNS zone: %s%s", $zone, $stdout, $stderr
- )) if $rs;
- $rs;
- }
Hope that helps someone hereRegards,
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
Code- nano /usr/local/src/imscp-1.5.3-maintenance-joxi/bind_postinst.sh
- replace everything with:
- #!/bin/sh
- # i-MSCP - internet Multi Server Control Panel
- # Copyright 2022 by Christian Hernmarck <[email protected]>
- #
- # This program is free software; you can redistribute it and/or
- # modify it under the terms of the GNU General Public License
- # as published by the Free Software Foundation; either version 2
- # of the License, or (at your option) any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- set -e
- if [ -f /etc/init.d/named ]; then
- /usr/bin/find /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/bind/bind.data.dist -type f -exec sed -i 's|bind9|named|g' {} \;
- fi
- if [ -f /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/systemd/bind9.service ]; then
- /usr/bin/find /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/systemd/bind9.service -type f -exec sed -i 's|bind9|named|g' {} \;
- fi
- if [ -f /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/systemd/bind9.service ]; then
- /usr/bin/find /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/systemd/bind9.service -type f -exec sed -i 's|multi-user.target|named.service|g' {} \;
- fi
- if [ -f /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/systemd/bind9-resolvconf.service ]; then
- /usr/bin/find /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/systemd/bind9-resolvconf.service -type f -exec sed -i 's|bind9.service|named.service|g' {} \;
- fi
- if [ -f /etc/default/bind9 ]; then
- /usr/bin/mv /etc/default/bind9 /etc/default/named
- fi
- if [ -f /etc/systemd/system/bind9-resolvconf.service ]; then
- /usr/bin/rm /etc/systemd/system/bind9-resolvconf.service
- fi
- if [ -f /etc/systemd/system/bind9.service ]; then
- /usr/bin/rm /etc/systemd/system/bind9.service
- fi
- if [ -f /lib/systemd/system/bind9.service ]; then
- /usr/bin/mv /lib/systemd/system/bind9.service /lib/systemd/system/named.service
- fi
- if [ -f /lib/systemd/system/bind9-resolvconf.service ]; then
- /usr/bin/mv /lib/systemd/system/bind9-resolvconf.service /lib/systemd/system/named-resolvconf.service
- fi
- if [ -f /lib/systemd/system/named.service ]; then
- /usr/bin/find /lib/systemd/system/named.service -type f -exec sed -i 's|bind9|named|g' {} \;
- fi
- if [ -f /lib/systemd/system/named.service ]; then
- /usr/bin/find /lib/systemd/system/named.service -type f -exec sed -i 's|multi-user.target|named.service|g' {} \;
- fi
- if [ -f /lib/systemd/system/named-resolvconf.service ]; then
- /usr/bin/find /lib/systemd/system/named-resolvconf.service -type f -exec sed -i 's|bind9.service|named.service|g' {} \;
- fi
- /usr/bin/ln -s /lib/systemd/system/named-resolvconf.service /etc/systemd/system/bind9-resolvconf.service
- /usr/bin/ln -s /lib/systemd/system/named.service /etc/systemd/system/bind9.service
- if [ -f /etc/default/named ]; then
- /usr/bin/find /etc/default/named -type f -exec sed -i 's|OPTIONS="-u bind"|OPTIONS="-u bind -4"|g' {} \;
- /usr/bin/find /etc/default/named -type f -exec sed -i 's|OPTIONS="-4 -u bind"|OPTIONS="-u bind -4"|g' {} \;
- fi
- /usr/bin/systemctl daemon-reload
-
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
Code- nano /usr/local/src/imscp-1.5.3-maintenance-joxi/bind_postinst.sh
- replace everything with:
- #!/bin/sh
- # i-MSCP - internet Multi Server Control Panel
- # Copyright 2022 by Christian Hernmarck <[email protected]>
- #
- # This program is free software; you can redistribute it and/or
- # modify it under the terms of the GNU General Public License
- # as published by the Free Software Foundation; either version 2
- # of the License, or (at your option) any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- set -e
- if [ -f /etc/init.d/named ]; then
- /usr/bin/find /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/bind/bind.data.dist -type f -exec sed -i 's|bind9|named|g' {} \;
- fi
- if [ -f /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/systemd/bind9.service ]; then
- /usr/bin/find /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/systemd/bind9.service -type f -exec sed -i 's|bind9|named|g' {} \;
- fi
- if [ -f /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/systemd/bind9.service ]; then
- /usr/bin/find /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/systemd/bind9.service -type f -exec sed -i 's|multi-user.target|named.service|g' {} \;
- fi
- if [ -f /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/systemd/bind9-resolvconf.service ]; then
- /usr/bin/find /usr/local/src/imscp-1.5.3-maintenance-joxi/configs/debian/systemd/bind9-resolvconf.service -type f -exec sed -i 's|bind9.service|named.service|g' {} \;
- fi
- if [ -f /etc/default/bind9 ]; then
- /usr/bin/mv /etc/default/bind9 /etc/default/named
- fi
- if [ -f /etc/systemd/system/bind9-resolvconf.service ]; then
- /usr/bin/rm /etc/systemd/system/bind9-resolvconf.service
- fi
- if [ -f /etc/systemd/system/bind9.service ]; then
- /usr/bin/rm /etc/systemd/system/bind9.service
- fi
- if [ -f /lib/systemd/system/bind9.service ]; then
- /usr/bin/mv /lib/systemd/system/bind9.service /lib/systemd/system/named.service
- fi
- if [ -f /lib/systemd/system/bind9-resolvconf.service ]; then
- /usr/bin/mv /lib/systemd/system/bind9-resolvconf.service /lib/systemd/system/named-resolvconf.service
- fi
- if [ -f /lib/systemd/system/named.service ]; then
- /usr/bin/find /lib/systemd/system/named.service -type f -exec sed -i 's|bind9|named|g' {} \;
- fi
- if [ -f /lib/systemd/system/named.service ]; then
- /usr/bin/find /lib/systemd/system/named.service -type f -exec sed -i 's|multi-user.target|named.service|g' {} \;
- fi
- if [ -f /lib/systemd/system/named-resolvconf.service ]; then
- /usr/bin/find /lib/systemd/system/named-resolvconf.service -type f -exec sed -i 's|bind9.service|named.service|g' {} \;
- fi
- /usr/bin/ln -s /lib/systemd/system/named-resolvconf.service /etc/systemd/system/bind9-resolvconf.service
- /usr/bin/ln -s /lib/systemd/system/named.service /etc/systemd/system/bind9.service
- if [ -f /etc/default/named ]; then
- /usr/bin/find /etc/default/named -type f -exec sed -i 's|OPTIONS="-u bind"|OPTIONS="-u bind -4"|g' {} \;
- /usr/bin/find /etc/default/named -type f -exec sed -i 's|OPTIONS="-4 -u bind"|OPTIONS="-u bind -4"|g' {} \;
- fi
- /usr/bin/systemctl daemon-reload
-