On 6 Apr 2006 at 14:52, Joe Park wrote:

> Hello,
> 
> I've been testing bacula for awhile and could not figure out this problem.
> Following is my environment --
> 
> bacula ver: 1.38.6
> OS: FreeBSD 6.0
> DB: postgresql 8.1.3

Same here.

> Changer/Tapedrive: Dell PowerVault 122T
> 
> When I try something like "label" after boot up, autochanger throws error,
> as if it does not have correct permission for autochanger device --
> 
> 
> Connecting to Director localhost:9101 1000 OK: localhost-dir Version:
> 1.38.6(28 March 2006) Enter a period to cancel a command.
> *label
> Using default Catalog name=MyCatalog DB=bacula The defined Storage resources
> are:
>      1: File
>      2: DellPowervault_122T
> Select Storage resource (1-2): 2
> Connecting to Storage daemon DellPowervault_122T at 192.168.3.114:9103 ...
> Enter new Volume name: TestVol04
> Enter slot (0 or Enter for none): 1
> Automatically selected Pool: Default Connecting to Storage daemon
> DellPowervault_122T at 192.168.X.XXX:9103 ...
> Sending label command for Volume "TestVol04" Slot 1 ...
> 3301 Issuing autochanger "loaded drive 0" command.
> 3991 Bad autochanger "loaded drive 0" command: ERR=Child exited with code
> 127.
> 3301 Issuing autochanger "loaded drive 0" command.
> 3991 Bad autochanger "loaded drive 0" command: ERR=Child exited with code
> 127.
> 3304 Issuing autochanger "load slot 1, drive 0" command.
> 3992 Bad autochanger "load slot 1, drive 0": ERR=Child exited with code 127.
> Label command failed for Volume TestVol04.
> Do not forget to mount the drive!!!
> *q
> 
> 
> However, if I kill all three 3 daemons (either kill pid, or "
> z-bacula-dir.sh stop") and start the daemons manually
> (/usr/local/etc/rc.d/z-bacula-dir.sh start, etc), the problem goes away.
> 
> I made sure correct permission / ownership ( 0660 root:bacula ) is set on
> the devices and I don't see any differences (same options) when I look at
> the process with ps -- same whether or not daemon was started during boot
> time or manually by me.

I generally keep the permissions on the devices unchanged.  I then 
alter the groups to suit.  That is, my devices are root:operator.  At 
the URL below, you can see the permissions.

Did your autchanger pass the tests as described in the manual?  
Shortcuts can be found here where I documented my testing:

  http://www.freebsddiary.org/digital-tl891.php



-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to