Yeah, I did kinda jump in in the middle, I got side-tracked by
skipping down to how to build a rescue CD for multiple hosts so I
haven't run a configure.

But again, reading this:

"For users of the bacula-rescue rpm the static bacula-fd has already
been built and placed in /etc/bacula/rescue/linux/cdrom/bin/ along
with a symbolic link to your /etc/bacula/bacula-fd.conf file. Rpm
users only need to do the second step:"

Implies I could just start straight at:

cd /etc/bacula/rescue/linux/cdrom
su (become root)
make all

But this system doesn't have the static bacula-fd or a symlink to
bacula-fd.conf. Do I need to get the Bacula source on this system and
run through the ./configure stage?

And I don't need the source on each client system to carry out the
"Putting Two or More Systems on Your Rescue Disk" section of the
instructions do I? Which says that for a client system that has Bacula
installed via RPM all I should need to do (or at least this is how I'm
reading it) is:

ssh client2
cd /etc/bacula/rescue/linux/cdrom
su
(enter root password)
make bacula
exit

In which case I get the following...

[EMAIL PROTECTED] cdrom]# make bacula
make[1]: Entering directory `/etc/bacula/rescue/linux/cdrom/bacula'
./getdiskinfo
Begin collecting system info ...
Done collecting info.
Begin creating scripts ...
Done making partitioning scripts
Begin making formatting script(s) ...
Done building scripts.
./make_rescue_disk
if test ! x"/home/kern/bacula/bin" = x ; then \
   ./copy_static_bacula "/home/kern/bacula/bin"/static-bacula-fd
"/home/kern/bacula/bin"/bacula-fd.conf ; \
elif test ! -f ../rpm_release ; then \
   ./make_static_bacula /home/kern/bacula/k ; \
fi
cp: cannot stat `/home/kern/bacula/bin/static-bacula-fd': No such file
or directory
Warning!!! /home/kern/bacula/bin/static-bacula-fd not found. !!!
cp: cannot stat `/home/kern/bacula/bin/bacula-fd.conf': No such file
or directory
Warning!!! /home/kern/bacula/bin/bacula-fd.conf not found. !!!
./copy_to_roottree
make[1]: Leaving directory `/etc/bacula/rescue/linux/cdrom/bacula'

On 04/04/06, Kern Sibbald <[EMAIL PROTECTED]> wrote:
> Hello,
>
> You are on the right track, but I recommend you actually read the section you
> cite below, and follow it line by line.
>
> I see no where that the first step is to do "make bacula".  Somehow you have
> leaped into the middle of everything without even doing the configure.  Doing
> "make bacula" isn't even necessary if you do "make all" (after having
> configured the directory).
>
>
>
> On Tuesday 04 April 2006 17:00, Will McDonald wrote:
> > Guys,
> >
> > I'm trying to build a rescue CD for the hosts we backup to disk via Bacula.
> >
> > All hosts are CentOS 4.2 or 4.3 and I have bacula-mysql-1.38.5-4 and
> > bacula-mtx-1.38.5-4 installed from RPM.
> >
> > Following the instructions from
> >
> > http://www.bacula.org/dev-manual/Disast_Recove_Using_Bacula.html#SECTION000
> >403000000000000000
> >
> > Here's what happens when I try the first step of the build:
> >
> > [EMAIL PROTECTED] ~]# cd /etc/bacula/rescue/linux/cdrom/
> > [EMAIL PROTECTED] cdrom]# make bacula
> > make[1]: Entering directory `/etc/bacula/rescue/linux/cdrom/bacula'
> > ./getdiskinfo
> > Begin collecting system info ...
> > Done collecting info.
> > Begin creating scripts ...
> > Done making partitioning scripts
> > Begin making formatting script(s) ...
> > Done building scripts.
> > ./make_rescue_disk
> > if test ! x"/home/kern/bacula/bin" = x ; then \
> >    ./copy_static_bacula "/home/kern/bacula/bin"/static-bacula-fd
> > "/home/kern/bacula/bin"/bacula-fd.conf ; \
> > elif test ! -f ../rpm_release ; then \
> >    ./make_static_bacula /home/kern/bacula/k ; \
> > fi
> > cp: cannot stat `/home/kern/bacula/bin/static-bacula-fd': No such file
> > or directory
> > Warning!!! /home/kern/bacula/bin/static-bacula-fd not found. !!!
> > cp: cannot stat `/home/kern/bacula/bin/bacula-fd.conf': No such file
> > or directory
> > Warning!!! /home/kern/bacula/bin/bacula-fd.conf not found. !!!
> > ./copy_to_roottree
> > make[1]: Leaving directory `/etc/bacula/rescue/linux/cdrom/bacula'
> >
> > Before the make I can find the following references to '/home/kern'
> >
> > [EMAIL PROTECTED] cdrom]# grep -r '/home/kern' *
> > bacula/Makefile:STATIC_FD="/home/kern/bacula/bin"
> > bacula/Makefile:           ./make_static_bacula /home/kern/bacula/k ; \
> >
> > Afterwards there are more, all which are cleaned up with a "make clean".
> >
> > [EMAIL PROTECTED] cdrom]# grep -r '/home/kern' *
> > bacula/Makefile:STATIC_FD="/home/kern/bacula/bin"
> > bacula/Makefile:           ./make_static_bacula /home/kern/bacula/k ; \
> > roottree/bacula-dblvsserv1a/bacula/Makefile:STATIC_FD="/home/kern/bacula/bi
> >n" roottree/bacula-dblvsserv1a/bacula/Makefile:
> > ./make_static_bacula /home/kern/bacula/k ; \
> > roottree/bacula-dblvsserv1a/Makefile:STATIC_FD="/home/kern/bacula/bin"
> > roottree/bacula-dblvsserv1a/Makefile:      ./make_static_bacula
> > /home/kern/bacula/k ; \
> > grep: roottree/dev/hdb7: No such device or address
> >
> > Is fixing this going to be as simple as changing STATIC_FD in
> > 'bacula/Makefile' to somewhere that exists?
> >
> > Thanks all.
> >
> > Will.
> >
> >
> > -------------------------------------------------------
> > 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________________________________________
> >_______ Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> --
> Best regards,
>
> Kern
>
>  (">
>  /\
>  V_V
>


-------------------------------------------------------
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&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to