I believe this issue has been discussed before, but I dint understand 
how to solve it.
I would really appreciate if any anyone can help me.

Im using RHEL 4, and bacula 1.38.11-3 for x86_64 RPM and 'im trying to 
setup an autocharger.
When I run "update slots" command at bconsole, I get the following;

Connecting to Storage daemon IBM Ultrium 3 at 10.0.23.17:9103 ...
3306 Issuing autochanger "slots" command.
Device "IBM Ultrium 3" has 8 slots.
Connecting to Storage daemon IBM Ultrium 3 at 10.0.23.17:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3991 Bad autochanger "loaded drive 0" command: ERR=Child exited with 
code 1.
3306 Issuing autochanger "list" command.
Invalid Slot number: mktemp: cannot create temp file 
/var/bacula/mtx.lHTkYe4218: Permission denied
Invalid Slot number: /etc/bacula/mtx-changer: line 157: 
/var/bacula/mtx.4217: Permission denied
Invalid Slot number: cat: /var/bacula/mtx.4217: Permission denied
Invalid Slot number: cat: /var/bacula/mtx.4217: Permission denied
Invalid Slot number: Autochanger error: ERR=Child exited with code 1
No Volumes found to label, or no barcodes.

I get a permission denied on /var/bacula/.
As I told I've installed the RPM package of bacula and all the 
permissions seems to be correct:
[EMAIL PROTECTED] ~]# ls /var/bacula -la
total 1808
drwxrwx---   2 root   bacula    4096 Aug  9 14:35 .
drwxr-xr-x  25 root   root      4096 Mar 24 15:16 ..
-rw-r-----   1 bacula bacula     200 Aug  7 23:10 BackupCatalog.bsr
-rw-r-----   1 bacula bacula    1396 Aug  9 14:35 bacula-dir.9101.state
-rw-r-----   1 root   bacula     996 Aug  9 14:35 bacula-fd.9102.state
-rw-r-----   1 bacula bacula 1752134 Aug  8 23:35 bacula.sql
-rw-------   1 bacula bacula       0 Aug  9 14:24 isep-dir.conmsg
-rw-r-----   1 bacula bacula   36921 Aug  9 05:23 log
[EMAIL PROTECTED] ~]# ps aux |  grep bacula
bacula    2973  0.0  0.0 102624 2292 ?       Ssl  14:40   0:00 
/usr/sbin/bacula-sd -u bacula -g disk -c /etc/bacula/bacula-sd.conf
root      3057  0.0  0.0 80828 1904 ?        Ssl  14:40   0:00 
/usr/sbin/bacula-fd -u root -g bacula -c /etc/bacula/bacula-fd.conf
bacula    3073  0.0  0.0 104360 2792 ?       Ssl  14:40   0:00 
/usr/sbin/bacula-dir -u bacula -g bacula -c /etc/bacula/bacula-dir.conf
root      4169  0.0  0.0 79832 1936 pts/2    Sl+  14:43   0:00 
/usr/sbin/bconsole -c /etc/bacula/bconsole.conf
root      4235  0.0  0.0 51056  608 pts/1    S+   14:46   0:00 grep bacula

[EMAIL PROTECTED] ~]# grep "bacula" /etc/group
disk:x:6:root,bacula
bacula:x:102:bacula

[EMAIL PROTECTED] ~]# grep "bacula" /etc/passwd
bacula:x:101:6:Bacula:/var/bacula:/sbin/nologin
[EMAIL PROTECTED] ~]#

Thanks


-- 


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