David: You need to slow down, and read the list, and follow the suggestions. What is said below is IMPORTANT.
On 6 Mar 2006 at 13:40, Baptiste Malguy wrote: > david robert a écrit : > > thanks for your reply.I am really out of ideas my tape drive permissions > > as follows > > > > crwxrwxrwx 1 root tape 9, 0 2005-02-26 06:38 st0 > Wow, this is dangerous ! Others must not be able to read and/or write > your tape device ! I strongly advice your to remove read and write > access to others. > > > -rwxr-xr-x 1 root bacula 9810 2006-03-06 09:14 bacula-dir.conf > > -rwxr-xr-x 1 root root 912 2006-03-03 19:24 bacula-fd.conf > > -rwxr-xr-x 1 bacula bacula 1950 2006-03-06 09:17 bacula-sd.conf > Almost the same for these configuration files if you use password > authentication mechanism and not client certificate ones. > Even if you are the only user of this machine, it's a better idea to set > correct access rights from the beginning. You mostly can't anticipate on > what is gonna be the next months, or years. > > I have the following: > -rw-r----- 1 root bacula 26086 Mar 6 00:59 bacula-dir.conf > -rw-r----- 1 root bacula 1052 Feb 2 11:13 bacula-fd.conf > -rw-r----- 1 root bacula 2574 Mar 3 17:26 bacula-sd.conf > > > Tape group is havig bacula automatically. > Do you mean installing packages ? > > > One strange thing is bacula > > director showing it is starting but when i went to check the process it > > is not running because of this error > > *st0:MTSETDRVBUFFER only allowed for root* > This error, as long as I know, is not from Bacula Director but from > Bacula Storage Daemon, as long as this is the Storage Daemon which > accesses to tape drives via device files. > > About this specific error message: > - Bacula Storage Daemon, packaged by Debian, runs as user bacula. It's > okay because this user is in group tape, owning tape device files. > - However, only root is allowed to do this MTSETDRVBUFFER (kernel driver > wished limitation I guess). I don't think it's related to your Bacula > Director problem. My Bacula Storage Daemon returns the same error > message, which working pretty well. > > > > > i am blank in this case when the problem and how to fix this > Maybe you can try running Bacula Director in debug+foreground mode: > $ bacula-dir -f -d99 > > Never had to do it for myself, but I think it can be very interesting. -- 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&kid0944&bid$1720&dat1642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users