Bacula-users

[Bacula-users] Device "NULL" requested by DIR is disabled.

2016-05-12 10:03:03
Subject: [Bacula-users] Device "NULL" requested by DIR is disabled.
From: "skeletor AT lissyara DOT su" <skeletor AT lissyara DOT su>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 12 May 2016 16:36:20 +0300
Hello.
I spent a few days with this error, but can't understand where is 
mistake. Google tells, that this misconfiguration between sd.conf and 
dir.conf, but it's identical.

This error at SD log. On the Dir log i can see next:

Storage daemon didn't accept Device "NULL" because:
Device "NULL" not in SD Device resources or no matching Media Type.

 From bconsole:

*show Storage=NULL
Storage: name=NULL address=XX.XX.XX.XX SDport=9103 MaxJobs=1
       DeviceName=NULL MediaType=NULL StorageId=7 Autochanger=0


Here sd.conf:

Storage {
         Name = stor
         SDPort = 9103
         WorkingDirectory = "/var/bacula"
         Pid Directory = "/var/bacula"
}

Director {
         Name = backup-dir
         Password = "XXX"
}

Device {
         Name = NULL
         Media Type = NULL
         Device Type = Fifo
         Archive Device = /dev/null
         LabelMedia = yes
         Random Access = no
         AutomaticMount = no
         RemovableMedia = no
         MaximumOpenWait = 60
         AlwaysOpen = no
}

Here dir.conf:

Storage {
         Name = NULL
         Address = XX.XX.XX.XX
         SDPort = 9103
         Password = "XXX"
         Device = NULL
         Media Type = NULL
}

Job {
     Name = "Clien_NULL"
     JobDefs = "DefaultJob_Backup"
     Level = Full
     FileSet = "configs"
     Pool = Full-pool
     Storage = NULL
     Client = client1
}

Thanks.

PS. Device NULL a add for test, on real devices are the same.

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Device "NULL" requested by DIR is disabled., skeletor AT lissyara DOT su <=