I lost the access of ISPCONFIG, only apache default page comes on ip:8080

Discussion in 'Installation/Configuration' started by ustunsoz, Feb 10, 2021.

  1. ustunsoz

    ustunsoz New Member

    Non of the php pages including phpmyadmin is accessible only php codes shown as page.
    How can I recover the ISPCONFIG?
     
  2. ustunsoz

    ustunsoz New Member

    Code:
    
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Ubuntu 20.04.2 LTS
    
    [INFO] uptime:  13:21:31 up  1:04,  1 user,  load average: 0.36, 0.30, 0.27
    
    [INFO] memory:
                  total        used        free      shared  buff/cache   available
    Mem:          1.9Gi       1.5Gi        83Mi        10Mi       368Mi       280Mi
    Swap:         2.0Gi       277Mi       1.7Gi
    
    [INFO] systemd failed services status:
      UNIT                        LOAD   ACTIVE SUB    DESCRIPTION
    ● netplan-wpa-wls33.service   loaded failed failed WPA supplicant for netplan wls33
    ● snap.docker.dockerd.service loaded failed failed Service for snap application docker.dockerd
    ● snap.lxd.activate.service   loaded failed failed Service for snap application lxd.activate
    
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    
    3 loaded units listed.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.2
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.4.3
    
    ##### PORT CHECK #####
    
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
            Apache 2 (PID 19714)
    [INFO] I found the following mail server(s):
            Postfix (PID 1622)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 695)
    [INFO] I found the following imap server(s):
            Dovecot (PID 695)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 1704)
    
    ##### LISTENING PORTS #####
    (only           ()
    Local           (Address)
    [anywhere]:445          (1020/smbd)
    [anywhere]:52797                (666/rpc.mountd)
    [anywhere]:36415                (666/rpc.mountd)
    [anywhere]:993          (695/dovecot)
    [anywhere]:2049         (-)
    [anywhere]:995          (695/dovecot)
    [anywhere]:40195                (-)
    [localhost]:10023               (1003/postgrey)
    [localhost]:10024               (1665/amavisd-new)
    [localhost]:10025               (1622/master)
    [localhost]:10026               (1665/amavisd-new)
    [anywhere]:3306         (903/mysqld)
    [localhost]:10027               (1622/master)
    [anywhere]:587          (1622/master)
    [anywhere]:139          (1020/smbd)
    [localhost]:11211               (703/memcached)
    [anywhere]:110          (695/dovecot)
    [anywhere]:143          (695/dovecot)
    [anywhere]:111          (1/init)
    [anywhere]:10000                (1633/perl)
    [anywhere]:465          (1622/master)
    [anywhere]:37905                (666/rpc.mountd)
    [anywhere]:21           (1704/pure-ftpd)
    ***.***.***.***:53              (704/named)
    [localhost]:53          (704/named)
    ***.***.***.***:53              (664/systemd-resolve)
    [anywhere]:22           (818/sshd:)
    [anywhere]:25           (1622/master)
    [localhost]:953         (704/named)
    *:*:*:*::*:443          (19714/apache2)
    *:*:*:*::*:36411                (-)
    *:*:*:*::*:44669                (666/rpc.mountd)
    *:*:*:*::*:445          (1020/smbd)
    *:*:*:*::*:38175                (666/rpc.mountd)
    *:*:*:*::*:993          (695/dovecot)
    *:*:*:*::*:2049         (-)
    *:*:*:*::*:995          (695/dovecot)
    *:*:*:*::*:10024                (1665/amavisd-new)
    *:*:*:*::*:10026                (1665/amavisd-new)
    *:*:*:*::*:587          (1622/master)
    [localhost]39           (1020/smbd)
    [localhost]10           (695/dovecot)
    [localhost]43           (695/dovecot)
    [localhost]11           (1/init)
    *:*:*:*::*:8080         (19714/apache2)
    *:*:*:*::*:80           (19714/apache2)
    [localhost]0000         (1633/perl)
    *:*:*:*::*:8081         (19714/apache2)
    *:*:*:*::*:465          (1622/master)
    *:*:*:*::*:21           (1704/pure-ftpd)
    *:*:*:*::**:*:*:*::*53          (704/named)
    *:*:*:*::*:53           (704/named)
    *:*:*:*::*:22           (818/sshd:)
    *:*:*:*::*:25           (1622/master)
    *:*:*:*::*:55353                (666/rpc.mountd)
    *:*:*:*::*:953          (704/named)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy DROP)
    target     prot opt source               destination
    ufw-before-logging-input  all  --  [anywhere]/0            [anywhere]/0
    ufw-before-input  all  --  [anywhere]/0            [anywhere]/0
    ufw-after-input  all  --  [anywhere]/0            [anywhere]/0
    ufw-after-logging-input  all  --  [anywhere]/0            [anywhere]/0
    ufw-reject-input  all  --  [anywhere]/0            [anywhere]/0
    ufw-track-input  all  --  [anywhere]/0            [anywhere]/0
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination
    ufw-before-logging-forward  all  --  [anywhere]/0            [anywhere]/0
    ufw-before-forward  all  --  [anywhere]/0            [anywhere]/0
    ufw-after-forward  all  --  [anywhere]/0            [anywhere]/0
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    ufw-before-logging-output  all  --  [anywhere]/0            [anywhere]/0
    ufw-before-output  all  --  [anywhere]/0            [anywhere]/0
    ufw-after-output  all  --  [anywhere]/0            [anywhere]/0
    ufw-after-logging-output  all  --  [anywhere]/0            [anywhere]/0
    ufw-reject-output  all  --  [anywhere]/0            [anywhere]/0
    ufw-track-output  all  --  [anywhere]/0            [anywhere]/0
    
    Chain ufw-after-forward (1 references)
    target     prot opt source               destination
    
    Chain ufw-after-input (1 references)
    target     prot opt source               destination
    ufw-skip-to-policy-input  udp  --  [anywhere]/0            [anywhere]/0            udp dpt:137
    ufw-skip-to-policy-input  udp  --  [anywhere]/0            [anywhere]/0            udp dpt:138
    ufw-skip-to-policy-input  tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:139
    ufw-skip-to-policy-input  tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:445
    ufw-skip-to-policy-input  udp  --  [anywhere]/0            [anywhere]/0            udp dpt:67
    ufw-skip-to-policy-input  udp  --  [anywhere]/0            [anywhere]/0            udp dpt:68
    ufw-skip-to-policy-input  all  --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type BROADCAST
    
    Chain ufw-after-logging-forward (1 references)
    target     prot opt source               destination
    LOG        all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
    
    Chain ufw-after-logging-input (1 references)
    target     prot opt source               destination
    LOG        all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
    
    Chain ufw-after-logging-output (1 references)
    target     prot opt source               destination
    
    Chain ufw-after-output (1 references)
    target     prot opt source               destination
    
    Chain ufw-before-forward (1 references)
    target     prot opt source               destination
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 3
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 11
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 12
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 8
    ufw-user-forward  all  --  [anywhere]/0            [anywhere]/0
    Chain ufw-before-input (1 references)
    target     prot opt source               destination
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ufw-logging-deny  all  --  [anywhere]/0            [anywhere]/0            ctstate INVALID
    DROP       all  --  [anywhere]/0            [anywhere]/0            ctstate INVALID
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 3
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 11
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 12
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 8
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp spt:67 dpt:68
    ufw-not-local  all  --  [anywhere]/0            [anywhere]/0
    ACCEPT     udp  --  [anywhere]/0            ***.***.***.***          udp dpt:5353
    ACCEPT     udp  --  [anywhere]/0            ***.***.***.***      udp dpt:1900
    ufw-user-input  all  --  [anywhere]/0            [anywhere]/0
    
    
    
     
  3. ustunsoz

    ustunsoz New Member

    Code:
    [Wed Feb 10 13:58:35.924401 2021] [ssl:info] [pid 19719:tid 140496181630720] [client 10.10.10.133:18610] AH01998: Connection closed to child 71 with abortive shutdown (server acer.home:8080)
    [Wed Feb 10 13:58:36.516220 2021] [ssl:info] [pid 19719:tid 140496173238016] [client 10.10.10.133:18611] AH01964: Connection to child 72 established (server acer.home:8080)
    [Wed Feb 10 13:58:36.516606 2021] [ssl:debug] [pid 19719:tid 140496173238016] ssl_engine_kernel.c(2409): [client 10.10.10.133:18611] AH02645: Server name not provided via TLS extension (using default/first virtual host)
    [Wed Feb 10 13:58:36.516630 2021] [ssl:debug] [pid 19719:tid 140496173238016] ssl_engine_kernel.c(2409): [client 10.10.10.133:18611] AH02645: Server name not provided via TLS extension (using default/first virtual host)
    [Wed Feb 10 13:58:36.516647 2021] [core:debug] [pid 19719:tid 140496173238016] protocol.c(2313): [client 10.10.10.133:18611] AH03155: select protocol from , choices=h2,http/1.1 for server acer.home
    [Wed Feb 10 13:58:36.516722 2021] [ssl:debug] [pid 19719:tid 140496173238016] ssl_util_stapling.c(795): AH01951: stapling_cb: OCSP Stapling callback called
    [Wed Feb 10 13:58:36.516740 2021] [ssl:info] [pid 19719:tid 140496173238016] AH01926: stapling_get_certinfo: stapling not supported for certificate
    [Wed Feb 10 13:58:36.522798 2021] [ssl:debug] [pid 19719:tid 140496198416128] ssl_engine_kernel.c(415): [client 10.10.10.133:18602] AH02034: Subsequent (No.6) HTTPS request received for child 69 (server acer.home:8080)
    [Wed Feb 10 13:58:36.522868 2021] [authz_core:debug] [pid 19719:tid 140496198416128] mod_authz_core.c(817): [client 10.10.10.133:18602] AH01626: authorization result of Require all granted: granted
    [Wed Feb 10 13:58:36.522882 2021] [authz_core:debug] [pid 19719:tid 140496198416128] mod_authz_core.c(817): [client 10.10.10.133:18602] AH01626: authorization result of <RequireAny>: granted
    [Wed Feb 10 13:58:36.523789 2021] [deflate:debug] [pid 19719:tid 140496198416128] mod_deflate.c(854): [client 10.10.10.133:18602] AH01384: Zlib: Compressed 10918 to 3120 : URL /index.html
    [Wed Feb 10 13:58:36.543556 2021] [ssl:info] [pid 19719:tid 140496173238016] [client 10.10.10.133:18611] AH02008: SSL library error 1 in handshake (server acer.home:8080)
    [Wed Feb 10 13:58:36.543607 2021] [ssl:info] [pid 19719:tid 140496173238016] SSL Library Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown (SSL alert number 46)
    [Wed Feb 10 13:58:36.543626 2021] [ssl:info] [pid 19719:tid 140496173238016] [client 10.10.10.133:18611] AH01998: Connection closed to child 72 with abortive shutdown (server acer.home:8080)
    [Wed Feb 10 13:58:37.853122 2021] [ssl:info] [pid 19719:tid 140496156452608] [client 10.10.10.133:18612] AH01964: Connection to child 74 established (server acer.home:8080)
    [Wed Feb 10 13:58:37.853506 2021] [ssl:debug] [pid 19719:tid 140496156452608] ssl_engine_kernel.c(2409): [client 10.10.10.133:18612] AH02645: Server name not provided via TLS extension (using default/first virtual host)
    [Wed Feb 10 13:58:37.853530 2021] [ssl:debug] [pid 19719:tid 140496156452608] ssl_engine_kernel.c(2409): [client 10.10.10.133:18612] AH02645: Server name not provided via TLS extension (using default/first virtual host)
    [Wed Feb 10 13:58:37.853547 2021] [core:debug] [pid 19719:tid 140496156452608] protocol.c(2313): [client 10.10.10.133:18612] AH03155: select protocol from , choices=h2,http/1.1 for server acer.home
    [Wed Feb 10 13:58:37.853644 2021] [ssl:debug] [pid 19719:tid 140496156452608] ssl_util_stapling.c(795): AH01951: stapling_cb: OCSP Stapling callback called
    [Wed Feb 10 13:58:37.853683 2021] [ssl:info] [pid 19719:tid 140496156452608] AH01926: stapling_get_certinfo: stapling not supported for certificate
    [Wed Feb 10 13:58:37.858031 2021] [ssl:debug] [pid 19719:tid 140496148059904] ssl_engine_kernel.c(415): [client 10.10.10.133:18602] AH02034: Subsequent (No.7) HTTPS request received for child 75 (server acer.home:8080)
    [Wed Feb 10 13:58:37.858115 2021] [authz_core:debug] [pid 19719:tid 140496148059904] mod_authz_core.c(817): [client 10.10.10.133:18602] AH01626: authorization result of Require all granted: granted
    [Wed Feb 10 13:58:37.858133 2021] [authz_core:debug] [pid 19719:tid 140496148059904] mod_authz_core.c(817): [client 10.10.10.133:18602] AH01626: authorization result of <RequireAny>: granted
    [Wed Feb 10 13:58:37.881892 2021] [ssl:info] [pid 19719:tid 140496156452608] [client 10.10.10.133:18612] AH02008: SSL library error 1 in handshake (server acer.home:8080)
    [Wed Feb 10 13:58:37.881957 2021] [ssl:info] [pid 19719:tid 140496156452608] SSL Library Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown (SSL alert number 46)
    [Wed Feb 10 13:58:37.881980 2021] [ssl:info] [pid 19719:tid 140496156452608] [client 10.10.10.133:18612] AH01998: Connection closed to child 74 with abortive shutdown (server acer.home:8080)
    [Wed Feb 10 13:58:42.862177 2021] [ssl:debug] [pid 19719:tid 140496139667200] ssl_engine_io.c(1102): [client 10.10.10.133:18602] AH02001: Connection closed to child 76 with standard shutdown (server acer.home:8080)
    [Wed Feb 10 14:00:08.337429 2021] [authz_core:debug] [pid 19719:tid 140496122881792] mod_authz_core.c(817): [client 127.0.0.1:42366] AH01626: authorization result of Require all granted: granted
    [Wed Feb 10 14:00:08.337469 2021] [authz_core:debug] [pid 19719:tid 140496122881792] mod_authz_core.c(817): [client 127.0.0.1:42366] AH01626: authorization result of <RequireAny>: granted
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This does not happen out of the blue. What did you do before this happened?
     
  5. ustunsoz

    ustunsoz New Member

    tried to add nginx and messed up
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You can't run Apache and Nginx at the same time. Remove nginx and then go trough the perfect server guide again to install all apache components.
     
  7. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    And when you did that, do a force update and reconfigure your services:
    Code:
    ispconfig_update.sh --force
     

Share This Page