Solución a: Problema de actualización de cPanel “Needed system RPMs were not installed”

Hace unos días nos topamos con unos errores en nuestro repositorio de errores de WHM, el cual nos indicaba que existía un problema al actualizar la versión de cPanel.

El error sólo se daba sobre uno de nuestro servidores donde conviven, cPanel, Cloud Linux y CentOS, por lo que me eso reducía la búsqueda a una falla entre los 3 sistemas.

Los errores que recibíamos a nuestra cuenta de correo del host, eran:

“Updating to the latest version of cPanel & WHM 11.40 did not succeed. Basic requirements for cPanel & WHM were unable to be installed. The specific failure was:
Sysup: Needed system RPMs were not installed: screen
For more information on this error, and guidance on resolving the error, please go to go.cpanel.net/sysupfailed”
“An error was detected which prevented updatenow from completing normally.
Please review the enclosed log for further details
—————————————————————————————————-
[20131221.010006] Detected version ‘11.40.0.29from version file.
[20131221.010006] Using mirror ‘216.38.56.98for host ‘httpupdate.cpanel.net’.
[20131221.010006] Target version set to ‘11.40.1.5’
[20131221.010006] Checking license
[20131221.010006] License file check complete
[20131221.010006] Checking that the RPM DB is OK…
[20131221.010006] glibc-2.5-118.el5_10.2
[20131221.010006] glibc-2.5-118.el5_10.2
[20131221.010006] OK: RPM DB is responding to queries
[20131221.010006] Testing if rpm_is_working RPM is installed
[20131221.010006] package rpm_is_working is not installed
[20131221.010006] Testing if it’s possible to install a simple RPM
[20131221.010006] Preparing… ##################################################
[20131221.010006] rpm_is_working ##################################################
[20131221.010007] Switching to version ‘11.40.1.5’ of updatenow to perform sync.
[20131221.010013] Loaded plugins: fastestmirror, rhnplugin, security
[20131221.010015] Profilename: server04.solo10.com
[20131221.010015] IP:108.59.12.143 Not licensed
[20131221.010015] There was an error communicating with CLN.
[20131221.010015] CLN support will be disabled.
[20131221.010015] Error communicating with server. The message was:
[20131221.010015]
[20131221.010015] Error Message:
[20131221.010015] Please run rhn_register as root on this client
[20131221.010015] Error Class Code: 9
[20131221.010015] Error Class Info: Invalid System Credentials.
[20131221.010015] Explanation:
[20131221.010015] An error has occurred while processing your request. If this problem
[20131221.010015] persists please enter a bug report at helpdesk.cloudlinux.com.
[20131221.010015] If you choose to submit the bug report, please be sure to include
[20131221.010015] details of what you were trying to do when this error occurred and
[20131221.010015] details on how to reproduce this problem.
[20131221.010015]
[20131221.010016] Loading mirror speeds from cached hostfile
[20131221.010017] * rpmforge: mirror.us.leaseweb.net
[20131221.010017] Excluding Packages in global exclude list
[20131221.010020] Finished
[20131221.010020] Setting up Install Process
[20131221.010021] No package screen available.
[20131221.010021] Nothing to do
[20131221.010021] Prelinking shared libraries and binaries: /usr/sbin/prelink -av -mR
[20131221.010047] E Sysup: Needed system RPMs were not installed: screen
[20131221.010047] ***** FATAL: Cannot proceed. Needed system RPMs were not installed.
[20131221.010047] The Administrator will be notified to review this output when this script completes
[20131221.010047] E Detected events which require user notification during updatenow. Will send iContact the log"Lenguaje del código: JavaScript (javascript)

Lo que indicaba el error era un problema de RPM’s, que son las dependencias de terceros en cPanel & WHM.

Para solucionarlo encontramos 2 métodos:
1) Metodo sencillo, directamente se chequean y reparan las RPM’s

# /usr/local/cpanel/scripts/check_cpanel_rpms --fix
# /scripts/upcpLenguaje del código: PHP (php)

2) Cuando el método anterior no funciona, tendremos que reinstalar la fuente del problema, en este caso el LVE o Cloud Linux

# yum remove libwmf-lite lvemanager
# yum install lvemanager# /scripts/upcpLenguaje del código: PHP (php)

¡Nuestros Tutoriales en tu Email!

¡Nuestros Tutoriales en tu Email!

Deja un comentario

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.