Bacula-users

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

2008-08-07 15:14:08
Subject: Re: [Bacula-users] ERR=Child died from signal 15: Termination
From: Nils Blanck-Wehde <nils.blanck-wehde AT backofficeservice DOT biz>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 07 Aug 2008 21:13:45 +0200
Hi John,

I checked it, /dev/sg3 is the right device. I may have found something odd.
I did a couple of load/unload operations with both mtx and mtx-changer and they worked well. I then tried to load an empty slot and got the following output:
[root@company-Backupserver ~]# /usr/lib/bacula/mtx-changer /dev/sg3 load 1 /dev/nst0 0
Loading media from Storage Element 1 into drive 0...Source Element Address 256 is Empty
The interesting thing is that the command did not terminate. I waited for about 6 minutes but nothing happened. After that I canceled the command (CTRL-C).
Is this how it's supposed to be? If not then maybe it is something like this that makes bacula go crazy.

Thanks, Nils


John Drescher schrieb:
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!

  

--

 

BackOfficeService - Beratung und Service für Ihre IT -

 

Anschrift:

Niederkastenholzer Str. 40

53881 Euskirchen

Telefon:   +49 2255 953204

Fax:          +49 2255 953208

Mobil:      +49 177 3397547

Bankverbindung:

Raiffeisenbank Rheinbach Voreifel eG

Kto. Nr. 340286014 (BLZ 370 696 27)

Online:

info@backofficeservice.biz

www.backofficeservice.biz

 

-------------------------------------------------------------------------
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