David: are you subscribed to this mailing list? Did you get this email? Please read below for my suggestions.
On 6 Mar 2006 at 12:48, Baptiste Malguy wrote: > Dan Langille a écrit : > > On 6 Mar 2006 at 8:24, david robert wrote: > > > > > >>crwxrwxrwx 1 root root 9, 0 2005-02-26 06:38 st0 The above are your permissions. Compare them to below. > >> > >> out as above and thanks for your help > > > > > > That is the problem. Bacula has no permissions to write to st0. > > > > > >>Dan Langille <[EMAIL PROTECTED]> wrote: > >> On 3 Mar 2006 at 19:46, david robert wrote: > >> > >> > >>>Hi guys, > >>> > >>>I am running debian 3.1 with adaptec scsi tape drive card and I am > >>>running bacula 1.36.2 debian package and i have configured my > >>>director,storage and fd when i try to restart the director daemon it > >>>will restart but when i went to process check it is not showing and > >>>the messages file is having below error > >>> > >>>st0:MTSETDRVBUFFER only allowed for root > >>> > >>>st0 is my scsi tape drive > >>> > >>>i have changed the permissions and ownership of st0 to root > >>> > >>>I am using kerel version 2.4.27-2-686-smp #1 on dell poweredge 1650 > >>> > >>>Can some one help me how fix this problem > >> > >>It sounds like bacula is running as non-root (recommended) and the > >>permissions on st0 aren't allowed it to read. > >> > >>Please show us ls -l st0 > >> > >>It might be a simple matter of putting bacula into the right group > >>(e.g. operator, tape, etc). > > Under Debian 3.1 (Sarge), I have the following: > > $ id bacula > uid=105(bacula) gid=105(bacula) groups=105(bacula),26(tape) What does your output of "id bacula" look like? > $ ls -l /dev/st1 /dev/nst1 > crw-rw---- 1 root tape 9, 129 Mar 14 2002 /dev/nst1 > crw-rw---- 1 root tape 9, 1 Mar 14 2002 /dev/st1 My suggestion: make your permissions the same as the above > $ ps -u bacula | grep bacula-sd > 21857 ? 03:45:23 bacula-sd > > I don't remember if I have added bacula to group tape myself or not as I > have later debian-packaged version 1.38.3 of Bacula on my own. David: ensure bacula is in the tape group: i.e. /etc/group. David: Please follow the above advice and reply to the list with the results. -- 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