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 /usr

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

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

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 back

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

Deleted /var/db/pkg

2007-09-18 Thread Robert Huff
[EMAIL PROTECTED] writes: Suppose you deleted /var/db/pkg by accident :( What would you do to get it back?? The literal getting it back involves a lot of typing, or some non-tivial script work. Figuring out what to get back ... look in /usr/ports/distfiles. While

Deleted /var/db/pkg

2007-09-18 Thread nikolaj . thygesen
Hi list, Suppose you deleted /var/db/pkg by accident :( What would you do to get it back?? I started out trying to recreate the xorg port (make install), but being a meta port and only checking for the existance of certain files it doesn't rebuild much. Doing my experiments I have even

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 /usr

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

deleted /var/db/pkg, now what?

2006-08-04 Thread Gobbledegeek
I rebuilt the pkgdb.db but all the other files are gone... Now portupgrade thinks no packages are installed. gnome-upgrade.sh aborts because it cannot handle 'nilclass' string. Any tips to get back my list of installed packages? -- Rgrds GobbledeGeek [Everything but Gobbledegook..

Fwd: deleted /var/db/pkg, now what?

2006-08-04 Thread Ivan Levchenko
-- Forwarded message -- From: Ivan Levchenko [EMAIL PROTECTED] Date: Aug 4, 2006 2:58 PM Subject: Re: deleted /var/db/pkg, now what? To: Gobbledegeek [EMAIL PROTECTED] pkgdb -u (look for more info in man pkgdb) On 8/4/06, Gobbledegeek [EMAIL PROTECTED] wrote: I rebuilt

Re: Fwd: deleted /var/db/pkg, now what?

2006-08-04 Thread Bryan Bonifacio
From man portupgrade... if you are rebuilding the package database, do a pkgdb -fu -- Bryan Ivan Levchenko [EMAIL PROTECTED] wrote: -- Forwarded message -- From: Ivan Levchenko Date: Aug 4, 2006 2:58 PM Subject: Re: deleted /var/db/pkg, now what? To: Gobbledegeek pkgdb -u

Re: Oops: Deleted /var/named

2006-04-01 Thread Lowell Gilbert
daniel [EMAIL PROTECTED] writes: Yes, it was dumb, but while I have a backup of all of my domain info and have restored it all, starting named gives me this error now: devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl

Oops: Deleted /var/named

2006-03-31 Thread daniel
Yes, it was dumb, but while I have a backup of all of my domain info and have restored it all, starting named gives me this error now: devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl

Oops: Deleted /var/named

2006-03-31 Thread daniel
Yes, it was dumb, but while I have a backup of all of my domain info and have restored it all, starting named gives me this error now: devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl

Re: Oops: Deleted /var/named

2006-03-29 Thread Duane Whitty
Olivier Nicole wrote: devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device I can only assume that it has something to do with the files in

[Fwd: Re: Oops: Deleted /var/named]

2006-03-29 Thread Duane Whitty
Original Message Subject:Re: Oops: Deleted /var/named Date: Wed, 29 Mar 2006 13:58:45 +0200 From: Dimitar Vasilev [EMAIL PROTECTED] To: Duane Whitty [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] ev/null

[Fwd: Re: Oops: Deleted /var/named]

2006-03-29 Thread Duane Whitty
Original Message Subject:Re: Oops: Deleted /var/named Date: Wed, 29 Mar 2006 14:35:52 +0200 From: Dimitar Vasilev [EMAIL PROTECTED] To: Duane Whitty [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED

Oops: Deleted /var/named

2006-03-28 Thread daniel
Yes, it was dumb, but while I have a backup of all of my domain info and have restored it all, starting named gives me this error now: devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl

Re: Oops: Deleted /var/named

2006-03-28 Thread Peter
--- daniel [EMAIL PROTECTED] wrote: Yes, it was dumb, but while I have a backup of all of my domain info and have restored it all, starting named gives me this error now: devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate

Re: Oops: Deleted /var/named

2006-03-28 Thread Dan Nelson
In the last episode (Mar 28), daniel said: Yes, it was dumb, but while I have a backup of all of my domain info and have restored it all, starting named gives me this error now: devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl DEVFSIO_RAPPLY:

Re: Oops: Deleted /var/named

2006-03-28 Thread daniel
On Tuesday 28 March 2006 11:54, Dan Nelson wrote: In the last episode (Mar 28), daniel said: Yes, it was dumb, but while I have a backup of all of my domain info and have restored it all, starting named gives me this error now: devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for

Re: Oops: Deleted /var/named

2006-03-28 Thread Olivier Nicole
devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device I can only assume that it has something to do with the files in /var/named/dev/ that I

Deleted /var/db directory

2005-07-31 Thread zlatozar
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

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

Deleted VAR

2003-01-07 Thread Kenzo
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. Thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

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

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