Since you have shell access, you can repair the problem. But if you have changed file owners and permissions you should repair those first. How did you set up 4 websites if ISPConfig is not working? Is the previous thread you started unrelated to the current problem? Have you followed the read before posting instructions?
This thread is unrelated to the other, I had started again before and had everything working, set up the websites, and this happened, again without me changing any file/folder ownership or permissions, I only changed the permissions on the 3 folders in /usr/local/ispconfig to try and restore the backup. I have changed the permissions back to what they were, but that hasn't resolved the problem.
Then start resolving the problem. Have you done the read before posting instructions? What exactly was done when the problem appeared? Have you read the instructions already given in this thread for troubleshooting?
I have not done the 'read before posting' were can I find that? I have tried the instructions already given in this thread.
It is the first sticky message in this forum. https://www.howtoforge.com/community/threads/please-read-before-posting.58408/ Do those, then describe exactly what you do and what does not work.
Seems to me like the problem could be that port 8080 is not listening? Code: ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** IP-address(es) (as per ifconfig): ***.***.***.*** [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.1.12 ##### VERSION CHECK ##### [INFO] php (cli) version is 7.0.30-0ubuntu***.***.***.*** ##### PORT CHECK ##### [WARN] Port 8080 (ISPConfig) seems NOT to be listening [WARN] Port 8081 (ISPConfig Apps) seems NOT to be listening [WARN] Port 443 (Webserver SSL) seems NOT to be listening [WARN] Port 143 (IMAP server) seems NOT to be listening [WARN] Port 993 (IMAP server SSL) seems NOT to be listening [WARN] Port 110 (POP3 server) seems NOT to be listening [WARN] Port 995 (POP3 server SSL) seems NOT to be listening ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Apache 2 (PID 8861) [INFO] I found the following mail server(s): Postfix (PID 1987) [WARN] I could not determine which pop3 server is running. [WARN] I could not determine which imap server is running. [INFO] I found the following ftp server(s): PureFTP (PID 1893) ##### LISTENING PORTS ##### (only () Local (Address) [anywhere]:22 (1075/sshd) [anywhere]:25 (1987/master) [localhost]:953 (1162/named) [localhost]:10023 (1593/postgrey.pid) [localhost]:10024 (2819/amavisd-new) [localhost]:10025 (1987/master) [localhost]:10026 (2819/amavisd-new) [localhost]:10027 (1987/master) [anywhere]:587 (1987/master) [localhost]:11211 (1081/memcached) [anywhere]:465 (1987/master) [anywhere]:21 (1893/pure-ftpd) ***.***.***.***:53 (1162/named) [localhost]:53 (1162/named) *:*:*:*::*:22 (1075/sshd) *:*:*:*::*:25 (1987/master) *:*:*:*::*:953 (1162/named) *:*:*:*::*:10023 (1593/postgrey.pid) *:*:*:*::*:10024 (2819/amavisd-new) *:*:*:*::*:10026 (2819/amavisd-new) *:*:*:*::*:3306 (1591/mysqld) *:*:*:*::*:587 (1987/master) *:*:*:*::*:80 (8861/apache2) *:*:*:*::*:465 (1987/master) *:*:*:*::*:21 (1893/pure-ftpd) *:*:*:*::*:53 (1162/named) ##### 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
See https://www.howtoforge.com/community/threads/port-8080-ispconfig-seems-not-to-be-listening.78947/
Code: root@tribe1:/var/backup/ispconfig_tribe1.tribalcs.co.za_2018-08-10_12-22# cd root@tribe1:~# apachectl -S VirtualHost configuration: *:80 is a NameVirtualHost default server tribe1.tribalcs.co.za (/etc/apache2/sites-enabled/000-default.conf:1) port 80 namevhost tribe1.tribalcs.co.za (/etc/apache2/sites-enabled/000-default.conf:1) port 80 namevhost leslie.com (/etc/apache2/sites-enabled/leslie.conf:1) wild alias *.leslie.com ServerRoot: "/etc/apache2" Main DocumentRoot: "/var/www/html" Main ErrorLog: "/var/log/apache2/error.log" Mutex default: dir="/var/lock/apache2" mechanism=fcntl Mutex watchdog-callback: using_defaults PidFile: "/var/run/apache2/apache2.pid" Define: DUMP_VHOSTS Define: DUMP_RUN_CFG User: name="www-data" id=33 Group: name="www-data" id=33 I don't seem to have a ispconfig.vhost file ?
Looks like it, yes. Make sure with Code: ls -lh /etc/apache2/sites*/*ispconfig* Do you have backups to restore /etc/apache2/sites-available/ispconfig.vhost ? I don't know what makes that file, but it is indeed necessary. Also ispconfig.conf in the same directory. If ispconfig.vhost is missing only from /etc/apache2/sites-enabled/ it only needs a2ensite -command to get it back.