Altered RPMs problem
Every day I receive this error message (on cpanel dnsonly installation):
if I run check_cpanel_rpms I receive these messages
Problems were detected with cPanel-provided files which are RPM controlled.
If you did not make these changes intentionally, you can correct them by running:
> /usr/local/cpanel/scripts/check_cpanel_rpms --fix
The following RPMs are missing from your system:
MySQL55-client-5.5.40-1.cp1136
MySQL55-devel-5.5.40-1.cp1136
MySQL55-server-5.5.40-1.cp1136
MySQL55-shared-5.5.40-1.cp1136
MySQL55-test-5.5.40-1.cp1136
bandmin-1.6.1-11.cp1136
compat-MySQL50-shared-5.0.96-4.cp1136
compat-MySQL51-shared-5.1.73-4.cp1136
cpanel-ImageMagick-6.8.8-1.cp1136
cpanel-analog-6.0-2.cp1136
cpanel-angular-ui-bootstrap-0.10.0-1.c
.....
....
....
....if I run check_cpanel_rpms I receive these messages
rpmdb: Thread/process 17168/140083606390528 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
rpmdb: Thread/process 17168/140083606390528 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
rpmdb: Thread/process 17168/140083606390528 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
rpmdb: Thread/process 17168/140083606390528 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
[20141119.233002] Removing 0 broken rpms:
[20141119.233002] rpm: no packages given for erase
[20141119.233004] Downloading -
Hello :) Please try repairing the RPM database with the following commands: mkdir /root/old_rpm_dbs/ mv /var/lib/rpm/__db* /root/old_rpm_dbs/ rpm --rebuilddb
Let us know if the issue persists after doing so. Thank you.0 -
[~]# mkdir /root/old_rpm_dbs/ mkdir: cannot create directory `/root/old_rpm_dbs/': File exists root@dns1 [~]# root@dns1 [~]# root@dns1 [~]# root@dns1 [~]# root@dns1 [~]# mv /var/lib/rpm/__db* /root/old_rpm_dbs/ mv: overwrite `/root/old_rpm_dbs/__db.001'? y mv: overwrite `/root/old_rpm_dbs/__db.002'? y mv: overwrite `/root/old_rpm_dbs/__db.003'? y mv: overwrite `/root/old_rpm_dbs/__db.004'? y root@dns1 [~]# rpm --rebuilddb root@dns1 [~]#0 -
Could you let us know the output of "/usr/local/cpanel/scripts/check_cpanel_rpms --fix" after running those commands? Please post the output in CODE tags. Thank you. 0 -
the command /usr/local/cpanel/scripts/check_cpanel_rpms --fix not producted output messages, but I think that solved why today I not received alert from server 0 -
Yes, it's likely repairing the RPM database addressed the issue. Feel free to let us know if you encounter any additional problems related to this issue. Thank you. 0 -
I don't solved, today received the same warning, I received also this: cPanel update failure during sysup Updating to the latest version of cPanel & WHM 11.44 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, screen, 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 For more information on this error, and guidance on resolving the error, please go to go.cpanel.net/sysupfailed0 -
That's a separate message. Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
Support access ID not work, I think because the vps is with DNSOnly license 0 -
You can send an email to cs[@]cpanel.net and they can direct the request to our technical support department if you are unable to submit a ticket through traditional methods. Let us know the ticket number that you are assigned. Thank you. 0 -
ok, I opened ticket, the id is 5739813 0 -
To update, it looks like the RPM database was corrupted again. Repairing the RPM database has corrected the issue. Thank you. 0
Please sign in to leave a comment.
Comments
11 comments