[SOLVED] Websites took too long to respond

Discussion in 'Installation/Configuration' started by Brian Datacore, May 24, 2023.

  1. Brian Datacore

    Brian Datacore New Member

    The ISPConfig server ("Perfect server") randomly just stopped responding to requests and externally I get "so n so's website took too long to respond".
    I rebooted the server, verified it has no firewalls on, rebooted the firewall, verified route/port rules on the firewall are correct, checked the IP tables, cleared arp on the firewall, and checked with the datacenter everything was alright with our handoff.
    Internally I am able to get to the server and its websites if I make manual DNS records. The server itself is able to see the internet and install packages no issues.
    At this point I am ready to just blow out the server and rebuild it.
    Any recommendations?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. Brian Datacore

    Brian Datacore New Member

    Ubuntu 20.04.3 LTS
    PHP 7.4.3-4ubuntu2.18
    ISPConfig 3.2.7p1
    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Ubuntu 20.04.3 LTS
    
    [INFO] uptime:  11:36:40 up 15:51,  1 user,  load average: 0.06, 0.04, 0.00
    
    [INFO] memory:
                  total        used        free      shared  buff/cache   available
    Mem:           15Gi       2.0Gi        11Gi        21Mi       2.4Gi        13Gi
    Swap:         4.0Gi          0B       4.0Gi
    
    [INFO] systemd failed services status:
      UNIT                      LOAD   ACTIVE SUB    DESCRIPTION
    ● amavis.service            loaded failed failed LSB: Starts amavisd-new mailfilter
    ● fwupd-refresh.service     loaded failed failed Refresh fwupd metadata and update motd
    ● 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.7p1
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.4.3-4ubuntu2.18
    [INFO] php-cgi (used for cgi php in default vhost!) is version 7.4.3
    
    ##### PORT CHECK #####
    
    [WARN] Port 465 (SMTP server SSL) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    [WARN] I found no "submission" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer port 587 for smtp connections you have to enable this.
    [WARN] I found no "smtps" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer SSL for smtp (not TLS) connections you have to enable this.
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
            Apache 2 (PID 1312)
    [INFO] I found the following mail server(s):
            Postfix (PID 1767)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 817)
    [INFO] I found the following imap server(s):
            Dovecot (PID 817)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 1425)
    
    ##### LISTENING PORTS #####
    (only           ()
    Local           (Address)
    [anywhere]:993          (817/dovecot)
    [anywhere]:995          (817/dovecot)
    [localhost]:10023               (1131/postgrey)
    [localhost]:10025               (1767/master)
    [localhost]:10027               (1767/master)
    [localhost]:11211               (828/memcached)
    [anywhere]:110          (817/dovecot)
    [anywhere]:143          (817/dovecot)
    [anywhere]:21           (1425/pure-ftpd)
    ***.***.***.***:53              (830/named)
    [localhost]:53          (830/named)
    ***.***.***.***:53              (796/systemd-resolve)
    [anywhere]:22           (924/sshd:)
    [anywhere]:25           (1767/master)
    [localhost]:953         (830/named)
    *:*:*:*::*:993          (817/dovecot)
    *:*:*:*::*:995          (817/dovecot)
    *:*:*:*::*:3306         (1035/mysqld)
    [localhost]10           (817/dovecot)
    [localhost]43           (817/dovecot)
    *:*:*:*::*:8080         (1312/apache2)
    *:*:*:*::*:80           (1312/apache2)
    *:*:*:*::*:8081         (1312/apache2)
    *:*:*:*::*:21           (1425/pure-ftpd)
    *:*:*:*::**:*:*:*::*53          (830/named)
    *:*:*:*::*:22           (924/sshd:)
    *:*:*:*::*:25           (1767/master)
    *:*:*:*::*:443          (1312/apache2)
    
    
    
    
    ##### 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
    
    
    
    
    ##### LET'S ENCRYPT #####
    Certbot is installed in /usr/bin/letsencrypt
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I suggest upgrading ISPConfig to latest as first thing.
    Have you examined why those three services are failing?
    So this host is not used as e-mail server?
     
  5. Brian Datacore

    Brian Datacore New Member

    Server is only responsible for Web, DB, FTP.
     
  6. Brian Datacore

    Brian Datacore New Member

    I ended up building a new server and exporting the sites internally and imported them to the new server.
    So if you want to continue troubleshooting this for sport, or close this thread out.
     
  7. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I do not.
    To close, Edit the topic of this thread, add [SOLVED] at the beginning.
     

Share This Page