Re: Deleted /var/db/pkg

2007-10-03 Thread nikolaj . thygesen
Hi list, Thanks for all the feedback I got concerning the recreation of my package database - it's been most helpful. I'm pretty much home free now, and I learnt a lot during the process; I just have a question regarding using the -o option of portupgrade. I understand that this option,

Re: Deleted /var/db/pkg

2007-09-21 Thread nikolaj . thygesen
On Tue, 18 Sep 2007 16:46:03 +0400 Andrew Pantyukhin [EMAIL PROTECTED] wrote: On Tue, Sep 18, 2007 at 02:01:27PM +0200, [EMAIL PROTECTED] wrote: Hi list, Suppose you deleted /var/db/pkg by accident :( What would you do to get it back?? I'd go one of these ways: - rm -rf

Re: Deleted /var/db/pkg

2007-09-21 Thread Vince
[EMAIL PROTECTED] wrote: On Tue, 18 Sep 2007 16:46:03 +0400 Andrew Pantyukhin [EMAIL PROTECTED] wrote: On Tue, Sep 18, 2007 at 02:01:27PM +0200, [EMAIL PROTECTED] wrote: Hi list, Suppose you deleted /var/db/pkg by accident :( What would you do to get it back?? I'd go one of these

Re: Deleted /var/db/pkg

2007-09-21 Thread nikolaj . thygesen
[EMAIL PROTECTED] wrote: On Tue, 18 Sep 2007 16:46:03 +0400 Andrew Pantyukhin [EMAIL PROTECTED] wrote: On Tue, Sep 18, 2007 at 02:01:27PM +0200, [EMAIL PROTECTED] wrote: Hi list, Suppose you deleted /var/db/pkg by accident :( What would you do to get it back?? I'd go one of these

Re: Deleted /var/db/pkg

2007-09-21 Thread Vince
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: On Tue, 18 Sep 2007 16:46:03 +0400 Andrew Pantyukhin [EMAIL PROTECTED] wrote: On Tue, Sep 18, 2007 at 02:01:27PM +0200, [EMAIL PROTECTED] wrote: Hi list, Suppose you deleted /var/db/pkg by accident :( What would you do to get it

Re: Deleted /var/db/pkg

2007-09-18 Thread Andrew Pantyukhin
On Tue, Sep 18, 2007 at 02:01:27PM +0200, [EMAIL PROTECTED] wrote: Hi list, Suppose you deleted /var/db/pkg by accident :( What would you do to get it back?? I'd go one of these ways: - rm -rf /usr/local ... - rebuild all the packages I need in a chroot, then pkg_add them Good luck!

Re: Deleted /var/db/pkg

2007-09-18 Thread Mel
On Tuesday 18 September 2007 14:01:27 [EMAIL PROTECTED] wrote: Suppose you deleted /var/db/pkg by accident :( What would you do to get it back?? Depending how fast your disk and cpu is: cd /usr/ports find . -name pkg-plist -print|xargs egrep -H '^(s?bin|lib)' |while read MATCH; do

Re: Deleted /var/db/pkg

2007-09-18 Thread RW
On Tue, 18 Sep 2007 16:46:03 +0400 Andrew Pantyukhin [EMAIL PROTECTED] wrote: On Tue, Sep 18, 2007 at 02:01:27PM +0200, [EMAIL PROTECTED] wrote: Hi list, Suppose you deleted /var/db/pkg by accident :( What would you do to get it back?? I'd go one of these ways: - rm -rf

Re: Deleted /var/db/pkg

2007-09-18 Thread Rob
RW wrote: Or do both, so you can build at your convenience, and have a full set of packages ready when you delete /usr/local/. You probably want to keep a copy of /usr/local/etc and possibly some others under local/. That's where all your config files live. -Rob

Re: Deleted /var/db/pkg, gnome_upgrade aborts

2006-08-05 Thread Gobbledegeek
yup ! doing that! Thanks for the tip! Rgrds On 8/4/06, michael johnson [EMAIL PROTECTED] wrote: On 8/4/06, Gobbledegeek [EMAIL PROTECTED] wrote: I rebuilt the pkgdb.db but all the other files are gone... Now portupgrade thinks no packages are installed. gnome-upgrade.sh aborts

Re: Deleted /var/db directory

2005-07-31 Thread Norberto Meijome
zlatozar wrote: Hi all, I accedently delete /var/db directory. Shame! I found a way to recover structure: [...] But now I can't update my ports. Is there a way to recover my db of all installed ports? from your backups. You DO keep backups, right? :)

Re: Deleted /var/db directory

2005-07-31 Thread Gary W. Swearingen
zlatozar [EMAIL PROTECTED] writes: Is there a way to recover my db of all installed ports? How I can reinstall all my ports? Will reinstall helps? I think your ports (eg, /usr/ports/*/*) are still installed and most of your package files (eg, /usr/local/bin/portinstall) are too, but your

Re: Deleted VAR

2003-01-07 Thread Brian
all the users inboxes are by default there, as well as logs, and other critical files; got backup?? Bri - Original Message - From: Kenzo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 9:27 AM Subject: Deleted VAR Help, I accidently deleted everything in

Re: Deleted VAR

2003-01-07 Thread Andrew Prewett
Today Kenzo wrote: Help, I accidently deleted everything in the /var dir. ( fat fingered ). Is there a way to retrive it? or do i have to reinstall. I'm now getting alot of error message since it's also a mail server. well not anymore. You can restore the directory structure -- at least --

Re: Deleted VAR

2003-01-07 Thread Mike Meyer
In [EMAIL PROTECTED], Kenzo [EMAIL PROTECTED] typed: Help, I accidently deleted everything in the /var dir. ( fat fingered ). Is there a way to retrive it? or do i have to reinstall. I'm now getting alot of error message since it's also a mail server. well not anymore. The stuff in /var tends

Re: Deleted VAR

2003-01-07 Thread Goedeke Michels
There is a tool supposed to be able to do this: /usr/ports/sysutils/ffsrecov However, it does not work for me, complaining about some missing magic. Maybe you have more luck. There is also an undelete (2) routine, however, I am not aware of any program that uses it. In case you have any success

Re: Deleted VAR

2003-01-07 Thread Kenzo
on 10.25.2.60 port 22 but it still doesn't work. what else do I need to do? - Original Message - From: Mike Meyer [EMAIL PROTECTED] To: Kenzo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 12:04 PM Subject: Re: Deleted VAR In [EMAIL PROTECTED], Kenzo [EMAIL

Re: Deleted VAR

2003-01-07 Thread Mike Meyer
[Context lost to top posting.] In [EMAIL PROTECTED], Kenzo [EMAIL PROTECTED] typed: Yes, that worked, but now I can't sshd to it anymore. looking in the auth.log file, it sais Bind to port 22 on 0.0.0.0 failed address already in use. so I edit the file /etc/ssh/sshd_config to ListenAddress

Re: Deleted VAR

2003-01-07 Thread Kenzo
help. logs are working again. and I'm gonna do that backup as soon as I get everyting else working. - Original Message - From: Mike Meyer [EMAIL PROTECTED] To: Kenzo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 1:38 PM Subject: Re: Deleted VAR In [EMAIL PROTECTED

Re: Deleted VAR

2003-01-07 Thread Andrew Prewett
Today Mike Meyer wrote: In [EMAIL PROTECTED], Andrew Prewett [EMAIL PROTECTED] typed: Today Mike Meyer wrote: [Context lost to top posting.] In [EMAIL PROTECTED], Kenzo [EMAIL PROTECTED] typed: Yes, that worked, but now I can't sshd to it anymore. looking in the auth.log

Re: Deleted VAR

2003-01-07 Thread Mike Meyer
In [EMAIL PROTECTED], Kenzo [EMAIL PROTECTED] typed: I put sshd_config back the way it was and rebooted and still got the same thing. Server Listening on 0.0.0.0 port 22 is that suppose to be this? what else can I do? You're supposed to get that message. What are you doing that's not

Re: Deleted VAR

2003-01-07 Thread Mike Meyer
In [EMAIL PROTECTED], Andrew Prewett [EMAIL PROTECTED] typed: Today Mike Meyer wrote: [Context lost to top posting.] In [EMAIL PROTECTED], Kenzo [EMAIL PROTECTED] typed: Yes, that worked, but now I can't sshd to it anymore. looking in the auth.log file, it sais Bind to port 22 on

Re: Deleted VAR

2003-01-07 Thread Andrew Prewett
Today Mike Meyer wrote: [Context lost to top posting.] In [EMAIL PROTECTED], Kenzo [EMAIL PROTECTED] typed: Yes, that worked, but now I can't sshd to it anymore. looking in the auth.log file, it sais Bind to port 22 on 0.0.0.0 failed address already in use. so I edit the file

Re: Deleted VAR

2003-01-07 Thread Kenzo
I put sshd_config back the way it was and rebooted and still got the same thing. Server Listening on 0.0.0.0 port 22 is that suppose to be this? what else can I do? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message

Re: Deleted VAR

2003-01-07 Thread Mike Meyer
In [EMAIL PROTECTED], Andrew Prewett [EMAIL PROTECTED] typed: Today Mike Meyer wrote: In [EMAIL PROTECTED], Andrew Prewett [EMAIL PROTECTED] typed: Today Mike Meyer wrote: [Context lost to top posting.] In [EMAIL PROTECTED], Kenzo [EMAIL PROTECTED] typed: Yes, that

Re: Deleted VAR

2003-01-07 Thread Mike Meyer
In [EMAIL PROTECTED], Nathan Kinkade [EMAIL PROTECTED] typed: On Tue, Jan 07, 2003 at 03:35:33PM -0600, Mike Meyer wrote: In [EMAIL PROTECTED], Andrew Prewett [EMAIL PROTECTED] typed: snip Right. Restarting a single process is easy. It's finding all the ones that might need restarting

Re: Deleted VAR

2003-01-07 Thread Andrew Prewett
On Jan 7 Mike Meyer wrote: In [EMAIL PROTECTED], Andrew Prewett [EMAIL PROTECTED] typed: Today Mike Meyer wrote: In [EMAIL PROTECTED], Andrew Prewett [EMAIL PROTECTED] typed: Today Mike Meyer wrote: [Context lost to top posting.] In [EMAIL PROTECTED], Kenzo [EMAIL