> From what I see above, the userid/group under which Bacula is running does
> not have permission to open the device /dev/nst0.  You should "su bacula"
> and manually try some operation such as rewinding the drive with mt to
> ensure you get everything right.  You should also try using mtx and the
> mtx-changer script manually, so that you can more easily "see"  the
errors.
>
[EMAIL PROTECTED] bacula]# service bacula-sd stop
Stopping Bacula Storage services:                          [  OK  ]
[EMAIL PROTECTED] dev]# su bacula
bash-3.00$ mt -f /dev/nst0 rewind
bash-3.00$ mt -f /dev/nst0 fsf 5
bash-3.00$ mt -f /dev/nst0 rewind

This also runs the tape, not only fail silently.
So, user bacula can manually use mt and /dev/nst0, but the SD running as
user bacula cannot??
After re-starting SD, backup fails again...

[EMAIL PROTECTED] bacula]# ps -ef | grep bacula
root      2110     1  0 Jan07 ?        00:23:27 /usr/sbin/bacula-fd -u
root -g bacula -c /etc/bacula/bacula-fd.conf
bacula   29753     1  0 12:07 ?        00:00:00 /usr/sbin/bacula-dir -u
bacula -g bacula -c /etc/bacula/bacula-dir.conf
bacula   31374     1  0 14:37 ?        00:00:00 /usr/sbin/bacula-sd -u
bacula -g bacula -c /etc/bacula/bacula-sd.conf


I guess the mtx and mtx-changer aren't a matter here, since I don't have an
autochanger but just a single manually loadable drive. And since /dev/sg*
does not exist at all, it shouldn't be a problem either... or was this my
big mistake?


What to try next?

--
TiN




-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to