Good Evening, I have been making some changes within wordpress and now all of a sudden ISPConfig is getting an Error 500 - Is currently unable to handle this request. Below i have added a copy of my apache2 error log if anyone can help? Code: [ 2022-03-03 17:15:38.8204 54565/7f97086be700 age/Cor/CoreMain.cpp:532 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown) [ 2022-03-03 17:15:38.8208 54570/7f4d32aec700 age/Ust/UstRouterMain.cpp:422 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown) [ 2022-03-03 17:15:38.8212 54570/7f4d32beb980 age/Ust/UstRouterMain.cpp:492 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected... [ 2022-03-03 17:15:38.8214 54570/7f4d3226a700 Ser/Server.h:817 ]: [UstRouterApiServer] Freed 0 spare client objects [ 2022-03-03 17:15:38.8214 54570/7f4d3226a700 Ser/Server.h:464 ]: [UstRouterApiServer] Shutdown finished [ 2022-03-03 17:15:38.8215 54565/7f9708ff7980 age/Cor/CoreMain.cpp:901 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected... [ 2022-03-03 17:15:38.8220 54565/7f9707e3c700 Ser/Server.h:817 ]: [ServerThr.2] Freed 128 spare client objects [ 2022-03-03 17:15:38.8220 54565/7f9707e3c700 Ser/Server.h:464 ]: [ServerThr.2] Shutdown finished [ 2022-03-03 17:15:38.8226 54565/7f97075ba700 Ser/Server.h:817 ]: [ApiServer] Freed 0 spare client objects [ 2022-03-03 17:15:38.8226 54565/7f97075ba700 Ser/Server.h:464 ]: [ApiServer] Shutdown finished [ 2022-03-03 17:15:38.8227 54570/7f4d32aec700 Ser/Server.h:464 ]: [UstRouter] Shutdown finished [ 2022-03-03 17:15:38.8232 54570/7f4d32beb980 age/Ust/UstRouterMain.cpp:523 ]: Passenger UstRouter shutdown finished [ 2022-03-03 17:15:38.8270 54565/7f97086be700 Ser/Server.h:817 ]: [ServerThr.1] Freed 128 spare client objects [ 2022-03-03 17:15:38.8270 54565/7f97086be700 Ser/Server.h:464 ]: [ServerThr.1] Shutdown finished [ 2022-03-03 17:15:38.8529 54565/7f9708ff7980 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished [Thu Mar 03 17:15:39.080711 2022] [mpm_prefork:notice] [pid 54538] AH00169: caught SIGTERM, shutting down [ 2022-03-03 17:15:39.3495 54889/7f91a2738980 age/Wat/WatchdogMain.cpp:1291 ]: Starting Passenger watchdog... [ 2022-03-03 17:15:39.3624 54892/7fdf1b1af980 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core... [ 2022-03-03 17:15:39.3626 54892/7fdf1b1af980 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode. [ 2022-03-03 17:15:39.3641 54892/7fdf1b1af980 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 54892 [ 2022-03-03 17:15:39.3802 54897/7f7db1adf980 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter... [ 2022-03-03 17:15:39.3832 54897/7f7db1adf980 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 54897 [Thu Mar 03 17:15:39.388461 2022] [suexec:notice] [pid 54887] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec) [ 2022-03-03 17:15:39.3940 54892/7fdf1a876700 age/Cor/CoreMain.cpp:532 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown) [ 2022-03-03 17:15:39.3940 54892/7fdf1b1af980 age/Cor/CoreMain.cpp:901 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected... [ 2022-03-03 17:15:39.3941 54892/7fdf19ff4700 Ser/Server.h:817 ]: [ServerThr.2] Freed 128 spare client objects [ 2022-03-03 17:15:39.3941 54892/7fdf19ff4700 Ser/Server.h:464 ]: [ServerThr.2] Shutdown finished [ 2022-03-03 17:15:39.3942 54892/7fdf1a876700 Ser/Server.h:817 ]: [ServerThr.1] Freed 128 spare client objects [ 2022-03-03 17:15:39.3942 54892/7fdf1a876700 Ser/Server.h:464 ]: [ServerThr.1] Shutdown finished [ 2022-03-03 17:15:39.3944 54892/7fdf19772700 Ser/Server.h:817 ]: [ApiServer] Freed 0 spare client objects [ 2022-03-03 17:15:39.3944 54892/7fdf19772700 Ser/Server.h:464 ]: [ApiServer] Shutdown finished [ 2022-03-03 17:15:39.3947 54897/7f7db19e0700 age/Ust/UstRouterMain.cpp:422 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown) [ 2022-03-03 17:15:39.3947 54897/7f7db1adf980 age/Ust/UstRouterMain.cpp:492 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected... [ 2022-03-03 17:15:39.3948 54897/7f7db19e0700 Ser/Server.h:464 ]: [UstRouter] Shutdown finished [ 2022-03-03 17:15:39.3952 54897/7f7db115e700 Ser/Server.h:817 ]: [UstRouterApiServer] Freed 0 spare client objects [ 2022-03-03 17:15:39.3952 54897/7f7db115e700 Ser/Server.h:464 ]: [UstRouterApiServer] Shutdown finished [ 2022-03-03 17:15:39.3956 54897/7f7db1adf980 age/Ust/UstRouterMain.cpp:523 ]: Passenger UstRouter shutdown finished [ 2022-03-03 17:15:39.4363 54892/7fdf1b1af980 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished [ 2022-03-03 17:15:39.4920 54940/7f783a427980 age/Wat/WatchdogMain.cpp:1291 ]: Starting Passenger watchdog... [ 2022-03-03 17:15:39.5038 54943/7f2e72b7e980 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core... [ 2022-03-03 17:15:39.5039 54943/7f2e72b7e980 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode. [ 2022-03-03 17:15:39.5053 54943/7f2e72b7e980 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 54943 [ 2022-03-03 17:15:39.5194 54948/7fbf42648980 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter... [ 2022-03-03 17:15:39.5216 54948/7fbf42648980 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 54948 [Thu Mar 03 17:15:39.588347 2022] [:error] [pid 54916] python_init: Python version mismatch, expected '2.7.5+', found '2.7.16'. [Thu Mar 03 17:15:39.588516 2022] [:error] [pid 54916] python_init: Python executable found '/usr/bin/python'. [Thu Mar 03 17:15:39.588525 2022] [:error] [pid 54916] 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'. [Thu Mar 03 17:15:39.588547 2022] [:notice] [pid 54916] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Thu Mar 03 17:15:39.588554 2022] [:notice] [pid 54916] mod_python: using mutex_directory /tmp [Thu Mar 03 17:15:39.634986 2022] [mpm_prefork:notice] [pid 54916] AH00163: Apache/2.4.38 (Debian) mod_fcgid/2.3.9 Phusion_Passenger/5.0.30 OpenSSL/1.1.1d mod_python/3.3.1 Python/2.7.16 mod_perl/2.0.10 Perl/v5.28.1 configured -- resumin$ [Thu Mar 03 17:15:39.635235 2022] [core:notice] [pid 54916] AH00094: Command line: '/usr/sbin/apache2' [Thu Mar 03 17:16:04.287444 2022] [fcgid:warn] [pid 54967] [client 81.96.168.20:53901] mod_fcgid: stderr: PHP Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.p$ [Thu Mar 03 17:16:04.287579 2022] [fcgid:warn] [pid 54967] [client 81.96.168.20:53901] mod_fcgid: stderr: PHP Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.p$ [Thu Mar 03 17:16:04.287588 2022] [fcgid:warn] [pid 54967] [client 81.96.168.20:53901] mod_fcgid: stderr: PHP Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.p$
You must have changed something in your mysql/mariadb server config which prevents ISPConfig from connecting to its database. Undo the changes you made in the database server config and ensure that the database server is started.
Hi till I can confirm there have been no changes made to the DB server config. The only changes were to a language file for a wordpress plugin. How would you suggest that i go about restoring access again as cant do anything now without hitting the error 500 and already tried to go back on my browser.
Ok, then the errors in the log might just be the result of a database server restart. Such changes can't have affected the ISPConfig UI, there must be something else happened. Please run the command: php --version and post the result.
Hi till, Thanks for the help on this. Still not exactly sure what happened or why but by stopping and starting apache2 and mysql this has fixed the issue. Not sure why restarting didn't do this but all looks good for the moment. Thanks