On Thu, Aug 7, 2008 at 2:50 PM, Nils Blanck-Wehde
<nils.blanck-wehde AT backofficeservice DOT biz> wrote:
Hi Folks,
this is what btape test just told me while testing my autochanger:
=== Autochanger test ===
3301 Issuing autochanger "loaded" command.
3991 Bad autochanger command: /usr/lib/bacula/mtx-changer /dev/sg3
loaded 1 /dev/nst0 0
3991 result="": ERR=Child died from signal 15: Termination
You must correct this error or the Autochanger will not work.
Are you 100% sure that /dev/sg3 is your changer? I ask this because on
my system my device nodes changed after a reboot. I fixed this with a
udev rule though.
You can test the node with the tapeinfo command
# tapeinfo -f /dev/autochanger1
Product Type: Medium Changer
Vendor ID: 'EXABYTE '
Product ID: 'MAGNUM 224 '
Revision: 'C112'
Attached Changer: No
SerialNumber: '000089000435'
SCSI ID: 3
SCSI LUN: 1
Ready: yes
Running "/usr/lib/bacula/mtx-changer /dev/sg3 loaded 1 /dev/nst0 0"
manually (even as user bacula) returns the correct loaded slot-number 1:
-bash-3.2$ /usr/lib/bacula/mtx-changer /dev/sg3 loaded 1 /dev/nst0 0
1
Is there a way to increase debugging so that I can find out why exactle
so command terminated when run by btape.
Maybe someone who knows the code a bit could spread some light.
btape -d 1000
John
!DSPAM:489b456f236875043515211!