Hey all. All of a sudden, I can't access ispconfig on port 8080. "This site can't be reached" Have no idea what could happen, since the last time I accessed it ( maybe a week ago). What's weird is that I can access webmin(10000) or the default apache(80) on the same server... How do I get apache to listen on port 8080 ? As it clearly is not listening on port 8080.... apache2ctl -S gives me: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:73 VirtualHost configuration: *:80 xxx.domain.xxx (/etc/apache2/sites-enabled/000-default.conf:1) ServerRoot: "/etc/apache2" Main DocumentRoot: "/var/www/html" Main ErrorLog: "/var/log/apache2/error.log" Mutex rewrite-map: using_defaults Mutex ssl-stapling-refresh: using_defaults Mutex fcgid-proctbl: using_defaults Mutex ssl-stapling: using_defaults Mutex ssl-cache: using_defaults Mutex default: dir="/var/run/apache2/" mechanism=default Mutex mpm-accept: using_defaults Mutex fcgid-pipe: using_defaults Mutex watchdog-callback: using_defaults PidFile: "/var/run/apache2/apache2.pid" Define: DUMP_VHOSTS Define: DUMP_RUN_CFG Define: ENABLE_USR_LIB_CGI_BIN User: name="www-data" id=33 not_used Group: name="www-data" id=33 not_used The test script: ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** IP-address(es) (as per ifconfig): ***.***.***.*** [INFO] OS version is Ubuntu 16.04.7 LTS [INFO] ISPConfig is installed. [WARN] /usr/local/ispconfig/server/lib/config.inc.php is missing. ##### VERSION CHECK ##### [INFO] php (cli) version is 7.0.33-0ubuntu***.***.***.*** ##### PORT CHECK ##### [WARN] Port 8080 (ISPConfig) seems NOT to be listening [WARN] Port 8081 (ISPConfig Apps) seems NOT to be listening [WARN] Port 21 (FTP server) seems NOT to be listening ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [WARN] I could not determine which web server is running. [WARN] I could not determine which mail server is running. [WARN] I could not determine which pop3 server is running. [WARN] I could not determine which imap server is running. [WARN] I could not determine which ftp server is running. ##### LISTENING PORTS ##### (only () Local (Address) [anywhere]:993 (-) [anywhere]:995 (-) [localhost]:10023 (-) [localhost]:10024 (-) [localhost]:10025 (-) [localhost]:10026 (-) [localhost]:10027 (-) [anywhere]:587 (-) [localhost]:11211 (-) [anywhere]:110 (-) [anywhere]:143 (-) [anywhere]:10000 (-) [anywhere]:465 (-) ***.***.***.***:53 (-) [localhost]:53 (-) [anywhere]:22 (-) [anywhere]:25 (-) [localhost]:953 (-) *:*:*:*::*:993 (-) *:*:*:*::*:995 (-) *:*:*:*::*:10023 (-) *:*:*:*::*:3306 (-) *:*:*:*::*:587 (-) [localhost]10 (-) [localhost]43 (-) *:*:*:*::*:80 (-) [localhost]0000 (-) *:*:*:*::*:465 (-) *:*:*:*::*:53 (-) *:*:*:*::*:22 (-) *:*:*:*::*:25 (-) *:*:*:*::*:953 (-) *:*:*:*::*:443 (-) ##### IPTABLES ##### ls -lh /etc/apache2/sites-enabled/ total 0 lrwxrwxrwx 1 root root 39 Feb 14 2019 000-apps.vhost -> /etc/apache2/sites-available/apps.vhost lrwxrwxrwx 1 root root 35 Feb 14 2019 000-default.conf -> ../sites-available/000-default.conf lrwxrwxrwx 1 root root 43 Feb 14 2019 000-ispconfig.conf -> /etc/apache2/sites-available/ispconfig.conf lrwxrwxrwx 1 root root 44 Feb 14 2019 000-ispconfig.vhost -> /etc/apache2/sites-available/ispconfig.vhost Any help, please? I'm only managing emails on domain, but I really don't want to reinstall the whole thing, as it is a production server. Thank you!
Maybe you did not run the test script as root user? The script must be run as root, if run as another user, you will get false results.
Thank you till. Awesome response time. See the next post, please. Is there any other information that may help you help me ?
oooppsss..... my bad... here is the script ran as root ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** IP-address(es) (as per ifconfig): ***.***.***.*** [INFO] OS version is Ubuntu 16.04.7 LTS [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.1dev ##### VERSION CHECK ##### [INFO] php (cli) version is 7.0.33-0ubuntu***.***.***.*** ##### PORT CHECK ##### [WARN] Port 8080 (ISPConfig) seems NOT to be listening [WARN] Port 8081 (ISPConfig Apps) seems NOT to be listening [WARN] Port 21 (FTP server) seems NOT to be listening ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Apache 2 (PID 4464) [INFO] I found the following mail server(s): Postfix (PID 2327) [INFO] I found the following pop3 server(s): Dovecot (PID 1643) [INFO] I found the following imap server(s): Dovecot (PID 1643) [WARN] I could not determine which ftp server is running. ##### LISTENING PORTS ##### (only () Local (Address) [anywhere]:993 (1643/dovecot) [anywhere]:995 (1643/dovecot) [localhost]:10023 (1914/postgrey.pid) [localhost]:10024 (2078/amavisd-new) [localhost]:10025 (2327/master) [localhost]:10026 (2078/amavisd-new) [localhost]:10027 (2327/master) [anywhere]:587 (2327/master) [localhost]:11211 (1628/memcached) [anywhere]:110 (1643/dovecot) [anywhere]:143 (1643/dovecot) [anywhere]:10000 (2349/perl) [anywhere]:465 (2327/master) ***.***.***.***:53 (1595/named) [localhost]:53 (1595/named) [anywhere]:22 (1640/sshd) [anywhere]:25 (2327/master) [localhost]:953 (1595/named) *:*:*:*::*:993 (1643/dovecot) *:*:*:*::*:995 (1643/dovecot) *:*:*:*::*:10023 (1914/postgrey.pid) *:*:*:*::*:3306 (1976/mysqld) *:*:*:*::*:587 (2327/master) [localhost]10 (1643/dovecot) [localhost]43 (1643/dovecot) *:*:*:*::*:80 (4464/apache2) [localhost]0000 (2349/perl) *:*:*:*::*:465 (2327/master) *:*:*:*::*:53 (1595/named) *:*:*:*::*:22 (1640/sshd) *:*:*:*::*:25 (2327/master) *:*:*:*::*:953 (1595/named) *:*:*:*::*:443 (4464/apache2) ##### IPTABLES ##### Chain INPUT (policy ACCEPT) target prot opt source destination f2b-dovecot-pop3imap tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143,993 f2b-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25 f2b-sshd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22 Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain f2b-dovecot-pop3imap (1 references) target prot opt source destination REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable RETURN all -- [anywhere]/0 [anywhere]/0 Chain f2b-postfix-sasl (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain f2b-sshd (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0
grep Include /etc/apache2/apache2.conf # Include module configuration: IncludeOptional mods-enabled/*.load IncludeOptional mods-enabled/*.conf # Include list of ports to listen on Include ports.conf # Include of directories ignores editors' and dpkg's backup files, # Include generic snippets of statements IncludeOptional conf-enabled/*.conf # Include the virtual host configurations: IncludeOptional sites-enabled/*.conf
Change the line: IncludeOptional sites-enabled/*.conf to IncludeOptional sites-enabled/ and restart apache.