Linux : cPanel failed to make connection to backend: httpd-UDS

By | May 1, 2020

Experiencing the following error loading a Web site hosted on your cPanel server?

503 Service Unavailable

And observing the following errors in the Apache logs :

[proxy_fcgi:error] [pid 00000] [client 0.0.0.0:42284] AH01079: failed to make connection to backend: httpd-UDS
[proxy:error] [pid 00000] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/cpanel/ea-php70/root/usr/var/run/php-fpm/26d213f9ae943ceebe3b32afb7f1f0936a2eaf04.sock (*) failed

In my case, this occurred after the Web site account was just migrated to a new server.

This is related to PHP-FPM, that isn’t responding to serve the request.

To work around this issue, disable PHP-FPM for this particular Web site and re-enable it again. If all Web sites are experiencing the same issue, try to restart the PHP-FPM service first and then disable/enable for all Web sites if it didn’t resolved the issue.

To disable/enable PHP-FPM, go to (in WHM) :

Software > MultiPHP Manager