Quoting Trevor Morrison <[EMAIL PROTECTED]>:
Hi,
I just got Bacula up and running on a FC 4 box and I am backing up a
FC 3 and a RH 9 box. This is a great program with excellent
documentation. My question is I can make the rescue cd for both the
FC 3 and RH 9 boxes, but not for the FC 4 box. I get the following
error:
...
./make_rescue_disk
Tarring /etc files to current directory
tar: Removing leading `/' from member names
tar: /etc/modules.conf: Cannot stat: No such file or directory
tar: Removing leading `/' from hard link targets
tar: Error exit delayed from previous errors
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/bacula-1.36.3.tar.gz_FILES/bacula-1.36.3/rescue/linux/cdrom/bacula'
make: *** [bacula] Error 2
It's the modules.conf file that doesn't exist on newer Red Hat distributions
(they switched to modprobe.conf). You can edit the makefiles and/or scripts
and remove modules.conf from tar list. After that, you'll get ISO
image. However, it will not boot (the kernel gets loaded and than
panics that it can't
find root file system). Or at least that was what happened to me. At
the end,
I simply gave up on Bacula rescue CD. My guess is that the problem was
modules
not being loaded (since scripts that created rescue CD probably attempted to
parse modules.conf to find list of modules to load on boot, instead of parsing
modprobe.conf). What I did was to simply use Fedora (or RHEL)
installation CD,
booted into rescue mode from it, copied over bacula-fd and
bacula-fd.conf files
(which is really all you need in addition to the stuff you have in rescue
mode), created /var/bacula directory (or maybe I could have simply edited
bacula-fd.conf), and performed restore manually (created my mirrors, logical
volumes, file systems, mounted them under /tmp/system, restored there,
reinstalled LILO into MBR, reboot, it works). I did have some trouble with
Bacula not restoring file permissions correctly (see thread "strange file
permissions"), but I solved it by first restoring /etc/passwd and /etc/group
files, and placing them into what rescue CD sees as /etc (you'll need
to remove
/etc/group first, since it points to copy on a CD, /etc/passwd is in ramfs, so
you can just overwrite it). It was rather strange problem which is
most likely
a nasty bug in Bacula's restore code, which I hope will be fixed soon.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users