SOLVED cPanel & WHM update failure in upcp script

Elizabeta

Well-Known Member
Mar 21, 2018
234
32
28
Mostar
cPanel Access Level
Root Administrator
Hello,

I have cPanel&WHM version v92.0.9, this morning I 've got email that

The cPanel & WHM update process failed for the following reason:
Maintenance ended; however, it did not exit cleanly (65280). Review the update logs to determine why the update failed.
Update log preview:
[2021-02-09 08:44:08 +0100] Cpanel::ChildErrorStringifier::die_if_error(Cpanel::SafeRun::Object=HASH(0x2869108)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 676
[2021-02-09 08:44:08 +0100] Cpanel::SafeRun::Object::die_if_error(Cpanel::SafeRun::Object=HASH(0x2869108)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 657
[2021-02-09 08:44:08 +0100] Cpanel::SafeRun::Object::new_or_die("Cpanel::SafeRun::Object", "program", "/bin/rpm", "args", ARRAY(0x27894f0), "timeout", 15, "read_timeout", ...) called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 264
[2021-02-09 08:44:08 +0100] Cpanel::GenSysInfo::_run_with_timeout("/bin/rpm", "--query", "--nosignature", "--nodigest", "--queryformat", "%{NAME} %{VERSION}\\n", "--file", "/etc/redhat-release") called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 204
[2021-02-09 08:44:08 +0100] Cpanel::GenSysInfo::_get_rpm_distro_version_arch() called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 124
[2021-02-09 08:44:08 +0100] Cpanel::GenSysInfo::_get_new_conf(HASH(0x27fdfb0)) called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 51
[2021-02-09 08:44:08 +0100] Cpanel::GenSysInfo::run() called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 749
[2021-02-09 08:44:08 +0100] eval {...} called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 749
[2021-02-09 08:44:08 +0100] Cpanel::Update::Blocker::Always::_get_sysinfo(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 730
[2021-02-09 08:44:08 +0100] Cpanel::Update::Blocker::Always::is_supported_openssl(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 103
[2021-02-09 08:44:08 +0100] Cpanel::Update::Blocker::Always::perform_global_checks(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker.pm line 74
[2021-02-09 08:44:08 +0100] Cpanel::Update::Blocker::is_upgrade_blocked(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 699
[2021-02-09 08:44:08 +0100] Cpanel::Update::Now::can_update(Cpanel::Update::Now=HASH(0x24bd3c0)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 408
[2021-02-09 08:44:08 +0100] Cpanel::Update::Now::run(Cpanel::Update::Now=HASH(0x24bd3c0)) called at /usr/local/cpanel/scripts/updatenow line 122
[2021-02-09 08:44:08 +0100] eval {...} called at /usr/local/cpanel/scripts/updatenow line 122
[2021-02-09 08:44:08 +0100] W An attempt to upgrade to 11.92.0.9 was blocked. Please review blockers.
[2021-02-09 08:44:08 +0100] E The install encountered a fatal error: An attempt to upgrade to 11.92.0.9 was blocked. Please review blockers.

=> Log closed Tue Feb 9 08:44:08 2021
[2021-02-09 08:44:08 +0100] 17% complete
=> Log closed Tue Feb 9 08:44:08 2021
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/maintenance (17909) at Tue Feb 9 08:44:09 2021
=> Log closed Tue Feb 9 08:44:09 2021
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (17892) at Tue Feb 9 08:44:09 2021
The system generated this notice on Tuesday, February 9, 2021 at 7:44:10 AM UTC.
“cPanel Update Failures” notifications are currently configured to have an importance of “High”. You can change the importance or disable this type of notification in WHM’s Contact Manager at: https://cptest.testwh.tel.net.ba:2087/scripts2/editcontact?event=upcp
Do not reply to this automated message.
 
Last edited by a moderator:

Elizabeta

Well-Known Member
Mar 21, 2018
234
32
28
Mostar
cPanel Access Level
Root Administrator
Hello,

Just one more information.

I have started command on cPanel command line:
/usr/local/cpanel/scripts/upcp --force and update failed.

On WHM I see this:



cPanel & WHM Upgrade Blockers

Blockers are conditions that do not allow cPanel & WHM to upgrade to a particular version. For more information, read our documentation.



SeverityBlocker Message
FATALYour RPM database appears unstable. It is not possible at the moment to install a simple RPM.
FATALSTDOUT: file /etc/redhat-release is not owned by any package


STDERR: error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm


Cpanel::Exception::ProcessFailed::Error/(XID j9w59d) “/bin/rpm” reported error code “1” when it ended: error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm

at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 161.
Cpanel::ChildErrorStringifier::to_exception(Cpanel::SafeRun::Object=HASH(0x2789610)) called at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 140
Cpanel::ChildErrorStringifier::die_if_error(Cpanel::SafeRun::Object=HASH(0x2789610)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 676
Cpanel::SafeRun::Object::die_if_error(Cpanel::SafeRun::Object=HASH(0x2789610)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 657
Cpanel::SafeRun::Object::new_or_die("Cpanel::SafeRun::Object", "program", "/bin/rpm", "args", ARRAY(0x1483a00), "timeout", 15, "read_timeout", ...) called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 264
Cpanel::GenSysInfo::_run_with_timeout("/bin/rpm", "--query", "--nosignature", "--nodigest", "--queryformat", "%{NAME} %{VERSION}\\n", "--file", "/etc/redhat-release") called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 204
Cpanel::GenSysInfo::_get_rpm_distro_version_arch() called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 124
Cpanel::GenSysInfo::_get_new_conf(HASH(0x277a1c0)) called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 51
Cpanel::GenSysInfo::run() called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 749
eval {...} called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 749
Cpanel::Update::Blocker::Always::_get_sysinfo(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 219
Cpanel::Update::Blocker::Always::is_supported_distro(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 94
Cpanel::Update::Blocker::Always::perform_global_checks(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker.pm line 74
Cpanel::Update::Blocker::is_upgrade_blocked(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 699
Cpanel::Update::Now::can_update(Cpanel::Update::Now=HASH(0x24bd3c0)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 408
Cpanel::Update::Now::run(Cpanel::Update::Now=HASH(0x24bd3c0)) called at /usr/local/cpanel/scripts/updatenow line 122
eval {...} called at /usr/local/cpanel/scripts/updatenow line 122
FATALSTDOUT: file /etc/redhat-release is not owned by any package


STDERR: error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm


Cpanel::Exception::ProcessFailed::Error/(XID nbyh92) “/bin/rpm” reported error code “1” when it ended: error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm

at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 161.
Cpanel::ChildErrorStringifier::to_exception(Cpanel::SafeRun::Object=HASH(0x2869108)) called at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 140
Cpanel::ChildErrorStringifier::die_if_error(Cpanel::SafeRun::Object=HASH(0x2869108)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 676
Cpanel::SafeRun::Object::die_if_error(Cpanel::SafeRun::Object=HASH(0x2869108)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 657
Cpanel::SafeRun::Object::new_or_die("Cpanel::SafeRun::Object", "program", "/bin/rpm", "args", ARRAY(0x27894f0), "timeout", 15, "read_timeout", ...) called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 264
Cpanel::GenSysInfo::_run_with_timeout("/bin/rpm", "--query", "--nosignature", "--nodigest", "--queryformat", "%{NAME} %{VERSION}\\n", "--file", "/etc/redhat-release") called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 204
Cpanel::GenSysInfo::_get_rpm_distro_version_arch() called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 124
Cpanel::GenSysInfo::_get_new_conf(HASH(0x27fdfb0)) called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 51
Cpanel::GenSysInfo::run() called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 749
eval {...} called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 749
Cpanel::Update::Blocker::Always::_get_sysinfo(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 730
Cpanel::Update::Blocker::Always::is_supported_openssl(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 103
Cpanel::Update::Blocker::Always::perform_global_checks(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker.pm line 74
Cpanel::Update::Blocker::is_upgrade_blocked(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 699
Cpanel::Update::Now::can_update(Cpanel::Update::Now=HASH(0x24bd3c0)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 408
Cpanel::Update::Now::run(Cpanel::Update::Now=HASH(0x24bd3c0)) called at /usr/local/cpanel/scripts/updatenow line 122
eval {...} called at /usr/local/cpanel/scripts/updatenow line 122
 

andrewmoras

Active Member
Feb 6, 2021
35
21
8
Remote
cPanel Access Level
DataCenter Provider
Hello,

Just one more information.

I have started command on cPanel command line:
/usr/local/cpanel/scripts/upcp --force and update failed.

On WHM I see this:



cPanel & WHM Upgrade Blockers

Blockers are conditions that do not allow cPanel & WHM to upgrade to a particular version. For more information, read our documentation.



SeverityBlocker Message
FATALYour RPM database appears unstable. It is not possible at the moment to install a simple RPM.
FATALSTDOUT: file /etc/redhat-release is not owned by any package


STDERR: error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm


Cpanel::Exception::ProcessFailed::Error/(XID j9w59d) “/bin/rpm” reported error code “1” when it ended: error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm

at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 161.
Cpanel::ChildErrorStringifier::to_exception(Cpanel::SafeRun::Object=HASH(0x2789610)) called at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 140
Cpanel::ChildErrorStringifier::die_if_error(Cpanel::SafeRun::Object=HASH(0x2789610)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 676
Cpanel::SafeRun::Object::die_if_error(Cpanel::SafeRun::Object=HASH(0x2789610)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 657
Cpanel::SafeRun::Object::new_or_die("Cpanel::SafeRun::Object", "program", "/bin/rpm", "args", ARRAY(0x1483a00), "timeout", 15, "read_timeout", ...) called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 264
Cpanel::GenSysInfo::_run_with_timeout("/bin/rpm", "--query", "--nosignature", "--nodigest", "--queryformat", "%{NAME} %{VERSION}\\n", "--file", "/etc/redhat-release") called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 204
Cpanel::GenSysInfo::_get_rpm_distro_version_arch() called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 124
Cpanel::GenSysInfo::_get_new_conf(HASH(0x277a1c0)) called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 51
Cpanel::GenSysInfo::run() called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 749
eval {...} called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 749
Cpanel::Update::Blocker::Always::_get_sysinfo(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 219
Cpanel::Update::Blocker::Always::is_supported_distro(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 94
Cpanel::Update::Blocker::Always::perform_global_checks(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker.pm line 74
Cpanel::Update::Blocker::is_upgrade_blocked(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 699
Cpanel::Update::Now::can_update(Cpanel::Update::Now=HASH(0x24bd3c0)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 408
Cpanel::Update::Now::run(Cpanel::Update::Now=HASH(0x24bd3c0)) called at /usr/local/cpanel/scripts/updatenow line 122
eval {...} called at /usr/local/cpanel/scripts/updatenow line 122
FATALSTDOUT: file /etc/redhat-release is not owned by any package


STDERR: error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm


Cpanel::Exception::ProcessFailed::Error/(XID nbyh92) “/bin/rpm” reported error code “1” when it ended: error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: BDB0113 Thread/process 16424/140210782124096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm

at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 161.
Cpanel::ChildErrorStringifier::to_exception(Cpanel::SafeRun::Object=HASH(0x2869108)) called at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 140
Cpanel::ChildErrorStringifier::die_if_error(Cpanel::SafeRun::Object=HASH(0x2869108)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 676
Cpanel::SafeRun::Object::die_if_error(Cpanel::SafeRun::Object=HASH(0x2869108)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 657
Cpanel::SafeRun::Object::new_or_die("Cpanel::SafeRun::Object", "program", "/bin/rpm", "args", ARRAY(0x27894f0), "timeout", 15, "read_timeout", ...) called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 264
Cpanel::GenSysInfo::_run_with_timeout("/bin/rpm", "--query", "--nosignature", "--nodigest", "--queryformat", "%{NAME} %{VERSION}\\n", "--file", "/etc/redhat-release") called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 204
Cpanel::GenSysInfo::_get_rpm_distro_version_arch() called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 124
Cpanel::GenSysInfo::_get_new_conf(HASH(0x27fdfb0)) called at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 51
Cpanel::GenSysInfo::run() called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 749
eval {...} called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 749
Cpanel::Update::Blocker::Always::_get_sysinfo(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 730
Cpanel::Update::Blocker::Always::is_supported_openssl(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker/Always.pm line 103
Cpanel::Update::Blocker::Always::perform_global_checks(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Blocker.pm line 74
Cpanel::Update::Blocker::is_upgrade_blocked(Cpanel::Update::Blocker=HASH(0x272f7b0)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 699
Cpanel::Update::Now::can_update(Cpanel::Update::Now=HASH(0x24bd3c0)) called at /usr/local/cpanel/Cpanel/Update/Now.pm line 408
Cpanel::Update::Now::run(Cpanel::Update::Now=HASH(0x24bd3c0)) called at /usr/local/cpanel/scripts/updatenow line 122
eval {...} called at /usr/local/cpanel/scripts/updatenow line 122
Hey,

Your RPM database is probably corrupt if you see the same message when running yum update from cli.

The fix is pretty simple and it gets detailed here.

Good luck!

Thanks,

A
 

kodeslogic

Well-Known Member
Apr 26, 2020
320
121
118
IN
cPanel Access Level
Root Administrator
Please follow these steps to backup and rebuild the rpmdb database:

Code:
mkdir /var/lib/rpm/backup
cp -a /var/lib/rpm/__db* /var/lib/rpm/backup/
rm -f /var/lib/rpm/__db.[0-9][0-9]*
rpm --quiet -qa
rpm --rebuilddb
yum clean all
After this try /usr/local/cpanel/scripts/upcp --force
 

Elizabeta

Well-Known Member
Mar 21, 2018
234
32
28
Mostar
cPanel Access Level
Root Administrator
Please follow these steps to backup and rebuild the rpmdb database:

Code:
mkdir /var/lib/rpm/backup
cp -a /var/lib/rpm/__db* /var/lib/rpm/backup/
rm -f /var/lib/rpm/__db.[0-9][0-9]*
rpm --quiet -qa
rpm --rebuilddb
yum clean all
After this try /usr/local/cpanel/scripts/upcp --force
Hello,

I have run this comands, now everything is ok.

Thank you everyone for help!

BR,
Elizabeta