SOLVED cPanel & WHM update failure in upcp script

wonder_wonder

Well-Known Member
Jan 16, 2019
108
40
28
Spain
cPanel Access Level
Root Administrator
Hello.
Since 2 days ago, I received this email every day.

I force the update with:
Code:
/scripts/upcp --force
And again, have the same error.

I use:
Code:
awk '$4=="E"' /var/cpanel/updatelogs/update.1581671535.log
Is the last log, and I have this result:
Code:
[[email protected] ~]# awk '$4=="E"' /var/cpanel/updatelogs/update.1581671535.log
[2020-02-14 10:14:14 +0100] E    [/usr/local/cpanel/scripts/check_unreliable_resolvers] The “/usr/local/cpanel/scripts/check_unreliable_resolvers --notify” command (process 4790) reported error number 1 when it ended.
[2020-02-14 10:14:18 +0100] E Post Maintenance ended, however it did not exit cleanly (256). The following events were logged: "scripts/check_unreliable_resolvers". Please check thelogs for an indication of what happened
I dón't know exactly what are the problem...

Also indicate that, when start this problem, and when execute this scripts/upcp and when received this email with this error, also I received other mail with:

Partial DNS resolver failure

With this:


Resolver​
State​
213.136.95.10 Normal
213.136.95.11 Normal
2a02:c207::1:53 Failed


I view fail the ipv6 but I don't know if the first error its for this second or are differents problems...

Thanks and regards!
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
Based on the output I'd go with the IPv6 address that's failing to be the issue here. Have you tried removing it from the configuration to determine if the issue is still occurring?

You can check just the resolvers by running the following:

Bash:
/scripts/check_unreliable_resolvers
 
  • Like
Reactions: wonder_wonder

wonder_wonder

Well-Known Member
Jan 16, 2019
108
40
28
Spain
cPanel Access Level
Root Administrator
Hello @cPanelLauren !

Yes, you indicate the problem and the solution...yes, the problem was with the IPv6 address that's failing with resolvers.

I remove the IPv6 from resolver configuration, after this, I execute:
Code:
/scripts/check_unreliable_resolvers
The result are: OK

After this, I execute:
Code:
/scripts/upcp --force
Any error (any mail with error) all ok, fixed the problem.

Then, the problem is with IPv6 of resolver, I can remove for ever or contact with my provider for comunicate this for if they have problem with this ip and change or remove? This ip's, of resolve are of my host, I have differents VPS with this provider and in all VPS this ip's arre differents.
This IPv6 are in Tertiary Resolver (optional), the first and the second are IPv4.

Thanks and regards!
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
I can remove for ever or contact with my provider for comunicate this for if they have problem with this ip and change or remove?
Yep, exactly and if you wanted to add an alternate tertiary resolver until they get back to you, you can add one from google or Cloudflare resolvers though it's not necessary to have the third.
 
  • Like
Reactions: wonder_wonder