Robert,
I can see too problems:
1. bacula-sd non prompt connection: please solve this problem appart, using
telnet to port 9103 and status storage commands to try to diagnose the
connection problem.
2. Tape Library loading tapes problem: maybe a powercycle to the library
will solve it, but it would nice to check the mtx.log file to fetch more
information about this. It's likely that your autochanger isn't providing
the new status after the tape is load. Other user solved this increasing
all mtx-changer.conf sleep variables to 10 (seconds), witch is a valid
action to take if you keep receiving this kind of errors:
http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/bacula-25/err-child-died-from-signal-15-termination-91750/
Regards,
Heitor
On Thu, Sep 18, 2014 at 6:43 PM, RAT <rober...@netzero.net> wrote:
> Still having issues (I took 10 days off for another project).
>
> I've tried a lot of things:
>
> I added bacula to the tape group, chown bacula:tape /dev/nst* & /dev/sg*,
> I've ran the SELinux recommend:
>
> [root@bacula1 sbin]# grep bacula-sd /var/log/audit/audit.log |
> audit2allow -M mypol
> ******************** IMPORTANT ***********************
> To make this policy package active, execute:
> semodule -i mypol.pp
>
> I set SELinux to permissive, restarted bacula many times... No dice.
>
> Config looks like this (but I've tried using sg devices for Drive-*)
>
> Autochanger {
> Name = DL4000
> Device = Drive1
> Device = Drive2
> Device = Drive3
> Device = Drive4
> Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
> Changer Device = /dev/sg4
> }
>
> Device {
> Name = Drive1 #
> Drive Index = 0
> Media Type = LTO-6-Drive
> Archive Device = /dev/nst2
> AutomaticMount = yes; # when device opened, read it
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> AutoChanger = yes
> # #
> # # Enable the Alert command only if you have the mtx package loaded
> # # Note, apparently on some systems, tapeinfo resets the SCSI controller
> # # thus if you turn this on, make sure it does not reset your SCSI
> # # controller. I have never had any problems, and smartctl does
> # # not seem to cause such problems.
> # #
> # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> # If you have smartctl, enable this, it has more info than tapeinfo
> Alert Command = "sh -c 'smartctl -H -l error %c'"
> }
>
> My errors:
>
> [root@bacula1 sbin]# ./bconsole
> Connecting to Director localhost:9101
> 1000 OK: bacula-dir Version: 5.2.13 (19 February 2013)
> Enter a period to cancel a command.
> *label barcodes
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> The defined Storage resources are:
> 1: File
> 2: DL4000
> Select Storage resource (1-2): 2
> Enter autochanger drive[0]: 4
> Connecting to Storage daemon DL4000 at bacula1.usi.edu:9103 ...
> ^C
> [root@bacula1 sbin]# ./bconsole
> Connecting to Director localhost:9101
> 1000 OK: bacula-dir Version: 5.2.13 (19 February 2013)
> Enter a period to cancel a command.
> *label barcodes
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> The defined Storage resources are:
> 1: File
> 2: DL4000
> Select Storage resource (1-2): 2
> Connecting to Storage daemon DL4000 at bacula1.usi.edu:9103 ...
> Enter autochanger drive[0]: 4
> Connecting to Storage daemon DL4000 at bacula1.usi.edu:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "Drive1" has 48 slots.
> Connecting to Storage daemon DL4000 at bacula1.usi.edu:9103 ...
> 3306 Issuing autochanger "list" command.
> The following Volumes will be labeled:
> Slot Volume
> ==============
> 10 000047L6
> 11 000038L6
> 14 000039L6
> 15 000053L6
> 18 000023L6
> 19 000059L6
> Do you want to label these Volumes? (yes|no): yes
> Defined Pools:
> 1: Default
> 2: File
> 3: Scratch
> Select the Pool (1-3): 3
> Connecting to Storage daemon DL4000 at bacula1.usi.edu:9103 ...
> Sending label command for Volume "000047L6" Slot 10 ...
> 3307 Issuing autochanger "unload slot 14, drive 0" command.
> 3304 Issuing autochanger "load slot 10, drive 0" command.
> 3992 Bad autochanger "load slot 10, drive 0": ERR=Child died from signal
> 15: Termination.
> Results=Program killed by Bacula (timeout)
>
> Label command failed for Volume 000047L6.
> Sending label command for Volume "000038L6" Slot 11 ...
> 3307 Issuing autochanger "unload slot 10, drive 0" command.
> 3304 Issuing autochanger "load slot 11, drive 0" command.
> 3992 Bad autochanger "load slot 11, drive 0": ERR=Child died from signal
> 15: Termination.
> Results=Program killed by Bacula (timeout)
>
> Label command failed for Volume 000038L6.
> Sending label command for Volume "000039L6" Slot 14 ...
> 3307 Issuing autochanger "unload slot 11, drive 0" command.
> 3304 Issuing autochanger "load slot 14, drive 0" command.
> 3992 Bad autochanger "load slot 14, drive 0": ERR=Child died from signal
> 15: Termination.
> Results=Program killed by Bacula (timeout)
>
> Label command failed for Volume 000039L6.
> Sending label command for Volume "000053L6" Slot 15 ...
> 3307 Issuing autochanger "unload slot 14, drive 0" command.
> 3304 Issuing autochanger "load slot 15, drive 0" command.
> 3992 Bad autochanger "load slot 15, drive 0": ERR=Child died from signal
> 15: Termination.
> Results=Program killed by Bacula (timeout)
>
> Label command failed for Volume 000053L6.
> Sending label command for Volume "000023L6" Slot 18 ...
> 3307 Issuing autochanger "unload slot 15, drive 0" command.
> 3304 Issuing autochanger "load slot 18, drive 0" command.
> 3992 Bad autochanger "load slot 18, drive 0": ERR=Child died from signal
> 15: Termination.
> Results=Program killed by Bacula (timeout)
>
> Label command failed for Volume 000023L6.
> Sending label command for Volume "000059L6" Slot 19 ...
> 3307 Issuing autochanger "unload slot 18, drive 0" command.
> 3304 Issuing autochanger "load slot 19, drive 0" command.
> 3992 Bad autochanger "load slot 19, drive 0": ERR=Child died from signal
> 15: Termination.
> Results=Program killed by Bacula (timeout)
>
> Label command failed for Volume 000059L6.
>
> *
>
> Robert Threet
> http://yesistilluseperl.blogspot.com/
>
> ____________________________________________________________
> NetZero now offers 4G mobile broadband. Sign up now.
> http://www.netzero.net/?refcd=NZINTISP0512T4GOUT1
>
>
> ------------------------------------------------------------------------------
> Slashdot TV. Video for Nerds. Stuff that Matters.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
============================================
Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at
Udemy: bacula-users
<https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users>
+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br
Facebook: heitor.faria <http://www.facebook.com/heitor.faria>
Gtalk: heitorfa...@gmail.com
============================================
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users