On Wednesday 28 June 2006 13:26, Martin Simmons wrote: > >>>>> On Wed, 28 Jun 2006 12:32:14 +0200, Kern Sibbald said: > > > > On Wednesday 28 June 2006 11:57, user100 wrote: > > > Here: > > > crw-rw---- 1 root disk 21, 1 Jun 23 12:26 /dev/sg1 > > > crw-rw---- 1 root disk 9, 0 Jun 23 12:26 /dev/st0 > > > > > > /etc/init.d/bacula-sd: > > > SD_USER=bacula > > > SD_GROUP=disk > > > > > > Standard permissions after installation (I think): > > > drwxrwx--- 2 root bacula 4096 Jun 28 11:30 /var/bacula > > > > > > [EMAIL PROTECTED] var]# ps -ef | grep bacula-sd > > > bacula 29581 1 0 11:30 ? 00:00:00 /usr/sbin/bacula-sd -u > > > bacula -g disk -c /etc/bacula/bacula-sd.conf > > > > > > Does in console: > > > #update slots > > > The defined Storage resources are: > > > 1: File > > > 2: Autochanger > > > Select Storage resource (1-2): Unexpected question has been received. > > > 2 > > > Connecting to Storage daemon Autochanger at swlinbck2:9103 ... > > > 3306 Issuing autochanger "slots" command. > > > Device "Autochanger" has 16 slots. > > > Connecting to Storage daemon Autochanger at swlinbck2: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.NCucc29701: Permission denied > > > Invalid Slot number: /etc/bacula/mtx-changer: line 157: > > > /var/bacula/mtx.29700: Permission denied > > > Invalid Slot number: cat: /var/bacula/mtx.29700: Permission denied > > > Invalid Slot number: cat: /var/bacula/mtx.29700: Permission denied > > > Invalid Slot number: Autochanger error: ERR=Child exited with code 1 > > > No Volumes found to label, or no barcodes. > > > # > > > > This looks to me like the user bacula is not in the bacula group. > > What's the status of the initgroups patch? Without that, I don't think > group membership will make any difference.
That's a good point. I have added no initgroups patch because there were two patches. The first one looked reasonably simple. The second patch was much larger and more complicated than I could handle for putting into 1.38.x at the time. Since then, I have lost track of where the patch is, so if someone has it, please send it to me. I have a new system of dealing with submitted patches, so this should not happen in the future. -- Best regards, Kern ("> /\ V_V 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