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
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.
Any ideas? Thanks,
- [Bacula-users] difference between autostarting and manually s... Joe Park