Package: bacula
Followup-For: Bug #367424

I have same problems here.

When I start bacula-sd with /etc/init.d/bacula-sd start I've got an Error.

server:/etc/bacula# /etc/init.d/bacula-sd start
Starting Bacula Storage daemon: 15-Mai 22:04 bacula-sd: Fatal Error
because: Bacula interrupted by signal 11: Segmentation violation
Kaboom! bacula-sd, bacula-sd got signal 11. Attempting traceback.
Kaboom! exepath=/usr/sbin/
Calling: /usr/sbin/btraceback /usr/sbin/bacula-sd 25680
Traceback complete, attempting cleanup ...

The debugging message:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1213823296 (LWP 25680)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7e601fe in __waitpid_nocancel () from /lib/tls/libpthread.so.0
/etc/bacula/scripts/btraceback.gdb:1: Error in sourced command file:
No symbol table is loaded. Use the "file" command.

Not much :-(

This happens only when I configure the autochanger in the bacula-sd.conf file.

Autochanger {
   Name = ADIC #
   Description = "ADIC VLS DLT400"
   Device = AUTO-DLT
   Changer Device = /dev/sg2
   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
}

Device {
   Name = AUTO-DLT #
   Description = "ADIC DLT4000"
   Media Type = DLT-auto
   Archive Device = /dev/nst0
   AutomaticMount = yes;
   AlwaysOpen = yes;
   RemovableMedia = yes;
   RandomAccess = no;
   AutoChanger = yes;
   LabelMedia = no;
   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
   Maximum Spool Size = 1895219200
   Maximum Job Spool Size = 1695219200
   Spool Directory = /var/spool/bacula
}

bacula-dir.conf :

Storage {
   Name = ADIC
   Address = server
   SDPort = 9103
   Password = "****************************"
   Device = ADIC
   Media Type = DLT-auto
   Autochanger = yes
}

When I use the following Dervice Section in bacula-sd.conf then I've got no 
error but the Changer doesn't work.


Device {
  Name = ADIC #
  Description = "ADIC DLT4000"
  Media Type = DLT-auto
  Archive Device = /dev/nst0
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes;
  LabelMedia = no;
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
  Changer Device = /dev/sg2
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Maximum Spool Size = 1895219200
  Maximum Job Spool Size = 1695219200
  Spool Directory = /var/spool/bacula
}

I've open a bugreport at bacula.org but the problem is in the debian package.
http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=0000615

When I compile the original sources from Sourceforge, I have no error and
everything went fine.

When I compile the source from debian, then I got the error.

I don't know much about the debian/rule file but I thing there must be an 
error in the compiler flags.



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.16
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to