> > Hmmmm...Sort of looks like bacula is passing the wrong variables to
> the
> > script ? Or my config is wrong ?
> >
> Your config looks correct. At least the line that calls the script.
> >
> > (shutdown all bacula daemons)
> > # /usr/local/share/bacula/mtx-changer /dev/pass0 slots 1
> >
> > 20
> >
> The other option is whatever user you are running bacula-sd at does
> not have access to  /usr/local/share/bacula/mtx-changer or /dev/pass0
> 
> John

Good call :)

Running bacula-sd as root:wheel works.

Dan,
What is the 'elegant' approach to giving bacula:bacula access to
/dev/pass0 ?


*label barcodes
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: Drive-1
Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
3306 Issuing autochanger "slots" command.
Device "Drive-1" has 20 slots.
Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
3306 Issuing autochanger "list" command.
The following Volumes will be labeled:
Slot  Volume
==============
   2  B00039L3
   3  B00029L3
   4  B00025L3
   5  B00028L3
   6  B00022L3
   7  B00026L3
   8  B00031L3
   9  B00030L3
  10  B00037L3
  11  B00034L3
  12  B00035L3
  13  B00036L3
  14  B00038L3
  15  B00032L3
  16  B00024L3
  17  B00021L3
  18  B00020L3
  19  B00027L3
  20  B00033L3
   1  B00023L3

-------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to