On 26 Feb 2006 at 8:06, Drew Tomlinson wrote:

> On 2/25/2006 7:47 AM Dan Langille said the following:
> 
> >On 25 Feb 2006 at 7:17, Drew Tomlinson wrote:
> >
> >  
> >
> >>On 2/25/2006 4:45 AM Dan Langille said the following:
> >>
> >>    
> >>
> >>>On 24 Feb 2006 at 23:05, Drew Tomlinson wrote:
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>>>I'm trying to do the FreeBSD Bare Metal Recover as described in the 
> >>>>Bacula manual.  I'm having problems with step 3, starting an emergency 
> >>>>console.  I follow the steps and get a message stating that an 
> >>>>"Emergency Holographic console" has been started on vt4.  OK, I use 
> >>>>alt-F4 and get a black screen with a # prompt.  However no commands 
> >>>>work.  Even a simple "ls" returns "ls: not found". 
> >>>>I am using  the FreeBSD 6.0 install CD with which I installed this 
> >>>>system.  Any ideas on what I'm missing?
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>I think you're using the install CD.  Try using the Live CD.  
> >>>Something like FreeSBIE would work.  Or the disc2.
> >>> 
> >>>
> >>>      
> >>>
> >>Yes, I'm using disk 1.  Maybe the docs should be updated as step 1 says 
> >>"Boot with the FreeBSD installation disk" which led me to believe that 
> >>disk 1 was all I needed.
> >>
> >>I tried FreeSBIE2 and included the bacula client as a package.  It 
> >>almost worked but when I attempted to start bacula-fd, I received an 
> >>error that was something along the lines of "libexec/ld-elf.so:  
> >>libz.so.2 not found".  So I guess I need to build a statically linked 
> >>bacula-fd? 
> >>    
> >>
> >
> >I would guess that.  I don't know how to do that.
> >
> >  
> >
> >>My current situation is the device that needs to be restored is (was) 
> >>FreeBSD 6.0 running on a Pentium III 550 mhz box.  My bacula director, 
> >>catalogs, storage, etc. is on another box running FreeBSD 6.0 on a 
> >>Pentium III 600 box.  Thus binaries should be transportable.
> >>
> >>I'm still on bacula 1.36.3 as one of the clients in my network is Gentoo 
> >>and there is no updated ebuild in the regular portage tree and as such, 
> >>I've been hesitant to upgrade.  So what is the best (easiest) way to get 
> >>a version of bacula-fd running on the failed box?
> >>    
> >>
> >
> >I would install the OS, and build Bacula from ports.  That's what I'd 
> >do.
> >  
> >
> I did this and was able to restore my system.  Thanks for your help.  
> However, I would like to learn how to build a statically linked version 
> of Bacula from within the ports system and then have that package 
> available to include on a FreeSBIE CD for future incidents.  Does anyone 
> know if this is possible?  And if so, how?

Someone sugggested but didn't know if it would work:

    make CCFLAGS+=-static


-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to