Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member DigiCrime's Avatar
    Join Date
    Nov 2002
    Posts
    388

    Default rpm database hosed

    With it being damaged cpanel updates cant complete. short of rpm --rebuilddb and removing the lock files and doing a rebuilddb again its not going to work.. any one have any other ideas on how to repair it (aside from a system reload) ? I contacted cpanel support about this to get their advice and input they said the drive was going bad which is what caused it to stop working. Logically that doesn't seem right as you would see other failures...i havent found any evidence that the drive is failing that would cause this anyone else had this happen?

    System is already hosed what if i transfer an RPM database from a duplicate server, their the same in software (im thinkin no here) but im all for trying the ludicris to. sure there would be difference in signitures but cant hurt it anymore then it already is

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    That's your only realistic option if you want to avoid an OS restore - copy the database from another server with the same OS and revision and update level. As you say, there will be differences, but they're usually manageable and you're better off that you were. Copy the whole of /var/lib/rpm/
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member DigiCrime's Avatar
    Join Date
    Nov 2002
    Posts
    388

    Default

    Didnt help, oh well os restore not a big deal just not following their logic on this. They see some driveseek errors in message log and the rpm damage is caused by this so they say... however I have systems that have shown these errors for a couple years or longer and still present to this day that dont exhibit this kind of error/issue if the drive was going bad hdparm would show some slow readings probably or other services would be failing or far worse.

    Whats your opinion on this?

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    The problem is that they can be false-positives, or an indication of file system corruption or a head-crash. With the latter, you only need one error to indicate a hosed disk. For peace of mind, I'd go with an OS restore on a new disk.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member DigiCrime's Avatar
    Join Date
    Nov 2002
    Posts
    388

    Default

    peace of mind indeed, only way to fix the RPM database at this point anyway as i see no other way at the moment..

Similar Threads & Tags
Similar threads

  1. cannot open Packages database in /var/lib/rpm
    By konrath in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-13-2009, 12:14 PM
  2. I need reinstall courier-**cp.rpm's and imap*rpm
    By speckados in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-14-2005, 04:42 PM
  3. Horde Hosed
    By Solokron in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-10-2005, 10:07 PM
  4. Corrupt RPM database
    By charlesb in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-14-2003, 03:33 AM
  5. # rpm -ivh kernel-2.4.18-18.7.x.athlon.rpm
    By asys1 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-17-2002, 05:17 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube