Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2004
    Location
    India
    Posts
    509

    rpm erased need help and advice

    In a strange scenario one remote server is having issue itself with the rpm package. It seems that it got damaged and as the rpm itself is corrupted , it can not fix itself.

    The box is very critical and it can not be reinstalled as it is in remote DC. Is there any way to fix this without a reinstallation?

    System is RHEL 3 Update 6.

    Need your advice on this.
    ESC :wq!

  2. #2
    Join Date
    Jan 2007
    Location
    Montana
    Posts
    4
    Can you extract and reupload the original rpm package?if you could do that then you could probably use it to repair. See if you can download source and then rebuild it on the server. if its available anyways

  3. #3
    Join Date
    Oct 2004
    Location
    India
    Posts
    509
    I tried to copy the files from other servers and it is still throughing erorrs.

    As a example if I run the up2date on the server which is based on the rpm itself, the following error is throughn:

    root:XXXXXXXX# up2date -l
    error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
    error: cannot open Packages database in /var/lib/rpm
    ESC :wq!

  4. #4
    Join Date
    Jan 2007
    Location
    Montana
    Posts
    4
    search for extracting rpm source on google. first link that comes up here has some useful info. if your host offers kvm ip you could use that service to rebuild the whole machine. is your rpm db intact?

  5. #5
    Join Date
    Jan 2007
    Location
    Montana
    Posts
    4
    do those directories exist? you may need to look up on repairing your db as well. look up RPM DB Recovery on google. sorry would post links but not allowed to yet.

Posting Permissions

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