1st your conf files shouldn't be in /usr/local/bacula/bin
2nd your bacula-sd.conf may be fine it's the bacula-dir.conf file that
you need to look at.
-Jason
On Mon, 2008-02-25 at 09:44 -0800, Justin Francesconi wrote:
> Basically, this snippet from the console sums it all up:
> -------------------------------------------
> [EMAIL PROTECTED] bin]# ./btape
> -c /usr/local/bacula/bin/bacula-sd.conf /dev/nst0
> Tape block granularity is 1024 bytes.
> btape: butil.c:285 Using device: "/dev/nst0" for writing.
> btape: btape.c:368 open device "SonyDrive" (/dev/nst0): OK
> *
> [EMAIL PROTECTED] bin]# ./bacula start
> Starting the Bacula Storage daemon
> Starting the Bacula File daemon
> Starting the Bacula Director daemon
> 25-Feb 09:39 bacula-dir: ERROR TERMINATION at parse_conf.c:532
> Config error: Could not find config Resource "storage" referenced on
> line 44 : Storage = SonyDrive
>
>
> : line 44, col 22 of
> file /usr/local/bacula/bin/bacula-dir.conf
> Storage = SonyDrive
>
> [EMAIL PROTECTED] bin]# ./btape
> -c /usr/local/bacula/bin/bacula-sd.conf /dev/nst0
> Tape block granularity is 1024 bytes.
> btape: butil.c:285 Using device: "/dev/nst0" for writing.
>
> [EMAIL PROTECTED] bin]#
> ----------------------------------------------
> So, after reboot, you can basically follow what happens - run bacula
> tape test and it's able to communicate with the drive and provide the
> * to run the command 'test', which I have done, and it worked fine.
> However, as soon as I start bacula, it suddenly doesn't like the
> sd.conf (which I thought needed to be correct anyways for btape to
> work), and after that fails, btape no longer works. When I first try
> to start bacula, I hear the tape drive briefly spin and then it
> fails.
>
> What could be causing this?
>
> Thanks,
>
> Justin Francesconi
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________ Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
--
----------------------------------------------------------------------------
Jason A. Kates ([EMAIL PROTECTED])
Fax: 208-975-1514
Phone: 212-400-1670 x2
============================================================================
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users