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,
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
[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
[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
[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
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
[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
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
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
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
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
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
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..
-- 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
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
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
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
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
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
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
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
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
--- 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
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:
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
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
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
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? :)
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
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
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
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 --
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
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
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
[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
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
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
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
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
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
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
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
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
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
45 matches
Mail list logo