Hi guys, i installed a new server with ubuntu 20.04 and ISPConfig. after doing the migration i get an error when i want to visit the website in the browser: error 503 service not available when i access ISPConfig there is no problem with it. anyone has an idea where i can start ? thanks a lot for your kind help
Hi, thanks for your answer. the problem is on all websites of the server only the website of ISPConfig works. this is the logfile Code: [Sun Nov 22 18:15:05.815296 2020] [proxy:error] [pid 259340] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/php7.4-fpm/web34.sock (*) failed [Sun Nov 22 18:15:05.815384 2020] [proxy_fcgi:error] [pid 259340] [client 51.79.100.13:60952] AH01079: failed to make connection to backend: httpd-UDS [Sun Nov 22 18:15:06.258062 2020] [proxy:error] [pid 259076] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/php7.4-fpm/web34.sock (*) failed [Sun Nov 22 18:15:06.258116 2020] [proxy_fcgi:error] [pid 259076] [client 51.79.100.13:32818] AH01079: failed to make connection to backend: httpd-UDS [Sun Nov 22 18:24:02.233019 2020] [proxy:error] [pid 259373] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/php7.4-fpm/web34.sock (*) failed [Sun Nov 22 18:24:02.233170 2020] [proxy_fcgi:error] [pid 259373] [client 165.22.121.12:54612] AH01079: failed to make connection to backend: httpd-UDS [Sun Nov 22 18:24:02.365108 2020] [proxy:error] [pid 259076] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/php7.4-fpm/web34.sock (*) failed [Sun Nov 22 18:24:02.365179 2020] [proxy_fcgi:error] [pid 259076] [client 165.22.121.12:54662] AH01079: failed to make connection to backend: httpd-UDS [Sun Nov 22 18:24:07.490125 2020] [proxy:error] [pid 259340] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/php7.4-fpm/web34.sock (*) failed [Sun Nov 22 18:24:07.490279 2020] [proxy_fcgi:error] [pid 259340] [client 165.22.121.12:55468] AH01079: failed to make connection to backend: httpd-UDS
yes it exists Code: root@server4:/var/www/1-2host.com/log# ls /var/lib/php7.4-fpm/ web10.sock web12.sock web4.sock web6.sock web8.sock web11.sock web3.sock web5.sock web7.sock web9.sock But not for all website for one i tested web34.sock does not exist
And those sites don't work either? What's the error you see in the log of web6 for example? Which PHP versions are set for those webs and are the paths configured correctly for those in ISPConfig?
this is the error log from web 6 Code: [Sun Nov 22 19:40:29.375636 2020] [proxy_fcgi:error] [pid 269585] [client 31.14.63.70:59862] AH01079: failed to make connection to backend: httpd-UDS [Sun Nov 22 19:40:29.376606 2020] [proxy:error] [pid 269585] (111)Connection refused: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/php7.4-fpm/web6.sock (*) failed [Sun Nov 22 19:40:29.376637 2020] [proxy_fcgi:error] [pid 269585] [client 31.14.63.70:59862] AH01079: failed to make connection to backend: httpd-UDS none of these sites are working How can i check the php version for these sides and the path?
Under System -> Server Settings you should find the settings for the default PHP version. And you might want to check if all services are up: Code: systemctl list-units --failed
Code: oot@server4:/var/www/mexico.teneriffa-akupunktur.com/log# systemctl list-units --failed UNIT LOAD ACTIVE SUB DESCRIPTION ● certbot.service loaded failed failed Certbot ● php7.4-fpm.service loaded failed failed The PHP 7.4 FastCGI Process Manager ● systemd-networkd-wait-online.service loaded failed failed Wait for Network to be Configured it seems that the installation was not ok. does it make sense to reinstall the server?
Probably not. It would be more work than fixing the installation now. Find out why those services are not starting. Start from command line like this to see error messages: Code: systemctl start php7.4-fpm.service Then Code: systemctl status php7.4-fpm.service
Code: root@server4:~# systemctl status php7.4-fpm.service ● php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2020-11-22 22:00:23 CET; 9s ago Docs: man:php-fpm7.4(8) Process: 276954 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc> Main PID: 276907 (php-fpm7.4) Status: "Ready to handle connections" Tasks: 39 (limit: 9487) Memory: 45.8M CGroup: /system.slice/php7.4-fpm.service ├─276907 php-fpm: master process (/etc/php/7.4/fpm/php-fpm.conf) ├─276915 php-fpm: pool web10 ├─276916 php-fpm: pool web10 ├─276917 php-fpm: pool web11 ├─276918 php-fpm: pool web11 ├─276919 php-fpm: pool web12 ├─276920 php-fpm: pool web12 ├─276921 php-fpm: pool web15 ├─276922 php-fpm: pool web15 ├─276923 php-fpm: pool web19 ├─276924 php-fpm: pool web19 ├─276925 php-fpm: pool web21 ├─276926 php-fpm: pool web21 lines 1-23
php-fpm is running certbot i not get another problem the only system thats not working is systemd-networkd Code: root@server4:~# systemctl list-units --failed UNIT LOAD ACTIVE SUB DESCRIPTION ● systemd-networkd-wait-online.service loaded failed failed Wait for Network to be Configured
Code: root@server4:~# systemctl status systemd-networkd-wait-online ● systemd-networkd-wait-online.service - Wait for Network to be Configured Loaded: loaded (/lib/systemd/system/systemd-networkd-wait-online.service; enabled-runtime; vendor > Active: failed (Result: exit-code) since Sun 2020-11-22 11:08:38 CET; 11h ago Docs: man:systemd-networkd-wait-online.service(8) Main PID: 2139 (code=exited, status=1/FAILURE) Nov 22 11:06:38 server4.cl-i.net systemd[1]: Starting Wait for Network to be Configured... Nov 22 11:08:38 server4.cl-i.net systemd-networkd-wait-online[2139]: Event loop failed: Connection time> Nov 22 11:08:38 server4.cl-i.net systemd[1]: systemd-networkd-wait-online.service: Main process exited,> Nov 22 11:08:38 server4.cl-i.net systemd[1]: systemd-networkd-wait-online.service: Failed with result '> Nov 22 11:08:38 server4.cl-i.net systemd[1]: Failed to start Wait for Network to be Configured. lines 1-11/11 (END)
You did not say what migration? And how? Seems your host can not start networking. Again, see why that is failing by trying to start from command line to see error messages. Code: systemctl start systemd-networkd-wait-online If that does not allow you to start, try commanding with stop it first with systemctl. Have you tried rebooting? What kind of hardware is this, are you using it from console? How was network configured? What are the settings now, are they what you expect? Code: ip a ip r