On Tue, Mar 05, 2013 at 09:52:45PM +0100, Tilman Gloetzner wrote:
> Hello
>
> Distribution: Ubuntu 12.04
>
> Issue: Bacula does not properly recognize the 12 tape slots of the
> ADIC-1200 G.
>
> Details:
> 1)
> *update slots scan
> 3306 Issuing autochanger "slots" command.
> Device "AutoChanger1" has 0 slots.
> No slots in changer to scan.
>
> 2) If I start bacula-sd directly, it works
> # service bacula-sd stop
> * Stopping Bacula Storage
> daemon... [ OK ]
> # /usr/sbin/bacula-sd
> # bconsole
> Connecting to Director 127.0.0.1:9101
> *update slots scan
> ...
> Connecting to Storage daemon TapeStorage2 ...
> 3306 Issuing autochanger "slots" command.
> Device "AutoChanger1" has 12 slots.
>
> 3) I would think of a permission problem. The file permissions seem
> however not be related to this issue.
> # ls -la /dev/sg0
> crw-rw---- 1 root tape 21, 0 Mar 5 19:14 /dev/sg0
> # ls -la /etc/bacula/scripts/mtx-changer
> -rwxr-xr-x 1 bacula bacula 7524 Mar 2 11:14 /etc/bacula/scripts/mtx-changer
> # chmod 0666 /dev/sg0
> # service bacula-sd start
> * Starting Bacula Storage
> daemon... [ OK ]
> # beconsole
> *update slot scan
> 3306 Issuing autochanger "slots" command.
> Device "AutoChanger1" has 0 slots.
> No slots in changer to scan.
>
> I would appreciate help....
>
> Thanks
>
> Tilman
Hello Tilman,
are you running apparmor or something similar? What userid is used for
the bacula processes?
All the best, Uwe
--
NIONEX --- Ein Unternehmen der Bertelsmann SE & Co. KGaA
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|