Find the answer to your Linux question:
Results 1 to 2 of 2
I accidentaly erased /var/lib/*, in a red hat enterprise 3 server. Apparently still works fine, because files in there are created by the programas that use this directory. Does anyone ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    1

    /var/lib erased


    I accidentaly erased /var/lib/*, in a red hat enterprise 3 server. Apparently still works fine, because files in there are created by the programas that use this directory.
    Does anyone can tell me if there is something I should restore by hand, or its safe to let it like this?
    Thanks a lot for your help

  2. #2
    Linux Enthusiast Opnosforatou's Avatar
    Join Date
    Dec 2003
    Location
    Vleuten, The Netherlands
    Posts
    552
    If you have a backup, try and restore it.

    If not.. the dir: /var/lib houses your RPM repositories and other information, (slocatie database)

    It's not a big problem that it's gone, most will be rebuild when you restart the system.
    But you will have to rebuild the whole RPM database.
    That could be a problem.
    ---[ MS09-99896 - Vulnerability in All MS Windows OS ; Using Windows Could Allow Remote Code Execution. ]---
    Hardware: Asus P4P800, 1GB, P4-3Ghz, Asus V9950, Maxtor ATA HD\'s, 3Com GBit lan, Audigy ZS Plat.

Posting Permissions

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