Can't access to ISPConfig Interface

Discussion in 'Installation/Configuration' started by yasine, Aug 13, 2022.

  1. till

    till Super Moderator Staff Member ISPConfig Developer

    You missed installing MySQL support in php 7.3 and probably other modules as well as your PHP currently seems to have only some core functionality but no loaded modules.
     
  2. yasine

    yasine Member

    I reinstalled all php modules
    but the problem I see when I execute the test report is :
    Code:
    PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib/php/20180731/mysqli (/usr/lib/php/20180731/mysqli: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mysqli.so (/usr/lib/php/20180731/mysqli.so: undefined symbol: mysqlnd_global_stats)) in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli.so' (tried: /usr/lib/php/20180731/mysqli.so (/usr/lib/php/20180731/mysqli.so: undefined symbol: mysqlnd_global_stats), /usr/lib/php/20180731/mysqli.so.so (/usr/lib/php/20180731/mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli.so' (tried: /usr/lib/php/20180731/mysqli.so (/usr/lib/php/20180731/mysqli.so: undefined symbol: mysqlnd_global_stats), /usr/lib/php/20180731/mysqli.so.so (/usr/lib/php/20180731/mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    when I went to that directory the mysqli.so file is present :

    upload_2022-11-5_23-28-5.png
     
  3. pyte

    pyte Well-Known Member HowtoForge Supporter

    You may need to restart your webserver service.


    Code:
    systemctl restart apache2 
    systemctl restart nginx
    
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    While at that fix this too.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    This does not mean that the module is loaded. Check conf.d directory of the CGI php.
     
    yasine likes this.
  6. yasine

    yasine Member

    Just checked Now
    upload_2022-11-17_20-51-57.png
    upload_2022-11-17_20-55-23.png
    upload_2022-11-17_22-46-34.png

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Debian GNU/Linux 10 (buster)
    
    [INFO] uptime:  23:00:23 up 12 days,  2:12,  2 users,  load average: 0.10, 0.09, 0.08
    
    [INFO] memory:
                  total        used        free      shared  buff/cache   available
    Mem:          3.8Gi       2.0Gi       631Mi       121Mi       1.1Gi       1.4Gi
    Swap:            0B          0B          0B
    
    [INFO] systemd failed services status:
    0 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.8p2
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.3.33-8+0~20221028.101+debian10~1.gbpb248c7
    [INFO] php-cgi (used for cgi php in default vhost!) is version 7.3.33
    
    ##### PORT CHECK #####
    
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
            Apache 2 (PID 3801)
    [INFO] I found the following mail server(s):
            Postfix (PID 1287)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 703)
    [INFO] I found the following imap server(s):
            Dovecot (PID 703)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 12011)
    
    ##### LISTENING PORTS #####
    (only           ()
    Local           (Address)
    [anywhere]:995          (703/dovecot)
    [localhost]:10023               (906/postgrey)
    [localhost]:10024               (1268/amavisd-new)
    [localhost]:10025               (1287/master)
    [localhost]:10026               (1268/amavisd-new)
    [localhost]:10027               (1287/master)
    [anywhere]:587          (1287/master)
    [localhost]:11211               (673/memcached)
    [anywhere]:110          (703/dovecot)
    [anywhere]:143          (703/dovecot)
    [anywhere]:465          (1287/master)
    [anywhere]:21           (12011/pure-ftpd)
    ***.***.***.***:53              (741/named)
    [localhost]:53          (741/named)
    [anywhere]:22           (785/sshd)
    [anywhere]:25           (1287/master)
    [localhost]:953         (741/named)
    [anywhere]:993          (703/dovecot)
    *:*:*:*::*:995          (703/dovecot)
    *:*:*:*::*:10023                (906/postgrey)
    *:*:*:*::*:10024                (1268/amavisd-new)
    *:*:*:*::*:10026                (1268/amavisd-new)
    *:*:*:*::*:3306         (879/mysqld)
    *:*:*:*::*:587          (1287/master)
    [localhost]10           (703/dovecot)
    [localhost]43           (703/dovecot)
    *:*:*:*::*:8080         (3801/apache2)
    *:*:*:*::*:80           (3801/apache2)
    *:*:*:*::*:8081         (3801/apache2)
    *:*:*:*::*:465          (1287/master)
    *:*:*:*::*:21           (12011/pure-ftpd)
    *:*:*:*::*:53           (741/named)
    *:*:*:*::*:22           (785/sshd)
    *:*:*:*::*:25           (1287/master)
    *:*:*:*::*:953          (741/named)
    *:*:*:*::*:443          (3801/apache2)
    *:*:*:*::*:993          (703/dovecot)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    f2b-pure-ftpd  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 21
    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-sshd (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
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain f2b-postfix-sasl (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
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain f2b-pure-ftpd (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    
    
    
    ##### LET'S ENCRYPT #####
    acme.sh is installed in /root/.acme.sh/acme.sh
     
    Last edited: Nov 18, 2022
  7. yasine

    yasine Member

  8. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    check your php.ini file. (/etc/php/version/apache2) make sure the mysql extensions are listed in this order:
    Code:
    extension=mysqlnd
    extension=mysqli
    
    that'll get rid of this error:
    Code:
    PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli.so' (tried: /usr/lib/php/20180731/mysqli.so (/usr/lib/php/20180731/mysqli.so: undefined symbol: mysqlnd_global_stats), /usr/lib/php/20180731/mysqli.so.so (/usr/lib/php/20180731/mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    
     
    yasine likes this.
  9. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    For paid support, get in touch with ISPConfig businness support (which forwards you to my private company AmsterdamTech): https://www.ispconfig.org/get-support/?type=ispconfig
     
  10. yasine

    yasine Member

    Doesn't fixed the problem here is the log
    Code:
    [Mon Nov 21 18:27:19.101575 2022] [fcgid:warn] [pid 9693] [client 41.141.41.67:22645] mod_fcgid: stderr: #6 /usr/local/ispconfig/interface/lib/app.inc.php(405): app->initialize_session(), referer: https://forum.howtoforge.com/
    [Mon Nov 21 18:27:19.101582 2022] [fcgid:warn] [pid 9693] [client 41.141.41.67:22645] mod_fcgid: stderr: #7 /usr/local/ispconfig/interface/web/index.php(32): require_once in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 527, referer: https://forum.howtoforge.com/
     
  11. yasine

    yasine Member

    I fixed the problem
    I did the upgrade from debian 10 to 11 that use php7.4 as default version
    updated ISPconfig
    and its done !! finally
    Thank you @all
     
    ahrasis likes this.

Share This Page