I'm trying to start up the storage daemon and I'm getting an error:

[EMAIL PROTECTED]:/var/lib/bacula# /etc/init.d/bacula-sd start
Starting Bacula Storage daemon: 26-Aug 07:34 bacula-sd: ERROR TERMINATION at 
parse_conf.c:821
Config error: Keyword "DeviceType" not permitted in this resource.
Perhaps you left the trailing brace off of the previous resource.
            : line 47, col 13 of file /etc/bacula/bacula-sd.conf
  DeviceType = DVD

Here is my bacula-sd.conf:

Storage {                             # definition of myself
  Name = r2d2-sd
  SDPort = 9103                  # Director's port      
  WorkingDirectory = "/var/lib/bacula"
  Pid Directory = "/var/run/bacula"
  Maximum Concurrent Jobs = 20
}

Director {
  Name = r2d2-dir
  Password = "xxx"
}

Director {
  Name = r2d2-dir
  Password = "xxx"
}

Device {
  Name = "DVDStorage"
  DeviceType = DVD
  Media Type = DVD
  Archive Device = /dev/hdc
  LabelMedia = yes
  Random Access = yes
  AutomaticMount = yes
  RemovableMedia = yes
  AlwaysOpen = no
  Spool Directory = /bacula-spool
  Requires Mount = Yes
  Mount Point = /bacula-mount
  Mount Command = "/bin/mount -t iso9660 -o ro %a %m"
  Unmount Command = "/bin/umount %m"
  Write Part Command = "/usr/local/bin/dvd-handler %a write %e %v"
  Free Space Command = "/usr/local/bin/dvd-handler %a free"
}

-------------------------------------------------------------------------
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