• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

mchk error

D

dourtyb

Guest
I am running RHEL 3.0, Plesk 7.5.2, and get the following error when I try to run mchk.

./mchk -v
rpmdb: fatal region error detected; run recovery
error: db4 error(-30982) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30982)
mchk: Unable to open rpm db: cannot open Packages index using db3 - (-30982)


System error 2: No such file or directory
mchk: Unable to open rpm db: cannot open Packages index using db3 - (-30982)


System error 2: No such file or directory
 
We have seen this problem also. I will update this when we have identified a resolution to the problem.

- Chris
 
I found the solution. It is to remove the __db.00x files in /var/lib/rpm and then run rpm --rebuilddb. mchk -v will then run. I've had to rebuild the RPM database a couple of times since I installed 7.5.2. I'm not sure what keeps corrupting the RPM database. It isn't right.

Does anyone know what mchk -v actually does?

Brian Dourty
 
Back
Top