Hi Paul,

What version of bacula are you using.

AFAIK the Autochanger directive is only supported in 1.38.*.

Loooks like your might be using an older version or possibly didn't close the brackets of the previous section maybe.

Troy.

Paul Kelly wrote:
I inserted the following into my bacula-sd.conf and now it won't even
start and fails with the error follwing what I inserted. I'm stumped, it
looks right to me.. Any anyone?

Thanks in advance.


----------------
what I inserted.
Autochanger {
  Name = "Autochanger"
  Device = C9264CB-VS80
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg3
}

Device {
  Name = C9264CB-VS80
  Media Type = DLT-8000
  Archive Device = /dev/nst0
  Autochanger = yes
  LabelMedia = no;
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
-------------------

The error...
[EMAIL PROTECTED]:/etc/bacula # /etc/init.d/bacula start
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Starting bacula storage daemon ...
07-May 15:10 bacula-sd: ERROR TERMINATION at parse_conf.c:781
Config error: expected resource name, got: Autochanger
            : line 39, col 12 of file /etc/bacula/bacula-sd.conf
---------------------

Line 39 is the line that starts with "Autochanger".

????

PK





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to