Control panel gives 500 error

Discussion in 'ISPConfig 3 Priority Support' started by Devin McManus, Jun 4, 2024.

  1. Devin McManus

    Devin McManus New Member HowtoForge Supporter

    Hi there,
    Trying to access ISPConfig is giving a 500 error. Can you please help?

    Regards
    Devin M

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Debian GNU/Linux 12 (bookworm)
    
    [INFO] uptime:  17:17:11 up 29 min,  3 users,  load average: 0.00, 0.00, 0.02
    
    [INFO] memory:
                   total        used        free      shared  buff/cache   available
    Mem:           7.8Gi       2.5Gi       4.7Gi        77Mi       940Mi       5.3Gi
    Swap:          975Mi          0B       975Mi
    
    [INFO] systemd failed services status:
      UNIT LOAD ACTIVE SUB DESCRIPTION
    0 loaded units listed.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.11p2
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 8.2.19
    [INFO] php-cgi (used for cgi php in default vhost!) is version 8.2.19
    
    ##### PORT CHECK #####
    
    
    ##### MAIL SERVER CHECK #####
    
    [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 1028)
    [INFO] I found the following mail server(s):
            Postfix (PID 1519)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 811)
    [INFO] I found the following imap server(s):
            Dovecot (PID 811)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 1527)
    
    ##### LISTENING PORTS #####
    (only           ()
    Local           (Address)
    [localhost]:11332               (872/rspamd:)
    [localhost]:11333               (872/rspamd:)
    [localhost]:11334               (872/rspamd:)
    [anywhere]:995          (811/dovecot)
    [anywhere]:993          (811/dovecot)
    [anywhere]:587          (1519/master)
    [anywhere]:465          (1519/master)
    [anywhere]:143          (811/dovecot)
    [anywhere]:4190         (811/dovecot)
    [anywhere]:110          (811/dovecot)
    [anywhere]:22           (867/sshd:)
    [anywhere]:21           (1527/pure-ftpd)
    [anywhere]:25           (1519/master)
    [localhost]:6379                (829/redis-server)
    [localhost]:11211               (815/memcached)
    [localhost]:10023               (608/postgrey)
    [localhost]:53          (816/named)
    [localhost]:53          (816/named)
    [localhost]:53          (816/named)
    [localhost]:53          (816/named)
    ***.***.***.***:53              (816/named)
    ***.***.***.***:53              (816/named)
    ***.***.***.***:53              (816/named)
    ***.***.***.***:53              (816/named)
    [anywhere]:3306         (957/mariadbd)
    [localhost]:953         (816/named)
    [localhost]:953         (816/named)
    [localhost]:953         (816/named)
    [localhost]:953         (816/named)
    *:*:*:*::*:995          (811/dovecot)
    *:*:*:*::*:993          (811/dovecot)
    *:*:*:*::*:11334                (872/rspamd:)
    *:*:*:*::*:11333                (872/rspamd:)
    *:*:*:*::*:11332                (872/rspamd:)
    *:*:*:*::*:587          (1519/master)
    *:*:*:*::**:*:*:*::*53          (816/named)
    *:*:*:*::**:*:*:*::*53          (816/named)
    *:*:*:*::**:*:*:*::*53          (816/named)
    *:*:*:*::**:*:*:*::*53          (816/named)
    *:*:*:*::*:465          (1519/master)
    *:*:*:*::*:443          (1028/apache2)
    [localhost]43           (811/dovecot)
    *:*:*:*::*:80           (1028/apache2)
    *:*:*:*::*:4190         (811/dovecot)
    [localhost]10           (811/dovecot)
    *:*:*:*::*:22           (867/sshd:)
    *:*:*:*::*:21           (1527/pure-ftpd)
    *:*:*:*::*:25           (1519/master)
    *:*:*:*::*:6379         (829/redis-server)
    *:*:*:*::*:10023                (608/postgrey)
    *:*:*:*::*:8080         (1028/apache2)
    *:*:*:*::*:8081         (1028/apache2)
    *:*:*:*::*:53           (816/named)
    *:*:*:*::*:53           (816/named)
    *:*:*:*::*:53           (816/named)
    *:*:*:*::*:53           (816/named)
    *:*:*:*::*:953          (816/named)
    *:*:*:*::*:953          (816/named)
    *:*:*:*::*:953          (816/named)
    *:*:*:*::*:953          (816/named)
    *:*:*:*::*:3306         (957/mariadbd)
    
    ##### IPTABLES #####
    Chain INPUT (policy DROP)
    target     prot opt source               destination
    ufw-before-logging-input  0    --  [anywhere]/0            [anywhere]/0
    ufw-before-input  0    --  [anywhere]/0            [anywhere]/0
    ufw-after-input  0    --  [anywhere]/0            [anywhere]/0
    ufw-after-logging-input  0    --  [anywhere]/0            [anywhere]/0
    ufw-reject-input  0    --  [anywhere]/0            [anywhere]/0
    ufw-track-input  0    --  [anywhere]/0            [anywhere]/0
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination
    ufw-before-logging-forward  0    --  [anywhere]/0            [anywhere]/0
    ufw-before-forward  0    --  [anywhere]/0            [anywhere]/0
    ufw-after-forward  0    --  [anywhere]/0            [anywhere]/0
    ufw-after-logging-forward  0    --  [anywhere]/0            [anywhere]/0
    ufw-reject-forward  0    --  [anywhere]/0            [anywhere]/0
    ufw-track-forward  0    --  [anywhere]/0            [anywhere]/0
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    ufw-before-logging-output  0    --  [anywhere]/0            [anywhere]/0
    ufw-before-output  0    --  [anywhere]/0            [anywhere]/0
    ufw-after-output  0    --  [anywhere]/0            [anywhere]/0
    ufw-after-logging-output  0    --  [anywhere]/0            [anywhere]/0
    ufw-reject-output  0    --  [anywhere]/0            [anywhere]/0
    ufw-track-output  0    --  [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  17   --  [anywhere]/0            [anywhere]/0            udp dpt:137
    ufw-skip-to-policy-input  17   --  [anywhere]/0            [anywhere]/0            udp dpt:138
    ufw-skip-to-policy-input  6    --  [anywhere]/0            [anywhere]/0            tcp dpt:139
    ufw-skip-to-policy-input  6    --  [anywhere]/0            [anywhere]/0            tcp dpt:445
    ufw-skip-to-policy-input  17   --  [anywhere]/0            [anywhere]/0            udp dpt:67
    ufw-skip-to-policy-input  17   --  [anywhere]/0            [anywhere]/0            udp dpt:68
    ufw-skip-to-policy-input  0    --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type BROADCAST
    
    Chain ufw-after-logging-forward (1 references)
    target     prot opt source               destination
    LOG        0    --  [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        0    --  [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     0    --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ACCEPT     1    --  [anywhere]/0            [anywhere]/0            icmptype 3
    ACCEPT     1    --  [anywhere]/0            [anywhere]/0            icmptype 11
    ACCEPT     1    --  [anywhere]/0            [anywhere]/0            icmptype 12
    ACCEPT     1    --  [anywhere]/0            [anywhere]/0            icmptype 8
    ufw-user-forward  0    --  [anywhere]/0            [anywhere]/0
    
    Chain ufw-before-input (1 references)
    target     prot opt source               destination
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ufw-logging-deny  0    --  [anywhere]/0            [anywhere]/0            ctstate INVALID
    DROP       0    --  [anywhere]/0            [anywhere]/0            ctstate INVALID
    ACCEPT     1    --  [anywhere]/0            [anywhere]/0            icmptype 3
    ACCEPT     1    --  [anywhere]/0            [anywhere]/0            icmptype 11
    ACCEPT     1    --  [anywhere]/0            [anywhere]/0            icmptype 12
    ACCEPT     1    --  [anywhere]/0            [anywhere]/0            icmptype 8
    ACCEPT     17   --  [anywhere]/0            [anywhere]/0            udp spt:67 dpt:68
    ufw-not-local  0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     17   --  [anywhere]/0            ***.***.***.***          udp dpt:5353
    ACCEPT     17   --  [anywhere]/0            ***.***.***.***      udp dpt:1900
    ufw-user-input  0    --  [anywhere]/0            [anywhere]/0
    
    Chain ufw-before-logging-forward (1 references)
    target     prot opt source               destination
    
    Chain ufw-before-logging-input (1 references)
    target     prot opt source               destination
    
    Chain ufw-before-logging-output (1 references)
    target     prot opt source               destination
    
    Chain ufw-before-output (1 references)
    target     prot opt source               destination
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ufw-user-output  0    --  [anywhere]/0            [anywhere]/0
    
    Chain ufw-logging-allow (0 references)
    target     prot opt source               destination
    LOG        0    --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix
     "[UFW ALLOW] "
    
    Chain ufw-logging-deny (2 references)
    target     prot opt source               destination
    RETURN     0    --  [anywhere]/0            [anywhere]/0            ctstate INVALID limit: avg 3/min burst 10
    LOG        0    --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix
     "[UFW BLOCK] "
    
    Chain ufw-not-local (1 references)
    target     prot opt source               destination
    RETURN     0    --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type LOCAL
    RETURN     0    --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type MULTICAST
    RETURN     0    --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type BROADCAST
    ufw-logging-deny  0    --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10
    DROP       0    --  [anywhere]/0            [anywhere]/0
    
    Chain ufw-reject-forward (1 references)
    target     prot opt source               destination
    
    Chain ufw-reject-input (1 references)
    target     prot opt source               destination
    
    Chain ufw-reject-output (1 references)
    target     prot opt source               destination
    
    Chain ufw-skip-to-policy-forward (0 references)
    target     prot opt source               destination
    DROP       0    --  [anywhere]/0            [anywhere]/0
    
    Chain ufw-skip-to-policy-input (7 references)
    target     prot opt source               destination
    DROP       0    --  [anywhere]/0            [anywhere]/0
    
    Chain ufw-skip-to-policy-output (0 references)
    target     prot opt source               destination
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    
    Chain ufw-track-forward (1 references)
    target     prot opt source               destination
    
    Chain ufw-track-input (1 references)
    target     prot opt source               destination
    
    Chain ufw-track-output (1 references)
    target     prot opt source               destination
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            ctstate NEW
    ACCEPT     17   --  [anywhere]/0            [anywhere]/0            ctstate NEW
    
    Chain ufw-user-forward (1 references)
    target     prot opt source               destination
    
    Chain ufw-user-input (1 references)
    target     prot opt source               destination
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:21
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:22
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:25
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:53
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:80
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:110
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:143
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:443
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:465
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:587
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:993
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:995
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:3306
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:4190
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:8080
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            tcp dpt:8081
    ACCEPT     6    --  [anywhere]/0            [anywhere]/0            multiport dports 40110:40210
    ACCEPT     17   --  [anywhere]/0            [anywhere]/0            udp dpt:53
    
    Chain ufw-user-limit (0 references)
    target     prot opt source               destination
    LOG        0    --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 5 LOG flags 0 level 4 prefix
    "[UFW LIMIT BLOCK] "
    REJECT     0    --  [anywhere]/0            [anywhere]/0            reject-with icmp-port-unreachable
    
    Chain ufw-user-limit-accept (0 references)
    target     prot opt source               destination
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    
    Chain ufw-user-logging-forward (0 references)
    target     prot opt source               destination
    
    Chain ufw-user-logging-input (0 references)
    target     prot opt source               destination
    
    Chain ufw-user-logging-output (0 references)
    target     prot opt source               destination
    
    Chain ufw-user-output (1 references)
    target     prot opt source               destination
    
    
    
    
    ##### LET'S ENCRYPT #####
    acme.sh is installed in /root/.acme.sh/acme.sh
     
  2. Devin McManus

    Devin McManus New Member HowtoForge Supporter

    I solved it myself. For some reason
    Code:
    GRANT SELECT, INSERT, UPDATE, DELETE ON `dbispconfig`.* TO `ispconfig`@`localhost`
    was missing from the database. Restoring these permissions resolved the issue.
     
    till likes this.

Share This Page