Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2006 14:13:15 -0400 (EDT)
From:      James Smallacombe <james@pil.net>
To:        Eric <heli@mikestammer.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Copying binaries to new server
Message-ID:  <Pine.BSF.4.44.0610241411130.55341-100000@richard2.pil.net>
In-Reply-To: <453E36F5.70102@mikestammer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Oct 2006, Eric wrote:

> James Smallacombe wrote:
> > A couple of months ago, I spent a couple of weeks compiling and configuring
> > the latest FBSD, apache, perl, qmail and the bazzilion modules, patches and
> > addon apps that go with all of it on an existing server, and ironing out all
> > the upgrade issues that entailed.
> >
> > Since then, due to apparent hardware problems with that server, I just put
> > together a new server using new hardware.
> >
> > The old hardware was dual P-III, Adaptec SCSI RAID 1
> >
> > The new hardware is single Xeon, LSI SAS RAID 1
> >
> > Both running 6.2-Prerelease.
> >
> > Is there any reason I shouldn't just copy all of /usr and /var from the old
> > server, or do I really need to compile everything anew and sort out any
> > simlinks to other file systems?
> >
> > Please copy me directly, since I am no subscribed
>
> why not just a dump/restore of the file systems in question?

Here's another issue I just ran into while trying to do just that, using tar:

su-2.05b# tar xpPvfz
<snip thousands of lines>
x /usr/lib/libtacplus.so.2
x /usr/lib/libtacplus.so
x /usr/lib/libutil.a
x /usr/lib/libutil.so
x /usr/lib/libypclnt.a
x /usr/lib/libypclnt.so.2
x /usr/lib/libypclnt.so
x /usr/lib/libalias.a
x /usr/lib/libalias.so
x /usr/lib/libarchive.a
x /usr/lib/libarchive.so.2Bus error: 10 (core dumped)

I take it the core dump occured because I was trying to overwrite a lib that
was in use by tar, right?  Is there a good way around this?

TIA,

James Smallacombe                    Internet Access for The Delaware
james@pil.net                        Valley in PA, NJ and DE
PlantageNet Internet Ltd.            http://www.pil.net
=========================================================================




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.44.0610241411130.55341-100000>