Results 1 to 3 of 3

Thread: redhat issue

  1. #1
    Join Date
    Jan 2006

    redhat issue

    when i try to update apache or mysql

    i receive this message :

    Waiting for up2date to finish....rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Providename index using db3 - Cannot allocate memory (12)
    RPM error. The message was:
    Could not determine what version of Red Hat Linux you are running.
    If you get this error, try running

    rpm --rebuilddb

    any advice ??

    my server:
    dual xeon 3.2
    ram 2 gb
    RedHat Enterprise 3

  2. #2
    Join Date
    May 2006

    Check for /var/lib/rpm and remove all the files like __db

    then run rpm --rebuilddb
    SparkSupport.Com - The Premier Tech Company
    Cloud Solutions|Email Infra setup|VOIP|Video Streaming|Software Development
    Email: [email protected] Phone : 1- 408-600-1449 | Skype : shijils

  3. #3
    Join Date
    Jan 2006
    i do it now
    got this error:

    [/var/lib/rpm]# rm -rf __db.001
    [/var/lib/rpm]# rm -rf __db.002
    [/var/lib/rpm]# rm -rf __db.003
    [/var/lib/rpm]# cd
    [~]# rpm --rebuilddb
    error: failed to replace old database with new database!
    error: replace files in /var/lib/rpm with files from /var/lib/rpmrebuilddb.22109 to recovererror: failed to remove directory /var/lib/rpmrebuilddb.22109: Directory not empty

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts