{"id":4880,"date":"2019-06-21T13:12:23","date_gmt":"2019-06-21T07:42:23","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=4880"},"modified":"2019-06-21T13:12:30","modified_gmt":"2019-06-21T07:42:30","slug":"cpanel-whm-update-failure-in-upcp-script","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/cpanel-whm-update-failure-in-upcp-script\/","title":{"rendered":"cPanel &#038; WHM update failure in upcp script"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">cPanel &amp; WHM update failure in upcp script<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Date posted : 09\/06\/2019<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">When automatic upcp runs, there could be some errors\/failures for some reason. We should take it into account and should resolve the errors.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[2019-06-09 22:40:38 +0530] E    [\/usr\/local\/cpanel\/scripts\/check_unreliable_resolvers] The \u201c\/usr\/local\/cpanel\/scripts\/check_unreliable_resolvers --notify\u201d command (process 9845) reported error number 1 when it ended.<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Its because some of the dns resolvers are not working as expected.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run below scripts to see the status.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/local\/cpanel\/scripts\/check_unreliable_resolvers\n perl: warning: Setting locale failed.\n perl: warning: Please check that your locale settings:\n     LANGUAGE = (unset),\n     LC_ALL = (unset),\n     LC_CTYPE = \"UTF-8\",\n     LANG = (unset)\n     are supported and installed on your system.\n perl: warning: Falling back to the standard locale (\"C\").\n &#x26a0; Partial DNS resolver failure\n Resolver\n State\n 1.0.0.1\n Normal\n 1.1.1.1\n Normal\n 2001:4860:4860::8844\n Failed\n 2001:4860:4860::8888\n Failed\n Use the \u201cResolver Configuration\u201d interface (https:\/\/hosting1.pheonixsolutions.com:2087\/scripts2\/setupresolvconf) to investigate or update the system\u2019s DNS resolvers.\n Detailed Report:\n Resolver\n Test Host\n Responded?\n Response Time\n 1.0.0.1\n amazon.com\n &#x2705;\n 0.0120463371\n 1.0.0.1\n captive.apple.com\n &#x2705;\n 0.0329644680\n 1.0.0.1\n connectivitycheck.android.com\n &#x2705;\n 0.0122241974\n 1.0.0.1\n cpanel.com\n &#x2705;\n 0.0235133171\n 1.0.0.1\n ebay.com\n &#x2705;\n 0.0122931004\n 1.0.0.1\n facebook.com\n &#x2705;\n 0.0126485825\n 1.0.0.1\n google.com\n &#x2705;\n 0.0121014118\n 1.0.0.1\n live.com\n &#x2705;\n 0.0120797157\n 1.0.0.1\n reddit.com\n &#x2705;\n 0.0125167370\n 1.0.0.1\n yahoo.com\n &#x2705;\n 0.0121521950\n 1.1.1.1\n amazon.com\n &#x2705;\n 0.0121262074\n 1.1.1.1\n captive.apple.com\n &#x2705;\n 0.0351181030\n 1.1.1.1\n connectivitycheck.android.com\n &#x2705;\n 0.0120561123\n 1.1.1.1\n cpanel.com\n &#x2705;\n 0.0231454372\n 1.1.1.1\n ebay.com\n &#x2705;\n 0.0122475624\n 1.1.1.1\n facebook.com\n &#x2705;\n 0.0125043392\n 1.1.1.1\n google.com\n &#x2705;\n 0.0121293068\n 1.1.1.1\n live.com\n &#x2705;\n 0.0119185448\n 1.1.1.1\n reddit.com\n &#x2705;\n 0.0120520592\n 1.1.1.1\n yahoo.com\n &#x2705;\n 0.0123305321\n 2001:4860:4860::8844\n amazon.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8844\n captive.apple.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8844\n connectivitycheck.android.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8844\n cpanel.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8844\n ebay.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8844\n facebook.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8844\n google.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8844\n live.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8844\n reddit.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8844\n yahoo.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8888\n amazon.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8888\n captive.apple.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8888\n connectivitycheck.android.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8888\n cpanel.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8888\n ebay.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8888\n facebook.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8888\n google.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8888\n live.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8888\n reddit.com\n &#x26d4;\n Timeout\n 2001:4860:4860::8888\n yahoo.com\n &#x26d4;\n Timeout<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now check your current resolvers from \/etc\/resolv.conf<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">nameserver 1.1.1.1\nnameserver 1.0.0.1<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now you either use your provider nameservers or google public DNS resolvers as mentioned below. Remove above lines and below ones<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">nameserver 8.8.8.8\nnameserver 8.8.4.4<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now lets recheck resolvers<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># \/usr\/local\/cpanel\/scripts\/check_unreliable_resolvers\nOK<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks for using&nbsp;<a href=\"https:\/\/pheonixsolutions.com\/\">pheonix solutions<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You find this tutorial helpful? Share with your friends to keep it alive.<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>cPanel &amp; WHM update failure in upcp script Date posted : 09\/06\/2019 When automatic upcp runs, there could be some [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4885,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1019],"tags":[263,680],"class_list":["post-4880","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-aws","tag-cpanel","tag-upcp","psol-cat-cloud-aws"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1gI","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/06\/download.png","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=4880"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4880\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media\/4885"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=4880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=4880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=4880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}