update failure in upcp script - check_unreliable_resolvers

Vous recevez chaque jour une erreur upcp de ce type ? :

The cPanel & WHM update process failed for the following reason:
Maintenance ended; however, it did not exit cleanly (256). The following events were logged: “scripts/check_unreliable_resolvers”. Review the update logs to determine why the update failed.

Update log preview:
...
...
[2020-01-29 21:29:38 +0100] E [/usr/local/cpanel/scripts/check_unreliable_resolvers] The “/usr/local/cpanel/scripts/check_unreliable_resolvers --notify” command (process 3555928) reported error number 1 when it ended.
...
[2020-01-29 21:29:42 +0100] - Finished command `/usr/local/cpanel/scripts/check_mysql` in 0.094 seconds
[2020-01-29 21:29:42 +0100] Processing: Checking CloudLinux installation
[2020-01-29 21:29:42 +0100] - Processing command `/usr/local/cpanel/bin/cloudlinux_update`
[2020-01-29 21:29:43 +0100] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 0.106 seconds
[2020-01-29 21:29:43 +0100] Processing: Updating plugins data cache
[2020-01-29 21:29:43 +0100] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
[2020-01-29 21:29:43 +0100] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.019 seconds
[2020-01-29 21:29:43 +0100] Processing: Ensuring SSL certificate information for CCS is up to date.
[2020-01-29 21:29:43 +0100] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl`
[2020-01-29 21:29:43 +0100] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.006 seconds
[2020-01-29 21:29:43 +0100] Processing: Ensure cpanel-plugins yum repo exists
[2020-01-29 21:29:43 +0100] - Finished in 0.620 seconds
[2020-01-29 21:29:43 +0100] Processing: Checking Addon Licenses
[2020-01-29 21:29:43 +0100] - Finished in 0.005 seconds
[2020-01-29 21:29:43 +0100] Processing: Checking End Of Life for current version.
[2020-01-29 21:29:43 +0100] - Finished in 0.123 seconds
[2020-01-29 21:29:43 +0100] Processing:
[2020-01-29 21:29:43 +0100] Maintenance complete.
=> Log closed Wed Jan 29 21:29:43 2020

 

Dans ce genre de cas, le problème vient du resolver:

[22:03:30 server [email protected] ~]cPs# /scripts/check_unreliable_resolvers
⚠ Partial DNS resolver failure

Resolver

State

127.0.0.1

Failed


Remplacez donc le resolver interne (127.0.0.1) par un resolver publique, dans notre cas, celui appartenant à Google(8.8.8.8).

vi /etc/resolv.conf

  • 0 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

mysql_upgrade failes due to "1045: Access denied"

Erreur lors de la tentative de mise à niveau des tables mysql à l'aide de mysql_upgrade :...

Comment désactiver les alertes "LFD excessive resource usage" sous CSF

Exemple d'alerte mail provenant de LFD en cas d'utilisation excessive de la mémoire —Time: Tue...

Fixer des permissions

Voici quelques commandes rapide pour fixer des permissions (chown; chmod) sous Cpanel ou tout...

PHP - Choisir votre Handler

Introduction & Fonctionnement Choisir son "Handler" ou gestionnaire PHP en français n'est...

Erreur SolusVM "You Have Been Blacklisted - Contact Support."

Vous avez eu plusieurs Échec de connexion à SolusVM et vous avez obtenu cette erreur. You Have...

Powered by WHMCompleteSolution