Bacula-users

Re: [Bacula-users] ERR=Child died from signal 15: Termination

2008-08-07 14:56:49
Subject: Re: [Bacula-users] ERR=Child died from signal 15: Termination
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "Nils Blanck-Wehde" <nils.blanck-wehde AT backofficeservice DOT biz>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 7 Aug 2008 14:56:43 -0400
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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users