Hello, Today I installed ISPConfig 3 on Debian 10 in VMWare with the automatic installer script: github.com/servisys/ispconfig_setup This is the command I have run: cd /tmp; wget -O installer.tgz "{://}github.com/servisys/ispconfig_setup/tarball/master"; tar zxvf installer.tgz; cd *ispconfig*; bash install.sh {://} means https:// (I am a new user so I cannot create links) A message popped up and said that the installation is successful. However, when I go to 192.168.44.129:8080, there is an error: This site can’t be reached 192.168.44.129 unexpectedly closed the connection. ERR_CONNECTION_CLOSED I have opened the 8080 port in ufw rules and checked that the apache2 server is running. There is no error in the VMware console or PuTTY. EDIT: This IP 192.168.44.129 is correct because I use that IP to connect to the ssh server. Thank you for helping me
I would not recommend you to use the script. It is buggy and not really adapted to Debian 10. Use the guide from HowtoForge -> https://www.ispconfig.org/documentation/
Please see here and run the test script and post its output: https://www.howtoforge.com/community/threads/please-read-before-posting.58408/
##### SERVER ##### IP-address (as per hostname): ***.***.***.*** [WARN] could not determine server's ip address by ifconfig [INFO] OS version is Debian GNU/Linux 10 (buster) [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.1.15p3 ##### VERSION CHECK ##### [INFO] php (cli) version is 7.3.19-1~deb10u1 ##### PORT CHECK ##### [WARN] Port 8080 (ISPConfig) seems NOT to be listening [WARN] Port 8081 (ISPConfig Apps) seems NOT to be listening It seems like ISPConfig cannot listen to the IP and ports.
Please take care that you had run the script as root user, and please post the full result of the script. Besides that, how much RAM did you assign to the VMWare machine?
This is the full version of the result, and I have run the script as root user. ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** [WARN] could not determine server's ip address by ifconfig [INFO] OS version is Debian GNU/Linux 10 (buster) [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.1.15p3 ##### VERSION CHECK ##### [INFO] php (cli) version is 7.3.19-1~deb10u1 ##### PORT CHECK ##### [WARN] Port 8080 (ISPConfig) seems NOT to be listening [WARN] Port 8081 (ISPConfig Apps) seems NOT to be listening ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Apache 2 (PID 822) [INFO] I found the following mail server(s): Postfix (PID 1001) [INFO] I found the following pop3 server(s): Dovecot (PID 437) [INFO] I found the following imap server(s): Dovecot (PID 437) [INFO] I found the following ftp server(s): PureFTP (PID 1003) ##### LISTENING PORTS ##### (only () Local (Address) [anywhere]:110 (437/dovecot) [anywhere]:143 (437/dovecot) [anywhere]:465 (1001/master) [anywhere]:21 (1003/pure-ftpd) ***.***.***.***:53 (465/named) [localhost]:53 (465/named) [anywhere]:22 (528/sshd) [anywhere]:25 (1001/master) [localhost]:953 (465/named) [anywhere]:993 (437/dovecot) [anywhere]:995 (437/dovecot) [localhost]:10023 (713/postgrey) [localhost]:10024 (1084/amavisd-new) [localhost]:10025 (1001/master) [localhost]:10026 (1084/amavisd-new) [localhost]:3306 (575/mysqld) [localhost]:10027 (1001/master) [anywhere]:587 (1001/master) [localhost]:11211 (450/memcached) [localhost]10 (437/dovecot) [localhost]43 (437/dovecot) *:*:*:*::*:80 (822/apache2) *:*:*:*::*:465 (1001/master) *:*:*:*::*:21 (1003/pure-ftpd) *:*:*:*::*:53 (465/named) *:*:*:*::*:22 (528/sshd) *:*:*:*::*:25 (1001/master) *:*:*:*::*:953 (465/named) *:*:*:*::*:443 (822/apache2) *:*:*:*::*:993 (437/dovecot) *:*:*:*::*:995 (437/dovecot) *:*:*:*::*:10023 (713/postgrey) *:*:*:*::*:10024 (1084/amavisd-new) *:*:*:*::*:10026 (1084/amavisd-new) *:*:*:*::*:587 (1001/master) ##### IPTABLES ##### Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Also, the virtual machine has 2048 MB RAM. Thank you for your help
Please post the result of the commands: ls -la /etc/apache2/sites-available/ ls -la /etc/apache2/sites-enabled/
First command: total 32 drwxr-xr-x 2 root root 4096 Sep 27 10:36 . drwxr-xr-x 8 root root 4096 Sep 27 10:19 .. -rw-r--r-- 1 root root 1332 Aug 8 15:47 000-default.conf -rw-r--r-- 1 root root 1368 Sep 27 10:36 apps.vhost -rw-r--r-- 1 root root 6338 Aug 8 15:47 default-ssl.conf -rw-r--r-- 1 root root 1975 Sep 27 10:36 ispconfig.conf -rw-r--r-- 1 root root 3883 Sep 27 10:36 ispconfig.vhost Second command: total 8 drwxr-xr-x 2 root root 4096 Sep 27 10:50 . drwxr-xr-x 8 root root 4096 Sep 27 10:19 ..
Strange that the sites-enabled directory is empty, even without ispconfig, the default vhost symlink should be there. Seems as if the directory was emptied after ISPConfig install. Run as root: ln -s /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-enabeld/000-default.conf ln -s /etc/apache2/sites-available/apps.vhost /etc/apache2/sites-enabeld/000-apps.vhost ln -s /etc/apache2/sites-available/ispconfig.vhost /etc/apache2/sites-enabeld/000-ispconfig.vhost ln -s /etc/apache2/sites-available/ispconfig.conf /etc/apache2/sites-enabeld/000-ispconfig.conf service apache2 restart
Thank you very much! I can now connect to the port 8080. However, this error pops up: Your connection is not private NET::ERR_CERT_AUTHORITY_INVALID How to make the SSL valid?
https://www.howtoforge.com/tutorial/securing-ispconfig-3-with-a-free-lets-encrypt-ssl-certificate/ https://www.howtoforge.com/community/threads/lets-encrypt-error-faq.74179/