Bacula-users

Re: [Bacula-users] FreeBSD Bare Metal Recovery

2009-02-11 19:37:16
Subject: Re: [Bacula-users] FreeBSD Bare Metal Recovery
From: Doug Sampson <dougs AT dawnsign DOT com>
To: 'Frank Sweetser' <fs AT WPI DOT EDU>
Date: Wed, 11 Feb 2009 16:34:16 -0800
> > Doug Sampson wrote:
> > > I'm using this to recover data onto a FreeBSD 7.1 
> prerelease server:
> > > 
> > > 
> > http://www.bacula.org/fr/dev-manual/Disast_Recove_Using_Bacula
> .html#SECTION0
> > 082314000000000000000
> > >
> > > All of the steps work up until #17 where I need to chroot 
> in order to
> start
> > > the bacula-fd daemon. I get the following error message:
> >
> > I don't know if it'll fix your problem or not, but there's 
> no actual need
> to 
> > chroot the bacula-fd daemon.  Just set the "where" option 
> appropriately
> when 
> > you start up the restore job.
> 
> Ok. I ran this:
> 
> # /mnt/disk/tmp/bacula-fd -c /mnt/disk/tmp/bacula-fd.conf
> 
> and got this:
> 
>    /libexec/ld-elf.so.1: Shared object "libintl.so.8" not 
> found, required by
> "bacula-fd"
> 
> Hm?
> 
> ~Doug

I poked around some more. I discovered the 'ldd' command which shows the
libraries used/required by bacula-fd as follows:

root@pisces:/root# ldd /usr/local/sbin/bacula-fd
/usr/local/sbin/bacula-fd:
        libz.so.4 => /lib/libz.so.4 (0x280c6000)
        libthr.so.3 => /lib/libthr.so.3 (0x280d8000)
        libintl.so.8 => /usr/local/lib/libintl.so.8 (0x280ea000)
        libwrap.so.5 => /usr/lib/libwrap.so.5 (0x280f3000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x280fa000)
        libssl.so.5 => /usr/lib/libssl.so.5 (0x281ef000)
        libcrypto.so.5 => /lib/libcrypto.so.5 (0x2822f000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x2837e000)
        libm.so.5 => /lib/libm.so.5 (0x2846d000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28482000)
        libc.so.7 => /lib/libc.so.7 (0x2848c000)
                
root@pisces:/root# ldd /usr/sbin/chroot
/usr/sbin/chroot:
        libc.so.7 => /lib/libc.so.7 (0x2807b000)

The idea is to collect these libraries and archive off-site along with the
bacula-fd daemon. How do I make those files available to bacula-fd and
chroot via the Fix-it mode? Do I need to recreate these directories for each
of the required libraries or can I put these in the /tmp directory where the
bacula-fd will reside as part of the restore process?

~Doug

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users