1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

mchk error

Discussion in 'Plesk for Linux - 8.x and Older' started by dourtyb, Feb 9, 2005.

  1. dourtyb

    dourtyb Guest

    0
     
    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
     
  2. cmaxwell

    cmaxwell Regular Pleskian

    25
    73%
    Joined:
    Aug 1, 2001
    Messages:
    150
    Likes Received:
    1
    We have seen this problem also. I will update this when we have identified a resolution to the problem.

    - Chris
     
  3. dourtyb

    dourtyb Guest

    0
     
    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
     
Loading...