[Bacula-users] Ang. Re: btape Autochanger unload error's
2008-06-18 04:13:18
I'ts not the permissions then as sd
is running as root.
[root@lobacula sbin]# ps -ef | grep
bacula
root 12313
1 0 10:11 ? 00:00:00 bacula-sd -c /etc/bacula/bacula-sd.conf
I did activate the sleep part in the
mtx-changer which solve part of my problem, the tape actually unloaded
and loaded tape from slot 1. But it failed because of mt seems to be missing.
OS = CentOS 5 I will try and find a mt rpm.
# Increase the sleep time if you have a slow device
# or remove the sleep and add the following:
wait_for_drive $device
sleep 15
exit $rtn
;;
=== Autochanger test ===
3301 Issuing autochanger "loaded" command.
Slot 24 loaded. I am going to unload it.
3302 Issuing autochanger "unload 24 0" command.
unload status=OK 0
3303 Issuing autochanger "load 1 0" command.
3993 Bad autochanger command: /usr/libexec/bacula/mtx-changer
/dev/changer load 1 /dev/nst0 0
3993 result="/usr/libexec/bacula/mtx-changer:
line 99: mt: command not found
": ERR=Child died from signal 15: Termination
You must correct this error or the Autochanger will
not work.
-----------------------------------------------------------------
Roger Sinel
-----------------------------------------------------------------
"John Drescher"
<drescherjm AT gmail DOT com>
06/18/2008 09:55 AM
|
Till
| roger.sinel AT lo DOT se
|
Kopia
| bacula-users AT lists.sourceforge DOT net
|
Ärende
| Re: [Bacula-users] btape
Autochanger unload error's |
|
> I suspect my permissions are incorrect, can someone
verify this for me
> please.
>
> [root@lobacula sbin]# ll -al /dev/nst0
> crw-rw---- 1 root disk 9, 128 Jun 16 11:12 /dev/nst0
>
This is only a problem if you are running the bacula-sd as user bacula
and user bacula is not a member of the group disk.
John
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|