Deleted /var/db directory

From: zlatozar (zlatozar_at_gmail.com)
Date: 07/31/05

  • Next message: Norberto Meijome: "Re: Deleted /var/db directory"
    Date: Sun, 31 Jul 2005 16:38:14 +0300
    To: FreeBSD Questions <freebsd-questions@freebsd.org>
    
    

    Hi all,

    I accedently delete /var/db directory. Shame!
    I found a way to recover structure:

    1) /usr/sbin/mtree -deU -f /etc/mtree/BSD.var.dist -p /var
    2) and then I recreate the log files looking at the /etc/newsyslog.conf.

    That saved me a reinstall !
    But now I can't update my ports.
    Is there a way to recover my db of all installed ports? How I can
    reinstall all my ports? Will reinstall helps?
     
    Thanks in advance!

    Regards,
    Zlatozar

    ----------------------------------------
            (__) FreeBSD
       \\\ ' ' , )
          \ / \ ^
           .\ ._/_)
    "I'm not a great OS; I'm just a good OS with great ideas."
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Norberto Meijome: "Re: Deleted /var/db directory"

    Relevant Pages