Error: rpmdb open failed w/ /usr/local/cpanel/bin/packman_get_list_json installed Often errors l

madamada

Registered
Nov 5, 2019
4
1
3
italia
cPanel Access Level
Root Administrator
hi all,

I have this error in whm >MultiPHP Manager

Code:
Error: “/usr/bin/python” reported error code “1” when it ended: error: rpmdb: BDB0113 Thread/process 4674/140263217145920 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 Traceback (most recent call last): File "/usr/local/cpanel/bin/packman_get_list_json", line 9, in packman.init_yum() File "/usr/local/cpanel/bin/packman.py", line 44, in init_yum pkgSack = yb.pkgSack File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1075, in pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 777, in _getSacks self.repos.getPackageSack().setCompatArchs(archdict) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1071, in repos = property(fget=lambda self: self._getRepos(), File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 686, in _getRepos self.conf # touch the config class first File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1079, in conf = property(fget=lambda self: self._getConfig(), File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 349, in _getConfig startupconf = config.readStartupConfig(fn, root, releasever) File "/usr/lib/python2.7/site-packages/yum/config.py", line 1115, in readStartupConfig startupconf.distroverpkg) File "/usr/lib/python2.7/site-packages/yum/config.py", line 1260, in _getsysver raise Errors.YumBaseError("Error: " + str(e)) yum.Errors.YumBaseError: Error: rpmdb open failed w/ /usr/local/cpanel/bin/packman_get_list_json installed Often errors like this can be resolved by running `yum makecache`
in terminal :

Code:
[[email protected] ~]# sudo yum makecache
error: rpmdb: BDB0113 Thread/process 4674/140263217145920 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
CRITICAL:yum.main:

Error: rpmdb open failed
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Hello

This sounds like the rpm database is corrupt. You should be able to rebuild this through WHM by going to WHM>>Software>>Rebuild RPM Database

Once this is complete please run EasyApache once more and let us know if the issue persists
 
  • Like
Reactions: madamada