failed to make connection to backend: httpd-UDS

In this article, I will explain a website failed to load after migrating to the new cPanel (11.82.0.17 ) from 11.76.0.20.  The website was backed up with “/scripts/pkgacct” script but when it restored to the new WHM/cPanel it failed.  Upon checking the apache error_log found the following errors.

 

Error:

[Sat Oct 26 16:07:01.245131 2019] [proxy_fcgi:error] [pid 24699] [client 106.51.106.128:34367] AH01079: failed to make connection to backend: httpd-UDS, referer: https://www.example.in/wp-admin/post-new.php
[Sat Oct 26 16:07:13.513812 2019] [proxy:error] [pid 24696] (13)Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket /opt/cpanel/ea-php72/root/usr/var/run/php-fpm/9af3263b4c6f4b502dd25a955b0e9f
21c031d047.sock (*) failed
[Sat Oct 26 16:07:13.513856 2019] [proxy_fcgi:error] [pid 24696] [client 52.44.132.170:58768] AH01079: failed to make connection to backend: httpd-UDS, referer: https://www.example.in/wp-cron.php?doing_wp_cron
=1572106033.3393409252166748046875
[Sat Oct 26 16:07:13.513992 2019] [proxy:error] [pid 24696] (13)Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket /opt/cpanel/ea-php72/root/usr/var/run/php-fpm/9af3263b4c6f4b502dd25a955b0e9f
21c031d047.sock (*) failed
[Sat Oct 26 16:07:13.513999 2019] [proxy_fcgi:error] [pid 24696] [client 52.44.132.170:58768] AH01079: failed to make connection to backend: httpd-UDS, referer: https://www.example.in/wp-cron.php?doing_wp_cron.

Resolution:

In order to fix this issue we need to restart the improved PHP handler ( ea-php72-php-fpm.service )

# systemctl restart ea-php72-php-fpm.service

From the log file you will get the service name (/opt/cpanel/ea-php72/root).

It fixed the issue

 

Leave a Reply

Your email address will not be published. Required fields are marked *