On 14 Jan 2006 at 18:00, James P. Kinney III wrote: > On Sat, 2006-01-14 at 19:20 +0100, Kern Sibbald wrote: > > On Saturday 14 January 2006 18:14, James P. Kinney III wrote: > > > On Sat, 2006-01-14 at 15:31 +0100, Kern Sibbald wrote: > > > > > So it looks like the mtx-changer is not being touched. > > > > > > > > More likely, there is a problem with paths (i.e. Bacula is using a > > > > different path from the one you are using), or a problem of permissions > > > > ... > > > > > > Hmm. There is only one copy of mtx-changer and one copy of mtx. The > > > bacula-sd.conf points to the correct (and only) version. I have tried > > > perms of 755 on mtx-changer and mtx. I even set mtx to suid root. > > > > Yes, those permissions seem OK, but your SD is probably running as user > > bacula > > rather than root and that is likely to create problems. > > BINGO!! I now have slots. > > I'll look at editing the src.rpm so the bacula-sd gets setup to run as > root in the init.d file.
I suggest another option. Find out what permissions exist on the changer/tape drive and adjust bacula to suit that. I advise against running as root if you have other options. For example, on FreeBSD, we do this: $ grep bacula /etc/group operator:*:5:root,bacula Why? Because of this: $ ls -l /dev/sa0 crw-rw---- 4 root operator 14, 0 Mar 13 2005 /dev/sa0 The operater has access to the tape drive. I *seem* to recall I might have had to do a chmod g+w on that device. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users