cPanel & WHM update failure in upcp script
cPanel & WHM update failure in upcp script
Date posted : 09/06/2019
When automatic upcp runs, there could be some errors/failures for some reason. We should take it into account and should resolve the errors.
[2019-06-09 22:40:38 +0530] E [/usr/local/cpanel/scripts/check_unreliable_resolvers] The “/usr/local/cpanel/scripts/check_unreliable_resolvers --notify” command (process 9845) reported error number 1 when it ended.
Its because some of the dns resolvers are not working as expected.
Run below scripts to see the status.
/usr/local/cpanel/scripts/check_unreliable_resolvers perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). ⚠ Partial DNS resolver failure Resolver State 1.0.0.1 Normal 1.1.1.1 Normal 2001:4860:4860::8844 Failed 2001:4860:4860::8888 Failed Use the “Resolver Configuration” interface (https://hosting1.pheonixsolutions.com:2087/scripts2/setupresolvconf) to investigate or update the system’s DNS resolvers. Detailed Report: Resolver Test Host Responded? Response Time 1.0.0.1 amazon.com ✅ 0.0120463371 1.0.0.1 captive.apple.com ✅ 0.0329644680 1.0.0.1 connectivitycheck.android.com ✅ 0.0122241974 1.0.0.1 cpanel.com ✅ 0.0235133171 1.0.0.1 ebay.com ✅ 0.0122931004 1.0.0.1 facebook.com ✅ 0.0126485825 1.0.0.1 google.com ✅ 0.0121014118 1.0.0.1 live.com ✅ 0.0120797157 1.0.0.1 reddit.com ✅ 0.0125167370 1.0.0.1 yahoo.com ✅ 0.0121521950 1.1.1.1 amazon.com ✅ 0.0121262074 1.1.1.1 captive.apple.com ✅ 0.0351181030 1.1.1.1 connectivitycheck.android.com ✅ 0.0120561123 1.1.1.1 cpanel.com ✅ 0.0231454372 1.1.1.1 ebay.com ✅ 0.0122475624 1.1.1.1 facebook.com ✅ 0.0125043392 1.1.1.1 google.com ✅ 0.0121293068 1.1.1.1 live.com ✅ 0.0119185448 1.1.1.1 reddit.com ✅ 0.0120520592 1.1.1.1 yahoo.com ✅ 0.0123305321 2001:4860:4860::8844 amazon.com ⛔ Timeout 2001:4860:4860::8844 captive.apple.com ⛔ Timeout 2001:4860:4860::8844 connectivitycheck.android.com ⛔ Timeout 2001:4860:4860::8844 cpanel.com ⛔ Timeout 2001:4860:4860::8844 ebay.com ⛔ Timeout 2001:4860:4860::8844 facebook.com ⛔ Timeout 2001:4860:4860::8844 google.com ⛔ Timeout 2001:4860:4860::8844 live.com ⛔ Timeout 2001:4860:4860::8844 reddit.com ⛔ Timeout 2001:4860:4860::8844 yahoo.com ⛔ Timeout 2001:4860:4860::8888 amazon.com ⛔ Timeout 2001:4860:4860::8888 captive.apple.com ⛔ Timeout 2001:4860:4860::8888 connectivitycheck.android.com ⛔ Timeout 2001:4860:4860::8888 cpanel.com ⛔ Timeout 2001:4860:4860::8888 ebay.com ⛔ Timeout 2001:4860:4860::8888 facebook.com ⛔ Timeout 2001:4860:4860::8888 google.com ⛔ Timeout 2001:4860:4860::8888 live.com ⛔ Timeout 2001:4860:4860::8888 reddit.com ⛔ Timeout 2001:4860:4860::8888 yahoo.com ⛔ Timeout
Now check your current resolvers from /etc/resolv.conf
nameserver 1.1.1.1 nameserver 1.0.0.1
Now you either use your provider nameservers or google public DNS resolvers as mentioned below. Remove above lines and below ones
nameserver 8.8.8.8 nameserver 8.8.4.4
Now lets recheck resolvers
# /usr/local/cpanel/scripts/check_unreliable_resolvers OK
Thanks for using pheonix solutions.
You find this tutorial helpful? Share with your friends to keep it alive.