I wanted to get the perfect install !!! I made a new fresh install, but i have got something strange ! Step 21 Install ISPConfig : 2 lignes have been added if I compare with the tutorial Code: Creating new DHParams file, this takes several minutes. Do not interrupt the script. [INFO] service Rspamd not detected Code: Email Address []: Configuring Mailman Configuring Dovecot Creating new DHParams file, this takes several minutes. Do not interrupt the script. Configuring Spamassassin Configuring Amavisd [INFO] service Rspamd not detected Configuring Getmail Configuring Jailkit Configuring Pureftpd Configuring BIND Configuring Apache Configuring vlogger [INFO] service OpenVZ not detected Configuring Ubuntu Firewall [INFO] service Metronome XMPP Server not detected Configuring Fail2ban Configuring Apps vhost Installing ISPConfig ISPConfig Port [8080]: If I check Rspamd after the install I get this : Code: root@vps123456:~# systemctl status rspamd Unit rspamd.service could not be found. Can we solve ? or I need one more fresh install ? Thanks
Default perfect server uses amavis, not rspamd. So this message is normal on newest ISPConfig. If you want to switch to rspamd, see https://www.howtoforge.com/replacing-amavisd-with-rspamd-in-ispconfig/
Then follow the perfect server tutorial. That's ok and as it should be as the guides use amavisd, so rspamd is and should not be installed in this guide. ISPConfig supports different alternative software for various purposes, so you will and shall not have all alternatives installed at the same time. If you want to switch from amavisd to rspamd, which is optional, then follow the guide that @Croydon posted.
No that's fine, just wanted to know if I have done something wrong because it was not in the tutorial list. I did it and now I am not so far I didn't get any error during the install except with Jailkit : Code: jk_socketd.c:121:2: warning: ‘strncpy’ specified bound 108 equals destination size [-Wstringop-truncation] strncpy(serv_addr.sun_path, sl->inpath, sizeof(serv_addr.sun_path)); Code: jk_lsh.c:240:10: warning: variable ‘oldumask’ set but not used [-Wunused-but-set-variable] mode_t oldumask; Code: jk_lsh.c:128:14: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] newpath = strncpy(newpath, *path, tlen); Code: dh_testdir dh_testroot dh_installchangelogs dh_installchangelogs: warning: debian/changelog(l9): badly formatted heading line LINE: -- Olivier <olivier@marshall> Wed, 18 Nov 2015 20:38:44 +0100 dh_installchangelogs: warning: debian/changelog(l11): found start of entry where expected more change data or trailer LINE: jailkit (2.18-1) UNRELEASED; urgency=medium dh_installchangelogs: warning: debian/changelog(l11): found end of file where expected more change data or trailer And more errors below in the full code... I followed the tutorial but I get these errors :
Code: root@vps123456:/tmp# cd jailkit-2.20 root@vps123456:/tmp/jailkit-2.20# echo 5 > debian/compat root@vps123456:/tmp/jailkit-2.20# ./debian/rules binary dh_testdir # Here the commands to configure the package. CFLAGS="-Wall -g -O2" ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --sysconfdir=/etc --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info checking for x86_64-linux-gnu-gcc... x86_64-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-linux-gnu-gcc accepts -g... yes checking for x86_64-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-linux-gnu-gcc... (cached) x86_64-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking for library containing strerror... none required checking for inline... inline checking for a BSD-compatible install... /usr/bin/install -c checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking wordexp.h usability... yes checking wordexp.h presence... yes checking for wordexp.h... yes checking liberty.h usability... no checking liberty.h presence... no checking for liberty.h... no checking for strings.h... (cached) yes checking for strnlen... yes checking for wordexp... yes checking for clearenv... yes checking for get_current_dir_name... yes checking for strndup... yes checking for mempcpy... yes checking for stpcpy... yes checking for pthread support... use -pthread checking for recvfrom... yes checking for send... yes checking for nanosleep... yes checking for getopt_long... yes checking sys/capability.h usability... no checking sys/capability.h presence... no checking for sys/capability.h... no checking for cap_get_proc... no checking for cap_get_proc in -lcap... no checking for python... /usr/bin/python checking for up to date python... checking for up to date python... ok checking for procmail... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating py/Makefile config.status: creating man/Makefile config.status: creating src/config.h # Here the commands to compile the arch part of the package. /usr/bin/make make[1]: Entering directory '/tmp/jailkit-2.20' make[2]: Entering directory '/tmp/jailkit-2.20/src' x86_64-linux-gnu-gcc -Wall -g -O2 -pthread -DINIPREFIX=\"/etc/jailkit\" -c -o jk_socketd.o jk_socketd.c jk_socketd.c: In function ‘new_socketlink’: jk_socketd.c:121:2: warning: ‘strncpy’ specified bound 108 equals destination size [-Wstringop-truncation] strncpy(serv_addr.sun_path, sl->inpath, sizeof(serv_addr.sun_path)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -Wall -g -O2 -pthread -DINIPREFIX=\"/etc/jailkit\" -c -o jk_lib.o jk_lib.c x86_64-linux-gnu-gcc -Wall -g -O2 -pthread -DINIPREFIX=\"/etc/jailkit\" -c -o utils.o utils.c x86_64-linux-gnu-gcc -Wall -g -O2 -pthread -DINIPREFIX=\"/etc/jailkit\" -c -o iniparser.o iniparser.c x86_64-linux-gnu-gcc -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o -pthread x86_64-linux-gnu-gcc -Wall -g -O2 -pthread -DINIPREFIX=\"/etc/jailkit\" -c -o jk_lsh.o jk_lsh.c jk_lsh.c: In function ‘main’: jk_lsh.c:240:10: warning: variable ‘oldumask’ set but not used [-Wunused-but-set-variable] mode_t oldumask; ^~~~~~~~ In function ‘expand_executable_w_path’, inlined from ‘main’ at jk_lsh.c:273:8: jk_lsh.c:128:14: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] newpath = strncpy(newpath, *path, tlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jk_lsh.c: In function ‘main’: jk_lsh.c:125:15: note: length computed here int tlen = strlen(*path); ^~~~~~~~~~~~~ In function ‘expand_executable_w_path’, inlined from ‘main’ at jk_lsh.c:273:8: jk_lsh.c:133:14: warning: ‘strncat’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] newpath = strncat(newpath, executable, elen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jk_lsh.c: In function ‘main’: jk_lsh.c:122:14: note: length computed here int elen = strlen(executable); ^~~~~~~~~~~~~~~~~~
Code: x86_64-linux-gnu-gcc -Wall -g -O2 -pthread -DINIPREFIX=\"/etc/jailkit\" -c -o wordexp.o wordexp.c x86_64-linux-gnu-gcc -o jk_lsh jk_lsh.o iniparser.o jk_lib.o utils.o wordexp.o -pthread x86_64-linux-gnu-gcc -Wall -g -O2 -pthread -DINIPREFIX=\"/etc/jailkit\" -c -o jk_chrootsh.o jk_chrootsh.c x86_64-linux-gnu-gcc -Wall -g -O2 -pthread -DINIPREFIX=\"/etc/jailkit\" -c -o passwdparser.o passwdparser.c x86_64-linux-gnu-gcc -o jk_chrootsh jk_chrootsh.o iniparser.o jk_lib.o utils.o passwdparser.o -pthread x86_64-linux-gnu-gcc -Wall -g -O2 -pthread -DINIPREFIX=\"/etc/jailkit\" -c -o jk_chrootlaunch.o jk_chrootlaunch.c x86_64-linux-gnu-gcc -o jk_chrootlaunch jk_chrootlaunch.o jk_lib.o utils.o -pthread x86_64-linux-gnu-gcc -Wall -g -O2 -pthread -DINIPREFIX=\"/etc/jailkit\" -c -o jk_uchroot.o jk_uchroot.c x86_64-linux-gnu-gcc -o jk_uchroot jk_uchroot.o iniparser.o jk_lib.o utils.o -pthread make[2]: Leaving directory '/tmp/jailkit-2.20/src' make[2]: Entering directory '/tmp/jailkit-2.20/py' sed -e "s!PREFIX='/usr'!PREFIX='/usr'!" \ -e "s!INIPREFIX='/etc/jailkit'!INIPREFIX='/etc/jailkit'!" \ -e "s!LIBDIR='[a-z/]*'!LIBDIR='/usr/share/jailkit'!" \ -e "s!EXEPREFIX='[a-z/]*'!EXEPREFIX='/usr'!" \ -e "s:#!/usr/bin/python:#!/usr/bin/python:" < jk_cp.in > jk_cp sed -e "s!PREFIX='/usr'!PREFIX='/usr'!" \ -e "s!INIPREFIX='/etc/jailkit'!INIPREFIX='/etc/jailkit'!" \ -e "s!LIBDIR='[a-z/]*'!LIBDIR='/usr/share/jailkit'!" \ -e "s!EXEPREFIX='[a-z/]*'!EXEPREFIX='/usr'!" \ -e "s:#!/usr/bin/python:#!/usr/bin/python:" < jk_init.in > jk_init sed -e "s!PREFIX='/usr'!PREFIX='/usr'!" \ -e "s!INIPREFIX='/etc/jailkit'!INIPREFIX='/etc/jailkit'!" \ -e "s!LIBDIR='[a-z/]*'!LIBDIR='/usr/share/jailkit'!" \ -e "s!EXEPREFIX='[a-z/]*'!EXEPREFIX='/usr'!" \ -e "s:#!/usr/bin/python:#!/usr/bin/python:" < jk_check.in > jk_check sed -e "s!PREFIX='/usr'!PREFIX='/usr'!" \ -e "s!INIPREFIX='/etc/jailkit'!INIPREFIX='/etc/jailkit'!" \ -e "s!LIBDIR='[a-z/]*'!LIBDIR='/usr/share/jailkit'!" \ -e "s!EXEPREFIX='[a-z/]*'!EXEPREFIX='/usr'!" \ -e "s:#!/usr/bin/python:#!/usr/bin/python:" < jk_addjailuser.in > jk_addjailuser sed -e "s!PREFIX='/usr'!PREFIX='/usr'!" \ -e "s!INIPREFIX='/etc/jailkit'!INIPREFIX='/etc/jailkit'!" \ -e "s!LIBDIR='[a-z/]*'!LIBDIR='/usr/share/jailkit'!" \ -e "s!EXEPREFIX='[a-z/]*'!EXEPREFIX='/usr'!" \ -e "s:#!/usr/bin/python:#!/usr/bin/python:" < jk_jailuser.in > jk_jailuser sed -e "s!PREFIX='/usr'!PREFIX='/usr'!" \ -e "s!INIPREFIX='/etc/jailkit'!INIPREFIX='/etc/jailkit'!" \ -e "s!LIBDIR='[a-z/]*'!LIBDIR='/usr/share/jailkit'!" \ -e "s!EXEPREFIX='[a-z/]*'!EXEPREFIX='/usr'!" \ -e "s:#!/usr/bin/python:#!/usr/bin/python:" < jk_list.in > jk_list sed -e "s!PREFIX='/usr'!PREFIX='/usr'!" \ -e "s!INIPREFIX='/etc/jailkit'!INIPREFIX='/etc/jailkit'!" \ -e "s!LIBDIR='[a-z/]*'!LIBDIR='/usr/share/jailkit'!" \ -e "s!EXEPREFIX='[a-z/]*'!EXEPREFIX='/usr'!" \ -e "s:#!/usr/bin/python:#!/usr/bin/python:" < jk_update.in > jk_update /usr/bin/python -c "import py_compile;py_compile.compile('jk_lib.py')" make[2]: Leaving directory '/tmp/jailkit-2.20/py' make[2]: Entering directory '/tmp/jailkit-2.20/man' gzip -9 < jailkit.8 > jailkit.8.gz gzip -9 < jk_chrootsh.8 > jk_chrootsh.8.gz gzip -9 < jk_uchroot.8 > jk_uchroot.8.gz gzip -9 < jk_lsh.8 > jk_lsh.8.gz gzip -9 < jk_socketd.8 > jk_socketd.8.gz gzip -9 < jk_init.8 > jk_init.8.gz gzip -9 < jk_check.8 > jk_check.8.gz gzip -9 < jk_cp.8 > jk_cp.8.gz gzip -9 < jk_chrootlaunch.8 > jk_chrootlaunch.8.gz gzip -9 < jk_addjailuser.8 > jk_addjailuser.8.gz gzip -9 < jk_jailuser.8 > jk_jailuser.8.gz gzip -9 < jk_list.8 > jk_list.8.gz gzip -9 < jk_update.8 > jk_update.8.gz make[2]: Leaving directory '/tmp/jailkit-2.20/man' make[1]: Leaving directory '/tmp/jailkit-2.20' touch build-arch-stamp
Code: dh_testdir dh_testroot dh_clean -k -s dh_clean: Compatibility levels before 9 are deprecated (level 5 in use) dh_clean: -s/--same-arch is deprecated; please use -a/--arch instead dh_clean: This feature will be removed in compat 12. dh_clean: dh_clean -k is deprecated; use dh_prep instead dh_clean: This feature will be removed in compat 12. dh_installdirs -s dh_installdirs: Compatibility levels before 9 are deprecated (level 5 in use) dh_installdirs: -s/--same-arch is deprecated; please use -a/--arch instead dh_installdirs: This feature will be removed in compat 12. # Here the commands to install the arch part of the package into # /tmp/jailkit-2.20/debian/ cd src && /usr/bin/make install prefix=/tmp/jailkit-2.20/debian/jailkit/usr make[1]: Entering directory '/tmp/jailkit-2.20/src' /usr/bin/install -c -d -m 755 /tmp/jailkit-2.20/debian/jailkit/usr /usr/bin/install -c -d -m 755 /tmp/jailkit-2.20/debian/jailkit/usr/bin /usr/bin/install -c -d -m 755 /tmp/jailkit-2.20/debian/jailkit/usr/sbin /usr/bin/install -c -m 0755 jk_socketd /tmp/jailkit-2.20/debian/jailkit/usr/sbin/ /usr/bin/install -c -m 0755 jk_chrootlaunch /tmp/jailkit-2.20/debian/jailkit/usr/sbin/ /usr/bin/install -c -m 0755 jk_lsh /tmp/jailkit-2.20/debian/jailkit/usr/sbin/ /usr/bin/install -c -m 4755 jk_chrootsh /tmp/jailkit-2.20/debian/jailkit/usr/sbin/ /usr/bin/install -c -m 4755 jk_uchroot /tmp/jailkit-2.20/debian/jailkit/usr/bin/ if [ -z "#" ]; then \ /usr/bin/install -c -m 4755 jk_procmailwrapper /tmp/jailkit-2.20/debian/jailkit/usr/sbin/ ;\ fi make[1]: Leaving directory '/tmp/jailkit-2.20/src' cd man && /usr/bin/make install prefix=/tmp/jailkit-2.20/debian/jailkit/usr make[1]: Entering directory '/tmp/jailkit-2.20/man' /usr/bin/install -c -d -m 755 /tmp/jailkit-2.20/debian/jailkit/usr/share/man/man8/ for file in jailkit.8.gz jk_chrootsh.8.gz jk_uchroot.8.gz jk_lsh.8.gz jk_socketd.8.gz jk_init.8.gz jk_check.8.gz jk_cp.8.gz jk_chrootlaunch.8.gz jk_addjailuser.8.gz jk_jailuser.8.gz jk_list.8.gz jk_update.8.gz ; do \ /usr/bin/install -c -m 0644 ${file} /tmp/jailkit-2.20/debian/jailkit/usr/share/man/man8/ ;\ done make[1]: Leaving directory '/tmp/jailkit-2.20/man' cd py && /usr/bin/make install prefix=/tmp/jailkit-2.20/debian/jailkit/usr make[1]: Entering directory '/tmp/jailkit-2.20/py' /usr/bin/install -c -d -m 755 /tmp/jailkit-2.20/debian/jailkit/usr/sbin for file in jk_cp jk_init jk_check jk_addjailuser jk_jailuser jk_list jk_update; do \ /usr/bin/install -c -m 0755 ${file} /tmp/jailkit-2.20/debian/jailkit/usr/sbin/ ; \ done /usr/bin/install -c -d -m 755 /tmp/jailkit-2.20/debian/jailkit/usr/share/jailkit /usr/bin/install -c -m 0644 jk_lib.py /tmp/jailkit-2.20/debian/jailkit/usr/share/jailkit/ /usr/bin/install -c -m 0644 jk_lib.pyc /tmp/jailkit-2.20/debian/jailkit/usr/share/jailkit/ make[1]: Leaving directory '/tmp/jailkit-2.20/py' install -m 644 ini/*.ini /tmp/jailkit-2.20/debian/jailkit/etc/jailkit/ install -m 755 extra/jailkit /tmp/jailkit-2.20/debian/jailkit/etc/init.d/ install -m 644 debian/lintian.override /tmp/jailkit-2.20/debian/jailkit/usr/share/lintian/overrides/jailkit dh_install -s dh_install: Compatibility levels before 9 are deprecated (level 5 in use) dh_install: -s/--same-arch is deprecated; please use -a/--arch instead dh_install: This feature will be removed in compat 12. /usr/bin/make -f debian/rules DH_OPTIONS=-a binary-common make[1]: Entering directory '/tmp/jailkit-2.20' dh_testdir dh_testroot dh_installchangelogs dh_installchangelogs: warning: debian/changelog(l9): badly formatted heading line LINE: -- Olivier <olivier@marshall> Wed, 18 Nov 2015 20:38:44 +0100 dh_installchangelogs: warning: debian/changelog(l11): found start of entry where expected more change data or trailer LINE: jailkit (2.18-1) UNRELEASED; urgency=medium dh_installchangelogs: warning: debian/changelog(l11): found end of file where expected more change data or trailer dh_installchangelogs: Compatibility levels before 9 are deprecated (level 5 in use) dh_installdocs dh_installdocs: Compatibility levels before 9 are deprecated (level 5 in use) dh_installexamples dh_installexamples: Compatibility levels before 9 are deprecated (level 5 in use) dh_installinit dh_installinit: Compatibility levels before 9 are deprecated (level 5 in use) dh_installman dh_installman: Compatibility levels before 9 are deprecated (level 5 in use) dh_link dh_strip dh_strip: Compatibility levels before 9 are deprecated (level 5 in use) dh_compress dh_compress: Compatibility levels before 9 are deprecated (level 5 in use) dh_fixperms --exclude jk_chrootsh --exclude jk_procmailwrapper dh_makeshlibs dh_installdeb dh_installdeb: Compatibility levels before 9 are deprecated (level 5 in use) dh_shlibdeps dh_shlibdeps: Compatibility levels before 9 are deprecated (level 5 in use) dh_gencontrol dpkg-gencontrol: warning: debian/changelog(l9): badly formatted heading line LINE: -- Olivier <olivier@marshall> Wed, 18 Nov 2015 20:38:44 +0100 dpkg-gencontrol: warning: debian/changelog(l11): found start of entry where expected more change data or trailer LINE: jailkit (2.18-1) UNRELEASED; urgency=medium dpkg-gencontrol: warning: debian/changelog(l11): found end of file where expected more change data or trailer dpkg-gencontrol: warning: debian/changelog(l9): badly formatted heading line LINE: -- Olivier <olivier@marshall> Wed, 18 Nov 2015 20:38:44 +0100 dpkg-gencontrol: warning: debian/changelog(l11): found start of entry where expected more change data or trailer LINE: jailkit (2.18-1) UNRELEASED; urgency=medium dpkg-gencontrol: warning: debian/changelog(l11): found end of file where expected more change data or trailer dh_md5sums dh_builddeb dpkg-deb: building package 'jailkit' in '../jailkit_2.20-1_amd64.deb'. dpkg-deb: building package 'jailkit-dbgsym' in '../jailkit-dbgsym_2.20-1_amd64.deb'. make[1]: Leaving directory '/tmp/jailkit-2.20' root@vps123456:/tmp/jailkit-2.20# root@vps123456:/tmp/jailkit-2.20# cd .. root@vps123456:/tmp# dpkg -i jailkit_2.20-1_*.deb Selecting previously unselected package jailkit. (Reading database ... 60472 files and directories currently installed.) Preparing to unpack jailkit_2.20-1_amd64.deb ... Unpacking jailkit (2.20-1) ... Setting up jailkit (2.20-1) ... Processing triggers for systemd (241-7~deb10u1) ... Processing triggers for man-db (2.8.5-2) ... root@vps123456:/tmp# rm -rf jailkit-2.20* root@vps123456:/tmp#