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 >> >> 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) $ 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 $ 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. -- Baptiste MALGUY - IT Engineer SOLSOFT PGP Fingerprint: 2A90 B6D1 855F 1584 FE68 94AC CCD6 36D0 3DC7 DCB8 www.solsoft.com - phone: +33 1 47 15 04 00 - fax: +33 1 47 15 55 09 How secure networks are managed. ------------------------------------------------------- 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