Updating to the latest version of cPanel & WHM 11.38 (Fails)

fdnven

Well-Known Member
Feb 14, 2006
120
1
168
I received the below email after trying to update to most current stable version. I would think all those would be installed during the initial setup months ago.

Updating to the latest version of cPanel & WHM 11.38 did not succeed. Basic requirements for cPanel & WHM were unable to be installed. The specific failure was:

Sysup: Needed system RPMs were not installed: at, autoconf, automake, bind, bind-devel, bind-libs, bind-utils, binutils, bison, bzip2, cairo, compat-db, coreutils, cpio, cpp, crontabs, curl, db4, db4-devel, e2fsprogs-devel, expat, expat-devel, expect, file, flex, fontconfig, freetype, freetype-devel, ftp, gamin, gamin-devel, gcc, gcc-c++, gd, gd-devel, gd-progs, gdbm, gdbm-devel, gettext, gettext-devel, ghostscript, glib2, glibc-devel, glibc-static, gmp, gnupg2, gzip, hunspell, hunspell-en, initscripts, iptables, kernel-headers, krb5-devel, lcms, less, libX11-devel, libXpm, libXpm-devel, libaio, libaio-devel, libgcc, libgomp, libidn, libidn-devel, libjpeg, libjpeg-devel, libpng, libpng-devel, libstdc++, libstdc++-devel, libtiff, libtiff-devel, libtool, libtool-ltdl, libtool-ltdl-devel, libwmf, libxml2, libxml2-devel, lsof, lynx, make, nano, ncurses, ncurses-devel, openssh, openssh-clients, openssh-server, openssl, openssl-devel, pam, pam-devel, pango, passwd, patch, pcre, pcre-devel, popt, python, python-devel, python-docs, python-tools, quota, quota-devel, rcs, rdate, rsync, sed, shadow-utils, sharutils, strace, stunnel, sysstat, tar, tcl, tclx, tcp_wrappers-devel, tix, tk, tkinter, traceroute, unzip, urw-fonts, util-linux-ng, wget, which, zip, zlib, zlib-devel
Yet the version on the machine is WHM 11.38.2 (build 6) which is shown up top.

Thanks
Frank
 
Last edited:

fdnven

Well-Known Member
Feb 14, 2006
120
1
168
Howdy,

Running /usr/local/cpanel/scripts/check_cpanel_rpms --fix

I recive these errors
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm
rpmdb: Thread/process 65132/139818197985184 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm
[20130906.080653] Removing 0 broken rpms:
[20130906.080653] rpm: no packages given for erase
[20130906.080655] Downloading http://httpupdate.cpanel.net/RPM/11.36/centos/unknown/x86_64/rpm.md5
[20130906.080656] ***** FATAL: 404 - HTTP/1.0 404 Not Found
[20130906.080656] The Administrator will be notified to review this output when this script completes
404 - HTTP/1.0 404 Not Found
...propagated at /usr/local/cpanel/Cpanel/RPM/Versions/File.pm line 574, <$__ANONIO__> line 1.
Thanks
Frank
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

You can try rebuilding the RPM database via:

Code:
mkdir /root/old_rpm_dbs/
mv /var/lib/rpm/__db* /root/old_rpm_dbs/
rpm --rebuilddb
Thank you.