(Debian Buster) ISPConfig 3.2.8p1 I wanted to try to restart an ssl certificate because I have problems with postfix through the admin panel but the operation remains blocked (2 operations in the queue) after… I tried to kill this process Code: root@srv-b:~# /usr/local/ispconfig/server/server.sh 19.06.2022-17:07 - WARNING - There is already a lockfile set, but no process running with this pid (14332). Continuing. PHP Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:83 Stack trace: #0 /usr/local/ispconfig/server/lib/app.inc.php(71): db->__construct() #1 /usr/local/ispconfig/server/lib/app.inc.php(359): app->__construct() #2 /usr/local/ispconfig/server/server.php(51): require('...') #3 {main} thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 83 PHP Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:83 Stack trace: #0 /usr/local/ispconfig/server/lib/app.inc.php(71): db->__construct() #1 /usr/local/ispconfig/server/lib/app.inc.php(359): app->__construct() #2 /usr/local/ispconfig/security/check.php(32): require('...') #3 {main} thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 83 Code: root@srv-b:~# kill 14332 -bash: kill: (14332) - No such process Php version maybe too high ?: Code: root@srv-b:~# php -v PHP 8.1.7 (cli) (built: Jun 14 2022 10:26:22) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.7, Copyright (c) Zend Technologies with Zend OPcache v8.1.7, Copyright (c), by Zend Technologies
Indeed, plus missing PHP modules. See Read before posting, chapter "panel not showing up" on how to fix that: https://forum.howtoforge.com/threads/please-read-before-posting.58408/
Code: wget -q -O htf-common-issues.php "http://gitplace.net/pixcept/ispconfig-tools/raw/stable/htf-common-issues.php" && php -q htf-common-issues.php PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /root/htf-common-issues.php:288 Stack trace: #0 {main} thrown in /root/htf-common-issues.php on line 288 Can i downgrade tp PHP 7.4 (do I need uninstall 8 version)? I'm following this step and re-declare all Php7 to 8 versions in the panel : https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/
You can but don't do it. You do not need to uninstall 8 version. See chapter "9 Set Debian default PHP back to the original version" how to fix PHP version. Remember to check the needed PHP modules are installed for the PHP version you use.
Hi Taleman, I reinstalled all versions from 7.3 + modules : Code: lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster root@srv-b:~# service php7.3-fpm restart root@srv-b:~# php -v PHP 7.3.33-2+0~20220614.96+debian10~1.gbpe53774 (cli) (built: Jun 14 2022 10:30:48) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.33, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.33-2+0~20220614.96+debian10~1.gbpe53774, Copyright (c) 1999-2018, by Zend Technologies
Connected to my other thread https://forum.howtoforge.com/thread...sick-debian-10-ispconfig-3.89103/#post-436770 on my postfix problems… I probably have an SSL issue. How can I regenerate them (certbot vs isp Panel) ? thanks : Code: tail -20 /var/log/apache2/error.log [ 2022-06-19 19:30:03.7036 1141/7f3b3b25f980 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core... [ 2022-06-19 19:30:03.7038 1141/7f3b3b25f980 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode. [ 2022-06-19 19:30:03.7061 1141/7f3b3b25f980 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 1141 [ 2022-06-19 19:30:03.7467 1150/7fd42ecf2980 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter... [ 2022-06-19 19:30:03.7723 1150/7fd42ecf2980 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 1150 [Sun Jun 19 19:30:03.974137 2022] [ssl:warn] [pid 1131] AH01906: srv-b.democrasite.com:8080:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Sun Jun 19 19:30:03.974191 2022] [ssl:warn] [pid 1131] AH01909: srv-b.democrasite.com:8080:0 server certificate does NOT include an ID which matches the server name [Sun Jun 19 19:30:03.974394 2022] [ssl:error] [pid 1131] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: [email protected],CN=democrasite,OU=dev,O=democrasite.com,L=Paris,ST=France,C=FR / issuer: [email protected],CN=democrasite,OU=dev,O=democrasite.com,L=Paris,ST=France,C=FR / serial: 5DEFDA2587F855D667337378F7BC7EA3751C220A / notbefore: Sep 29 03:00:15 2020 GMT / notafter: Sep 27 03:00:15 2030 GMT] [Sun Jun 19 19:30:03.974404 2022] [ssl:error] [pid 1131] AH02604: Unable to configure certificate srv-b.democrasite.com:8080:0 for stapling [Sun Jun 19 19:30:03.974916 2022] [ssl:warn] [pid 1131] AH01906: srv-b.democrasite.com:8081:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Sun Jun 19 19:30:03.974937 2022] [ssl:warn] [pid 1131] AH01909: srv-b.democrasite.com:8081:0 server certificate does NOT include an ID which matches the server name [Sun Jun 19 19:30:03.975078 2022] [ssl:error] [pid 1131] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: [email protected],CN=democrasite,OU=dev,O=democrasite.com,L=Paris,ST=France,C=FR / issuer: [email protected],CN=democrasite,OU=dev,O=democrasite.com,L=Paris,ST=France,C=FR / serial: 5DEFDA2587F855D667337378F7BC7EA3751C220A / notbefore: Sep 29 03:00:15 2020 GMT / notafter: Sep 27 03:00:15 2030 GMT] [Sun Jun 19 19:30:03.975090 2022] [ssl:error] [pid 1131] AH02604: Unable to configure certificate srv-b.democrasite.com:8081:0 for stapling [Sun Jun 19 19:30:03.996318 2022] [:error] [pid 1131] python_init: Python version mismatch, expected '2.7.5+', found '2.7.16'. [Sun Jun 19 19:30:04.019208 2022] [:error] [pid 1131] python_init: Python executable found '/usr/bin/python'. [Sun Jun 19 19:30:04.019268 2022] [:error] [pid 1131] python_init: Python path being used '/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'. [Sun Jun 19 19:30:04.019322 2022] [:notice] [pid 1131] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Sun Jun 19 19:30:04.019330 2022] [:notice] [pid 1131] mod_python: using mutex_directory /tmp [Sun Jun 19 19:30:04.082616 2022] [mpm_prefork:notice] [pid 1131] AH00163: Apache/2.4.38 (Debian) mod_fcgid/2.3.9 Phusion_Passenger/5.0.30 OpenSSL/1.1.1n mod_python/3.3.1 Python/2.7.16 configured -- resuming normal operations [Sun Jun 19 19:30:04.082682 2022] [core:notice] [pid 1131] AH00094: Command line: '/usr/sbin/apache2'