Deleted /var/db directory
From: zlatozar (zlatozar_at_gmail.com)
Date: 07/31/05
- Previous message: Giorgos Keramidas: "Re: Reading the volume-id/label of a cd/dvd ?"
- Next in thread: Norberto Meijome: "Re: Deleted /var/db directory"
- Reply: Norberto Meijome: "Re: Deleted /var/db directory"
- Reply: Gary W. Swearingen: "Re: Deleted /var/db directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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"
- Previous message: Giorgos Keramidas: "Re: Reading the volume-id/label of a cd/dvd ?"
- Next in thread: Norberto Meijome: "Re: Deleted /var/db directory"
- Reply: Norberto Meijome: "Re: Deleted /var/db directory"
- Reply: Gary W. Swearingen: "Re: Deleted /var/db directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: /var corrupted.....
... install all your "big" ports (leafs with lots of dependancies) ... run this
to get a list of depedancy ports which should already be ... It's determining what dependencies
are not present, and asking if I would like to install them. ... and the solution always
seems to be "reinstall everything". ... (freebsd-questions) - RE: Root directory filling up...
... reinstall everything all over again... ... >>>> ports ...
Now my root directory is almost filled up (after I ... the default during install
is to make ... (freebsd-newbies) - Re: /var corrupted.....
... install all your "big" ports (leafs with lots of dependancies) ... run this
to get a list of depedancy ports which should already be ... I go to the port dir and `make
install`, ... >> reinstall it and all its deps. ... (freebsd-questions) - Re: Having problems with my ports configuration
... 80 Gig IDE system disk ... I am having problems with my current installed
ports. ... pkgdb -F gives the following: ... The simple answer is no, don't
bother, just reinstall. ... (freebsd-questions) - Upgrading to 7.0 - stupid requirements
... an older system you should reinstall any ports you have installed on ... Do
you know how much time I have to spend with my PC to reinstall ... And no matter
what I ... after upgrade to a new version. ... (freebsd-stable)