Permission denied errors would normally indicate, that whatever user
this runs under isn't allowed to access (write?) to that device. Have
you checked your permissions for /dev/nst0 already?
Hi Mike,

I have indeed, bacula runs as bacula:tape and /dev/nst0 is root:tape (crw-rw----). I would have thought this to be sufficient?

When you say "bacula runs", which daemon is this (bacula-dir or bacula-sd)?
The problem could be that bacula-dir (which runs the "RunAfter" command) is
not running as bacula:tape.

__Martin

Apologies for not making myself clearer. I was referring to the bacula-director rather than the other components.

I've just checked who the bacula-director runs as and from looking in init.d/bacula-dir (Debian Sarge 3.1) and the startup script is changing it to run as bacula:bacula. I'm thinking that this would cause the problem I'm seeing. I've now modified /dev/nst0 to be bacula:tape and am hopin that this fixes the problem.

Many thanks.


Gavin Conway
--

UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG
Tel: 08700 681 333  -  Fax: 01527 851 301  -  AS: 20547
[EMAIL PROTECTED]  -  www.uksolutions.co.uk



-------------------------------------------------------
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&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to