View Issue Details

IDProjectCategoryView StatusLast Update
0000091bareos-corestorage daemonpublic2015-03-25 19:18
Reporteruser12Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx64OSCentos, Ubuntu, SLESOS Version3
Product Version12.4.2 
Fixed in Version12.4.2 
Summary0000091: btape crashes after quit command
Descriptionafter quiting btape we receive:
btape: signal.c:136-0 sig=11 Segmentation violation
BAREOS interrupted by signal 11: Segmentation violation

We use mhvtl to emulate a virtual tape library
Steps To Reproduceroot@cardtech01:/etc/bareos# btape LTO
Tape block granularity is 1024 bytes.
btape: butil.c:287-0 Using device: "LTO" for writing.
btape: btape.c:496-0 open device "LTO" (/dev/nst0): OK
*quit
BAREOS interrupted by signal 11: Segmentation violation
Kaboom! btape, btape got signal 11 - Segmentation violation. Attempting traceback.
Kaboom! exepath=/etc/bareos
Calling: /etc/bareos/btraceback /etc/bareos/btape 9974 /tmp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ff276b91700 (LWP 9977)]
[New Thread 0x7ff277392700 (LWP 9975)]
0x00007ff27941988d in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff2777e7000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff2779ff000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff277cfb000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff277efe000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff27829f000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff27851c000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff27873c000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff278941000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff278b4a000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff278f00000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff2791ec000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff279422000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff279684000.
warning: Memory read failed for corefile section, 1048576 bytes at 0x7ff279899000.
Saved corefile /tmp/btape.9974
TagsNo tags attached.

Activities

user12

2013-02-25 16:38

 

btape_segmentation_violation.txt (79,834 bytes)   
Tape block granularity is 1024 bytes.
btape: smartall.c:142-0 smalloc 321 at 20b8588 from btape.c:259
btape: mem_pool.c:133-0 sm_get_pool_memory give 20b8588 to btape.c:259
btape: smartall.c:142-0 smalloc 321 at 20b86d8 from btape.c:260
btape: mem_pool.c:133-0 sm_get_pool_memory give 20b86d8 to btape.c:260
btape: smartall.c:142-0 smalloc 56 at 20b8368 from btape.c:267
btape: smartall.c:142-0 smalloc 289 at 20b8828 from parse_conf.c:1070
btape: parse_conf.c:1133-0 Enter parse_config()
btape: parse_conf.c:1135-0 parse_config pass 1
btape: smartall.c:142-0 smalloc 68 at 20b8958 from lex.c:205
btape: lex.c:217-0 Open config file: /etc/bareos/bareos-sd.conf
btape: smartall.c:142-0 smalloc 689 at 20b8be8 from lex.c:218
btape: smartall.c:142-0 smalloc 5065 at 20b8ea8 from lex.c:250
btape: lex.c:279-0 fget line=1 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=2 # Default Bareos Storage Daemon Configuration file
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=3 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=4 #  For Bareos release 12.4.1 (06 February 2013) -- ubuntu Ubuntu 12.04 LTS
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=5 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=6 # You may need to change the name of your tape drive
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=7 #   on the "Archive Device" directive in the Device
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=8 #   resource.  If you change the Name and/or the
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=9 #   "Media Type" in the Device resource, please ensure
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=10 #   that dird.conf has corresponding changes.
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=11 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=12 
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=13 Storage {                             # definition of myself
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:198-0 Item=name def=no defval=None
btape: parse_conf.c:198-0 Item=description def=no defval=None
btape: parse_conf.c:198-0 Item=sdaddress def=yes defval=9103
btape: parse_conf.c:198-0 Item=sdaddresses def=yes defval=9103
btape: smartall.c:142-0 smalloc 65 at 20ba288 from address_conf.c:260
btape: smartall.c:142-0 smalloc 65 at 20ba2d8 from bnet.c:557
btape: smartall.c:142-0 smalloc 113 at 20ba328 from bnet.c:539
btape: smartall.c:142-0 smalloc 113 at 20ba3a8 from address_conf.c:336
btape: smartall.c:185-0 sm_free 113 at 20ba328 from bnet.c:539
btape: smartall.c:185-0 sm_free 65 at 20ba2d8 from bnet.c:557
btape: parse_conf.c:198-0 Item=messages def=no defval=None
btape: parse_conf.c:198-0 Item=sdport def=yes defval=9103
btape: parse_conf.c:198-0 Item=workingdirectory def=yes defval=/var/lib/bareos
btape: smartall.c:142-0 smalloc 57 at 20ba2d8 from parse_conf.c:237
btape: parse_conf.c:198-0 Item=piddirectory def=yes defval=/var/lib/bareos
btape: smartall.c:142-0 smalloc 57 at 20ba428 from parse_conf.c:237
btape: parse_conf.c:198-0 Item=subsysdirectory def=no defval=None
btape: parse_conf.c:198-0 Item=plugindirectory def=no defval=None
btape: parse_conf.c:198-0 Item=scriptsdirectory def=no defval=None
btape: parse_conf.c:198-0 Item=maximumconcurrentjobs def=yes defval=20
btape: parse_conf.c:198-0 Item=heartbeatinterval def=yes defval=0
btape: parse_conf.c:198-0 Item=tlsauthenticate def=no defval=None
btape: parse_conf.c:198-0 Item=tlsenable def=no defval=None
btape: parse_conf.c:198-0 Item=tlsrequire def=no defval=None
btape: parse_conf.c:198-0 Item=tlsverifypeer def=yes defval=true
btape: parse_conf.c:198-0 Item=tlscacertificatefile def=no defval=None
btape: parse_conf.c:198-0 Item=tlscacertificatedir def=no defval=None
btape: parse_conf.c:198-0 Item=tlscertificate def=no defval=None
btape: parse_conf.c:198-0 Item=tlskey def=no defval=None
btape: parse_conf.c:198-0 Item=tlsdhfile def=no defval=None
btape: parse_conf.c:198-0 Item=tlsallowedcn def=no defval=None
btape: parse_conf.c:198-0 Item=clientconnectwait def=yes defval=180
btape: parse_conf.c:198-0 Item=verid def=no defval=None
btape: parse_conf.c:198-0 Item=compatible def=no defval=true
btape: parse_conf.c:198-0 Item=ndmpenable def=no defval=None
btape: parse_conf.c:198-0 Item=ndmpsnooping def=no defval=None
btape: parse_conf.c:198-0 Item=ndmploglevel def=yes defval=4
btape: parse_conf.c:198-0 Item=ndmpaddress def=yes defval=10000
btape: parse_conf.c:198-0 Item=ndmpaddresses def=yes defval=10000
btape: smartall.c:142-0 smalloc 65 at 20ba478 from address_conf.c:260
btape: smartall.c:142-0 smalloc 65 at 20ba4c8 from bnet.c:557
btape: smartall.c:142-0 smalloc 113 at 20ba328 from bnet.c:539
btape: smartall.c:142-0 smalloc 113 at 20ba518 from address_conf.c:336
btape: smartall.c:185-0 sm_free 113 at 20ba328 from bnet.c:539
btape: smartall.c:185-0 sm_free 65 at 20ba4c8 from bnet.c:557
btape: parse_conf.c:198-0 Item=ndmpport def=yes defval=10000
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=14   Name = cardtech01-sd
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: smartall.c:142-0 smalloc 1089 at 20ba598 from parse_conf.c:411
btape: mem_pool.c:133-0 sm_get_pool_memory give 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 55 at 20ba4c8 from parse_conf.c:426
btape: lex.c:279-0 fget line=15   Maximum Concurrent Jobs = 20
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for maximumconcurrentjobs
btape: lex.c:279-0 fget line=16 
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=17   # remove comment in next line to load plugins from specified directory
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: smartall.c:142-0 smalloc 1921 at 7fdee40008e8 from lockmgr.c:638
btape: lex.c:279-0 fget line=18   # Plugin Directory = /usr/lib/bareos/plugins
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=19 }
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:142-0 smalloc 313 at 20ba9e8 from stored_conf.c:816
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=20 
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=21 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=22 # List Directors who are permitted to contact Storage daemon
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=23 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=24 Director {
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:198-0 Item=name def=no defval=None
btape: parse_conf.c:198-0 Item=description def=no defval=None
btape: parse_conf.c:198-0 Item=password def=no defval=None
btape: parse_conf.c:198-0 Item=monitor def=no defval=None
btape: parse_conf.c:198-0 Item=tlsauthenticate def=no defval=None
btape: parse_conf.c:198-0 Item=tlsenable def=no defval=None
btape: parse_conf.c:198-0 Item=tlsrequire def=no defval=None
btape: parse_conf.c:198-0 Item=tlsverifypeer def=yes defval=true
btape: parse_conf.c:198-0 Item=tlscacertificatefile def=no defval=None
btape: parse_conf.c:198-0 Item=tlscacertificatedir def=no defval=None
btape: parse_conf.c:198-0 Item=tlscertificate def=no defval=None
btape: parse_conf.c:198-0 Item=tlskey def=no defval=None
btape: parse_conf.c:198-0 Item=tlsdhfile def=no defval=None
btape: parse_conf.c:198-0 Item=tlsallowedcn def=no defval=None
btape: parse_conf.c:198-0 Item=keyencryptionkey def=no defval=None
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=25   Name = cardtech01-dir
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 56 at 20ba328 from parse_conf.c:426
btape: lex.c:279-0 fget line=26   Password = "oJF9xbVtwULC3dn/UopUUzbm9nOIWqZS49S6gdb1pin4"
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for password
btape: smartall.c:142-0 smalloc 74 at 20bab38 from parse_conf.c:517
btape: lex.c:279-0 fget line=27 }
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:142-0 smalloc 241 at 20bab98 from stored_conf.c:816
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=28 
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=29 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=30 # Restricted Director, used by tray-monitor to get the
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=31 #   status of the storage daemon
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=32 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=33 Director {
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:198-0 Item=name def=no defval=None
btape: parse_conf.c:198-0 Item=description def=no defval=None
btape: parse_conf.c:198-0 Item=password def=no defval=None
btape: parse_conf.c:198-0 Item=monitor def=no defval=None
btape: parse_conf.c:198-0 Item=tlsauthenticate def=no defval=None
btape: parse_conf.c:198-0 Item=tlsenable def=no defval=None
btape: parse_conf.c:198-0 Item=tlsrequire def=no defval=None
btape: parse_conf.c:198-0 Item=tlsverifypeer def=yes defval=true
btape: parse_conf.c:198-0 Item=tlscacertificatefile def=no defval=None
btape: parse_conf.c:198-0 Item=tlscacertificatedir def=no defval=None
btape: parse_conf.c:198-0 Item=tlscertificate def=no defval=None
btape: parse_conf.c:198-0 Item=tlskey def=no defval=None
btape: parse_conf.c:198-0 Item=tlsdhfile def=no defval=None
btape: parse_conf.c:198-0 Item=tlsallowedcn def=no defval=None
btape: parse_conf.c:198-0 Item=keyencryptionkey def=no defval=None
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=34   Name = cardtech01-mon
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 56 at 20ba368 from parse_conf.c:426
btape: lex.c:279-0 fget line=35   Password = "hlM5+69He7390sqAhIcmIigfhZ+EZ+b87woEi6okJ47+"
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for password
btape: smartall.c:142-0 smalloc 74 at 20bac98 from parse_conf.c:517
btape: lex.c:279-0 fget line=36   Monitor = yes
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for monitor
btape: lex.c:279-0 fget line=37 }
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:142-0 smalloc 241 at 20bacf8 from stored_conf.c:816
btape: stored_conf.c:835-0 Inserting director res: cardtech01-mon
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=38 
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=39 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=40 # Note, for a list of additional Device templates please
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=41 #  see the directory <bareos-source>/examples/devices
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=42 # Or follow the following link:
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=43 #  http://bareos.svn.sourceforge.net/viewvc/bareos/trunk/bareos/examples/devices/
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=44 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=45 
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=46 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=47 # Devices supported by this Storage daemon
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=48 # To connect, the Director's bareos-dir.conf must have the
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=49 #  same Name and MediaType.
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=50 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=51 
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=52 Device {
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:198-0 Item=name def=no defval=None
btape: parse_conf.c:198-0 Item=description def=no defval=None
btape: parse_conf.c:198-0 Item=mediatype def=no defval=None
btape: parse_conf.c:198-0 Item=devicetype def=no defval=None
btape: parse_conf.c:198-0 Item=archivedevice def=no defval=None
btape: parse_conf.c:198-0 Item=hardwareendoffile def=yes defval=on
btape: parse_conf.c:198-0 Item=hardwareendofmedium def=yes defval=on
btape: parse_conf.c:198-0 Item=backwardspacerecord def=yes defval=on
btape: parse_conf.c:198-0 Item=backwardspacefile def=yes defval=on
btape: parse_conf.c:198-0 Item=bsfateom def=yes defval=off
btape: parse_conf.c:198-0 Item=twoeof def=yes defval=off
btape: parse_conf.c:198-0 Item=forwardspacerecord def=yes defval=on
btape: parse_conf.c:198-0 Item=forwardspacefile def=yes defval=on
btape: parse_conf.c:198-0 Item=fastforwardspacefile def=yes defval=on
btape: parse_conf.c:198-0 Item=removablemedia def=yes defval=on
btape: parse_conf.c:198-0 Item=randomaccess def=no defval=off
btape: parse_conf.c:198-0 Item=automaticmount def=yes defval=off
btape: parse_conf.c:198-0 Item=labelmedia def=yes defval=off
btape: parse_conf.c:198-0 Item=alwaysopen def=yes defval=on
btape: parse_conf.c:198-0 Item=autochanger def=yes defval=off
btape: parse_conf.c:198-0 Item=closeonpoll def=yes defval=off
btape: parse_conf.c:198-0 Item=blockpositioning def=yes defval=on
btape: parse_conf.c:198-0 Item=usemtiocget def=yes defval=on
btape: parse_conf.c:198-0 Item=checklabels def=yes defval=off
btape: parse_conf.c:198-0 Item=requiresmount def=yes defval=off
btape: parse_conf.c:198-0 Item=offlineonunmount def=yes defval=off
btape: parse_conf.c:198-0 Item=blockchecksum def=yes defval=on
btape: parse_conf.c:198-0 Item=autoselect def=yes defval=true
btape: parse_conf.c:198-0 Item=changerdevice def=no defval=None
btape: parse_conf.c:198-0 Item=changercommand def=no defval=None
btape: parse_conf.c:198-0 Item=alertcommand def=no defval=None
btape: parse_conf.c:198-0 Item=maximumchangerwait def=yes defval=300
btape: parse_conf.c:198-0 Item=maximumopenwait def=yes defval=300
btape: parse_conf.c:198-0 Item=maximumopenvolumes def=yes defval=1
btape: parse_conf.c:198-0 Item=maximumnetworkbuffersize def=no defval=None
btape: parse_conf.c:198-0 Item=volumepollinterval def=yes defval=300
btape: parse_conf.c:198-0 Item=maximumrewindwait def=yes defval=300
btape: parse_conf.c:198-0 Item=minimumblocksize def=no defval=None
btape: parse_conf.c:198-0 Item=maximumblocksize def=no defval=None
btape: parse_conf.c:198-0 Item=maximumvolumesize def=no defval=None
btape: parse_conf.c:198-0 Item=maximumfilesize def=yes defval=1000000000
btape: parse_conf.c:198-0 Item=volumecapacity def=no defval=None
btape: parse_conf.c:198-0 Item=maximumconcurrentjobs def=no defval=None
btape: parse_conf.c:198-0 Item=spooldirectory def=no defval=None
btape: parse_conf.c:198-0 Item=maximumspoolsize def=no defval=None
btape: parse_conf.c:198-0 Item=maximumjobspoolsize def=no defval=None
btape: parse_conf.c:198-0 Item=driveindex def=no defval=None
btape: parse_conf.c:198-0 Item=maximumpartsize def=no defval=None
btape: parse_conf.c:198-0 Item=mountpoint def=no defval=None
btape: parse_conf.c:198-0 Item=mountcommand def=no defval=None
btape: parse_conf.c:198-0 Item=unmountcommand def=no defval=None
btape: parse_conf.c:198-0 Item=writepartcommand def=no defval=None
btape: parse_conf.c:198-0 Item=freespacecommand def=no defval=None
btape: parse_conf.c:198-0 Item=labeltype def=no defval=None
btape: parse_conf.c:198-0 Item=norewindonclose def=no defval=None
btape: parse_conf.c:198-0 Item=drivecryptoenabled def=no defval=None
btape: parse_conf.c:198-0 Item=querycryptostatus def=no defval=None
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=53   Name = FileStorage
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 53 at 20badf8 from parse_conf.c:426
btape: lex.c:279-0 fget line=54   Media Type = File
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for mediatype
btape: smartall.c:142-0 smalloc 46 at 20bae38 from parse_conf.c:448
btape: lex.c:279-0 fget line=55   Archive Device = /var/lib/bareos/storage
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for archivedevice
btape: smartall.c:142-0 smalloc 65 at 20bae78 from parse_conf.c:448
btape: lex.c:279-0 fget line=56   LabelMedia = yes;                   # lets Bareos label unlabeled media
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for labelmedia
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=57   Random Access = Yes;
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for randomaccess
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=58   AutomaticMount = yes;               # when device opened, read it
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for automaticmount
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=59   RemovableMedia = no;
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for removablemedia
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=60   AlwaysOpen = no;
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for alwaysopen
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=61 }
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:142-0 smalloc 393 at 20baec8 from stored_conf.c:816
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=62 
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=63 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=64 # An autochanger device with two drives
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=65 #
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=66 Autochanger {
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:198-0 Item=name def=no defval=None
btape: parse_conf.c:198-0 Item=description def=no defval=None
btape: parse_conf.c:198-0 Item=device def=no defval=None
btape: parse_conf.c:198-0 Item=changerdevice def=no defval=None
btape: parse_conf.c:198-0 Item=changercommand def=no defval=None
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=67   Name = L700
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 46 at 20bb068 from parse_conf.c:426
btape: lex.c:279-0 fget line=68   Device = LTO
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for device
btape: lex.c:279-0 fget line=69 #  Device = Drive-2
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=70   Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for changercommand
btape: smartall.c:142-0 smalloc 92 at 20bb0a8 from parse_conf.c:448
btape: lex.c:279-0 fget line=71   Changer Device = /dev/sg3
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for changerdevice
btape: smartall.c:142-0 smalloc 50 at 20bb118 from parse_conf.c:448
btape: lex.c:279-0 fget line=72 }
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:142-0 smalloc 345 at 20bb158 from stored_conf.c:816
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=73 
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=74 Device {
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:198-0 Item=name def=no defval=None
btape: parse_conf.c:198-0 Item=description def=no defval=None
btape: parse_conf.c:198-0 Item=mediatype def=no defval=None
btape: parse_conf.c:198-0 Item=devicetype def=no defval=None
btape: parse_conf.c:198-0 Item=archivedevice def=no defval=None
btape: parse_conf.c:198-0 Item=hardwareendoffile def=yes defval=on
btape: parse_conf.c:198-0 Item=hardwareendofmedium def=yes defval=on
btape: parse_conf.c:198-0 Item=backwardspacerecord def=yes defval=on
btape: parse_conf.c:198-0 Item=backwardspacefile def=yes defval=on
btape: parse_conf.c:198-0 Item=bsfateom def=yes defval=off
btape: parse_conf.c:198-0 Item=twoeof def=yes defval=off
btape: parse_conf.c:198-0 Item=forwardspacerecord def=yes defval=on
btape: parse_conf.c:198-0 Item=forwardspacefile def=yes defval=on
btape: parse_conf.c:198-0 Item=fastforwardspacefile def=yes defval=on
btape: parse_conf.c:198-0 Item=removablemedia def=yes defval=on
btape: parse_conf.c:198-0 Item=randomaccess def=no defval=off
btape: parse_conf.c:198-0 Item=automaticmount def=yes defval=off
btape: parse_conf.c:198-0 Item=labelmedia def=yes defval=off
btape: parse_conf.c:198-0 Item=alwaysopen def=yes defval=on
btape: parse_conf.c:198-0 Item=autochanger def=yes defval=off
btape: parse_conf.c:198-0 Item=closeonpoll def=yes defval=off
btape: parse_conf.c:198-0 Item=blockpositioning def=yes defval=on
btape: parse_conf.c:198-0 Item=usemtiocget def=yes defval=on
btape: parse_conf.c:198-0 Item=checklabels def=yes defval=off
btape: parse_conf.c:198-0 Item=requiresmount def=yes defval=off
btape: parse_conf.c:198-0 Item=offlineonunmount def=yes defval=off
btape: parse_conf.c:198-0 Item=blockchecksum def=yes defval=on
btape: parse_conf.c:198-0 Item=autoselect def=yes defval=true
btape: parse_conf.c:198-0 Item=changerdevice def=no defval=None
btape: parse_conf.c:198-0 Item=changercommand def=no defval=None
btape: parse_conf.c:198-0 Item=alertcommand def=no defval=None
btape: parse_conf.c:198-0 Item=maximumchangerwait def=yes defval=300
btape: parse_conf.c:198-0 Item=maximumopenwait def=yes defval=300
btape: parse_conf.c:198-0 Item=maximumopenvolumes def=yes defval=1
btape: parse_conf.c:198-0 Item=maximumnetworkbuffersize def=no defval=None
btape: parse_conf.c:198-0 Item=volumepollinterval def=yes defval=300
btape: parse_conf.c:198-0 Item=maximumrewindwait def=yes defval=300
btape: parse_conf.c:198-0 Item=minimumblocksize def=no defval=None
btape: parse_conf.c:198-0 Item=maximumblocksize def=no defval=None
btape: parse_conf.c:198-0 Item=maximumvolumesize def=no defval=None
btape: parse_conf.c:198-0 Item=maximumfilesize def=yes defval=1000000000
btape: parse_conf.c:198-0 Item=volumecapacity def=no defval=None
btape: parse_conf.c:198-0 Item=maximumconcurrentjobs def=no defval=None
btape: parse_conf.c:198-0 Item=spooldirectory def=no defval=None
btape: parse_conf.c:198-0 Item=maximumspoolsize def=no defval=None
btape: parse_conf.c:198-0 Item=maximumjobspoolsize def=no defval=None
btape: parse_conf.c:198-0 Item=driveindex def=no defval=None
btape: parse_conf.c:198-0 Item=maximumpartsize def=no defval=None
btape: parse_conf.c:198-0 Item=mountpoint def=no defval=None
btape: parse_conf.c:198-0 Item=mountcommand def=no defval=None
btape: parse_conf.c:198-0 Item=unmountcommand def=no defval=None
btape: parse_conf.c:198-0 Item=writepartcommand def=no defval=None
btape: parse_conf.c:198-0 Item=freespacecommand def=no defval=None
btape: parse_conf.c:198-0 Item=labeltype def=no defval=None
btape: parse_conf.c:198-0 Item=norewindonclose def=no defval=None
btape: parse_conf.c:198-0 Item=drivecryptoenabled def=no defval=None
btape: parse_conf.c:198-0 Item=querycryptostatus def=no defval=None
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=75   Name = LTO
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 45 at 20bb2c8 from parse_conf.c:426
btape: lex.c:279-0 fget line=76   Media Type = LTO4
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for mediatype
btape: smartall.c:142-0 smalloc 46 at 20bb308 from parse_conf.c:448
btape: lex.c:279-0 fget line=77   Archive Device = /dev/nst0
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for archivedevice
btape: smartall.c:142-0 smalloc 51 at 20bb348 from parse_conf.c:448
btape: lex.c:279-0 fget line=78   AutomaticMount = yes;               # when device opened, read it
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for automaticmount
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=79   AlwaysOpen = yes;
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for alwaysopen
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=80   RemovableMedia = yes;
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for removablemedia
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=81   RandomAccess = no;
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for randomaccess
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=82   Maximum File Size = 5GB
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for maximumfilesize
btape: parse_conf.c:701-0 Enter store_unit
btape: edit.c:235-0 str=5GB: num_beg=0 num_end=1 mod_beg=1 mod_end=3
btape: edit.c:242-0 num=5 mod=GB
btape: edit.c:356-0 str=: mult=1000000000
btape: parse_conf.c:756-0 Leave store_unit
btape: lex.c:279-0 fget line=83   Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for changercommand
btape: smartall.c:142-0 smalloc 92 at 20bb388 from parse_conf.c:448
btape: lex.c:279-0 fget line=84   Changer Device = /dev/sg3
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for changerdevice
btape: smartall.c:142-0 smalloc 50 at 20bb3f8 from parse_conf.c:448
btape: lex.c:279-0 fget line=85   AutoChanger = yes
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for autochanger
btape: lex.c:279-0 fget line=86 #  # Enable the Alert command only if you have the mtx package loaded
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=87 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=88 ## If you have smartctl, enable this, it has more info than tapeinfo
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=89 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=90 }
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:142-0 smalloc 393 at 20bb438 from stored_conf.c:816
btape: stored_conf.c:835-0 Inserting device res: LTO
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=91 Messages {
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:198-0 Item=name def=no defval=None
btape: parse_conf.c:198-0 Item=description def=no defval=None
btape: parse_conf.c:198-0 Item=mailcommand def=no defval=None
btape: parse_conf.c:198-0 Item=operatorcommand def=no defval=None
btape: parse_conf.c:198-0 Item=syslog def=no defval=None
btape: parse_conf.c:198-0 Item=mail def=no defval=None
btape: parse_conf.c:198-0 Item=mailonerror def=no defval=None
btape: parse_conf.c:198-0 Item=mailonsuccess def=no defval=None
btape: parse_conf.c:198-0 Item=file def=no defval=None
btape: parse_conf.c:198-0 Item=append def=no defval=None
btape: parse_conf.c:198-0 Item=stdout def=no defval=None
btape: parse_conf.c:198-0 Item=stderr def=no defval=None
btape: parse_conf.c:198-0 Item=director def=no defval=None
btape: parse_conf.c:198-0 Item=console def=no defval=None
btape: parse_conf.c:198-0 Item=operator def=no defval=None
btape: parse_conf.c:198-0 Item=catalog def=no defval=None
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOL
btape: lex.c:279-0 fget line=92   Name = Standard
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 50 at 20bb5d8 from parse_conf.c:426
btape: lex.c:279-0 fget line=93   director = cardtech01-dir = all
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for director
btape: parse_conf.c:270-0 store_msgs pass=1 code=7
btape: smartall.c:142-0 smalloc 577 at 20bb618 from parse_conf.c:290
btape: mem_pool.c:133-0 sm_get_pool_memory give 20bb618 to parse_conf.c:290
btape: parse_conf.c:305-0 store_msgs newdest=cardtech01-dir: dest=cardtech01-dir:
btape: parse_conf.c:316-0 mail_cmd=*None*
btape: smartall.c:142-0 smalloc 97 at 20bb8a8 from message.c:405
btape: smartall.c:142-0 smalloc 56 at 20bb868 from message.c:412
btape: message.c:418-0 add new d=20bb8a8 msgtype=1 destcode=7 where=cardtech01-dir mailcmd=*None*
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=2 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=3 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=4 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=5 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=6 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=7 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=8 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=9 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=10 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=11 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=12 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=13 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=14 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=15 destcode=7 where=cardtech01-dir
btape: message.c:398-0 Add to existing d=20bb8a8 msgtype=16 destcode=7 where=cardtech01-dir
btape: parse_conf.c:402-0 Done scan_types()
btape: mem_pool.c:229-0 free_pool_memory 20bb618 pool=3 from parse_conf.c:318
btape: parse_conf.c:319-0 done with dest codes
btape: parse_conf.c:349-0 Done store_msgs
btape: lex.c:279-0 fget line=94 }
btape: parse_conf.c:1167-0 parse state=1 pass=1 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:142-0 smalloc 185 at 20bb958 from stored_conf.c:816
btape: parse_conf.c:1167-0 parse state=0 pass=1 got token=T_EOL
btape: smartall.c:185-0 sm_free 68 at 20b8958 from lex.c:205
btape: smartall.c:185-0 sm_free 5065 at 20b8ea8 from lex.c:250
btape: mem_pool.c:229-0 free_pool_memory 20b8ea8 pool=0 from lex.c:171
btape: smartall.c:185-0 sm_free 689 at 20b8be8 from lex.c:218
btape: parse_conf.c:1135-0 parse_config pass 2
btape: smartall.c:142-0 smalloc 68 at 20b8958 from lex.c:205
btape: lex.c:217-0 Open config file: /etc/bareos/bareos-sd.conf
btape: smartall.c:142-0 smalloc 689 at 20b8be8 from lex.c:218
btape: smartall.c:142-0 smalloc 5065 at 20b8ea8 from lex.c:250
btape: lex.c:279-0 fget line=1 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=2 # Default Bareos Storage Daemon Configuration file
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=3 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=4 #  For Bareos release 12.4.1 (06 February 2013) -- ubuntu Ubuntu 12.04 LTS
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=5 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=6 # You may need to change the name of your tape drive
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=7 #   on the "Archive Device" directive in the Device
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=8 #   resource.  If you change the Name and/or the
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=9 #   "Media Type" in the Device resource, please ensure
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=10 #   that dird.conf has corresponding changes.
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=11 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=12 
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=13 Storage {                             # definition of myself
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=14   Name = cardtech01-sd
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 55 at 20bb918 from parse_conf.c:426
btape: lex.c:279-0 fget line=15   Maximum Concurrent Jobs = 20
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for maximumconcurrentjobs
btape: lex.c:279-0 fget line=16 
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=17   # remove comment in next line to load plugins from specified directory
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=18   # Plugin Directory = /usr/lib/bareos/plugins
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=19 }
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:185-0 sm_free 55 at 20bb918 from parse_conf.c:426
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=20 
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=21 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=22 # List Directors who are permitted to contact Storage daemon
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=23 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=24 Director {
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=25   Name = cardtech01-dir
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 56 at 20bb918 from parse_conf.c:426
btape: lex.c:279-0 fget line=26   Password = "oJF9xbVtwULC3dn/UopUUzbm9nOIWqZS49S6gdb1pin4"
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for password
btape: lex.c:279-0 fget line=27 }
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:185-0 sm_free 56 at 20bb918 from parse_conf.c:426
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=28 
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=29 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=30 # Restricted Director, used by tray-monitor to get the
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=31 #   status of the storage daemon
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=32 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=33 Director {
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=34   Name = cardtech01-mon
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 56 at 20bb918 from parse_conf.c:426
btape: lex.c:279-0 fget line=35   Password = "hlM5+69He7390sqAhIcmIigfhZ+EZ+b87woEi6okJ47+"
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for password
btape: lex.c:279-0 fget line=36   Monitor = yes
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for monitor
btape: lex.c:279-0 fget line=37 }
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:185-0 sm_free 56 at 20bb918 from parse_conf.c:426
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=38 
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=39 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=40 # Note, for a list of additional Device templates please
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=41 #  see the directory <bareos-source>/examples/devices
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=42 # Or follow the following link:
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=43 #  http://bareos.svn.sourceforge.net/viewvc/bareos/trunk/bareos/examples/devices/
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=44 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=45 
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=46 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=47 # Devices supported by this Storage daemon
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=48 # To connect, the Director's bareos-dir.conf must have the
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=49 #  same Name and MediaType.
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=50 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=51 
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=52 Device {
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=53   Name = FileStorage
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 53 at 20bb918 from parse_conf.c:426
btape: lex.c:279-0 fget line=54   Media Type = File
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for mediatype
btape: lex.c:279-0 fget line=55   Archive Device = /var/lib/bareos/storage
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for archivedevice
btape: lex.c:279-0 fget line=56   LabelMedia = yes;                   # lets Bareos label unlabeled media
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for labelmedia
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=57   Random Access = Yes;
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for randomaccess
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=58   AutomaticMount = yes;               # when device opened, read it
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for automaticmount
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=59   RemovableMedia = no;
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for removablemedia
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=60   AlwaysOpen = no;
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for alwaysopen
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=61 }
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:185-0 sm_free 53 at 20bb918 from parse_conf.c:426
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=62 
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=63 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=64 # An autochanger device with two drives
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=65 #
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=66 Autochanger {
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=67   Name = L700
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 46 at 20bb918 from parse_conf.c:426
btape: lex.c:279-0 fget line=68   Device = LTO
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for device
btape: smartall.c:142-0 smalloc 73 at 20bba28 from parse_conf.c:569
btape: parse_conf.c:595-0 Append 20bb438 to alist 20bba28 size=0 i=0 device
btape: smartall.c:142-0 smalloc 121 at 20bba88 from alist.c:45
btape: lex.c:279-0 fget line=69 #  Device = Drive-2
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=70   Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for changercommand
btape: lex.c:279-0 fget line=71   Changer Device = /dev/sg3
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for changerdevice
btape: lex.c:279-0 fget line=72 }
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:185-0 sm_free 46 at 20bb918 from parse_conf.c:426
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=73 
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=74 Device {
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=75   Name = LTO
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 45 at 20bb918 from parse_conf.c:426
btape: lex.c:279-0 fget line=76   Media Type = LTO4
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for mediatype
btape: lex.c:279-0 fget line=77   Archive Device = /dev/nst0
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for archivedevice
btape: lex.c:279-0 fget line=78   AutomaticMount = yes;               # when device opened, read it
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for automaticmount
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=79   AlwaysOpen = yes;
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for alwaysopen
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=80   RemovableMedia = yes;
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for removablemedia
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=81   RandomAccess = no;
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for randomaccess
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=82   Maximum File Size = 5GB
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for maximumfilesize
btape: parse_conf.c:701-0 Enter store_unit
btape: edit.c:235-0 str=5GB: num_beg=0 num_end=1 mod_beg=1 mod_end=3
btape: edit.c:242-0 num=5 mod=GB
btape: edit.c:356-0 str=: mult=1000000000
btape: parse_conf.c:756-0 Leave store_unit
btape: lex.c:279-0 fget line=83   Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for changercommand
btape: lex.c:279-0 fget line=84   Changer Device = /dev/sg3
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for changerdevice
btape: lex.c:279-0 fget line=85   AutoChanger = yes
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for autochanger
btape: lex.c:279-0 fget line=86 #  # Enable the Alert command only if you have the mtx package loaded
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=87 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=88 ## If you have smartctl, enable this, it has more info than tapeinfo
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=89 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=90 }
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:185-0 sm_free 45 at 20bb918 from parse_conf.c:426
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=91 Messages {
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_BOB
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOL
btape: lex.c:279-0 fget line=92   Name = Standard
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for name
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to parse_conf.c:411
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from parse_conf.c:417
btape: smartall.c:142-0 smalloc 50 at 20bb918 from parse_conf.c:426
btape: lex.c:279-0 fget line=93   director = cardtech01-dir = all
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_IDENTIFIER
btape: parse_conf.c:1220-0 in T_IDENT got token=T_EQUALS
btape: parse_conf.c:1238-0 calling handler for director
btape: parse_conf.c:270-0 store_msgs pass=2 code=7
btape: parse_conf.c:349-0 Done store_msgs
btape: lex.c:279-0 fget line=94 }
btape: parse_conf.c:1167-0 parse state=1 pass=2 got token=T_EOB
btape: parse_conf.c:1259-0 T_EOB => define new resource
btape: smartall.c:185-0 sm_free 50 at 20bb918 from parse_conf.c:426
btape: parse_conf.c:1167-0 parse state=0 pass=2 got token=T_EOL
dump_resource type=3001
Director: name=cardtech01-dir
dump_resource type=3001
Director: name=cardtech01-mon
Warning: no "ndmp" resource (3002) defined.
dump_resource type=3003
Storage: name=cardtech01-sd SDaddr=0.0.0.0 SDport=9103 HB=0.0.0.0
        SDaddr=0.0.0.0 SDport=9103
        NDMPaddr=0.0.0.0 NDMPport=10000
dump_resource type=3004
Device: name=FileStorage MediaType=File Device=/var/lib/bareos/storage LabelType=0
        rew_wait=300 min_bs=0 max_bs=0 chgr_wait=300
        max_jobs=0 max_files=0 max_size=0
        max_file_size=1000000000 capacity=0
        spool_directory=*None*
        max_spool_size=0 max_job_spool_size=0
        CAP_EOF CAP_BSR CAP_BSF CAP_FSR CAP_FSF CAP_EOM CAP_RACCESS CAP_AUTOMOUNT CAP_LABEL 
dump_resource type=3004
Device: name=LTO MediaType=LTO4 Device=/dev/nst0 LabelType=0
        rew_wait=300 min_bs=0 max_bs=0 chgr_wait=300
        max_jobs=0 max_files=0 max_size=0
        max_file_size=5000000000 capacity=0
        spool_directory=*None*
        max_spool_size=0 max_job_spool_size=0
         changer=0x20bb158
        CAP_EOF CAP_BSR CAP_BSF CAP_FSR CAP_FSF CAP_EOM CAP_REM CAP_AUTOMOUNT CAP_ALWAYSOPEN 
dump_resource type=3005
Messages: name=Standard
dump_resource type=3006
Changer: name=L700 Changer_devname=/dev/sg3
      Changer_cmd=/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d
   --->Device: name=LTO
        CAP_EOF CAP_BSR CAP_BSF CAP_FSR CAP_FSF CAP_EOM CAP_RACCESS CAP_AUTOMOUNT CAP_LABEL 

btape: smartall.c:185-0 sm_free 68 at 20b8958 from lex.c:205
btape: smartall.c:185-0 sm_free 5065 at 20b8ea8 from lex.c:250
btape: mem_pool.c:229-0 free_pool_memory 20b8ea8 pool=0 from lex.c:171
btape: smartall.c:185-0 sm_free 689 at 20b8be8 from lex.c:218
btape: parse_conf.c:1293-0 Leave parse_config()
btape: sd_plugins.c:282-0 Load sd plugins
btape: sd_plugins.c:284-0 No sd plugin dir!
btape: smartall.c:142-0 smalloc 321 at 20b89a8 from crypto_cache.c:130
btape: mem_pool.c:133-0 sm_get_pool_memory give 20b89a8 to crypto_cache.c:130
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to ../lib/berrno.h:69
btape: crypto_cache.c:55-0 Could not open crypto cache file. /var/lib/bareos/bareos-sd.9103.cryptoc ERR=Datei oder Verzeichnis nicht gefunden
btape: mem_pool.c:229-0 free_pool_memory 20ba598 pool=4 from ../lib/berrno.h:76
btape: mem_pool.c:229-0 free_pool_memory 20b89a8 pool=2 from crypto_cache.c:134
btape: smartall.c:142-0 smalloc 1129 at 20b9708 from jcr.c:347
btape: smartall.c:142-0 smalloc 65 at 20b9548 from jcr.c:349
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20b89a8 to jcr.c:360
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20bb618 to jcr.c:362
btape: smartall.c:142-0 smalloc 321 at 20b9b88 from jcr.c:364
btape: mem_pool.c:133-0 sm_get_pool_memory give 20b9b88 to jcr.c:364
btape: jcr.c:927-0 set_jcr_job_status(*System*, C)
btape: jcr.c:938-0 OnEntry JobStatus=btape: jcr.c:948-0 Set new stat. old: btape: jcr.c:953-0 leave setJobStatus old=btape: smartall.c:142-0 smalloc 42 at 20b9398 from butil.c:92
btape: smartall.c:142-0 smalloc 321 at 20b9cd8 from butil.c:93
btape: mem_pool.c:133-0 sm_get_pool_memory give 20b9cd8 to butil.c:93
btape: smartall.c:142-0 smalloc 321 at 20b9e28 from butil.c:95
btape: mem_pool.c:133-0 sm_get_pool_memory give 20b9e28 to butil.c:95
btape: smartall.c:142-0 smalloc 321 at 20b9f78 from butil.c:98
btape: mem_pool.c:133-0 sm_get_pool_memory give 20b9f78 to butil.c:98
btape: smartall.c:142-0 smalloc 321 at 20ba0c8 from butil.c:100
btape: mem_pool.c:133-0 sm_get_pool_memory give 20ba0c8 to butil.c:100
btape: smartall.c:142-0 smalloc 577 at 20bdf18 from butil.c:102
btape: mem_pool.c:133-0 sm_get_pool_memory give 20bdf18 to butil.c:102
btape: sd_plugins.c:378-0 === enter new_plugins ===
btape: sd_plugins.c:380-0 No sd plugin list!
btape: smartall.c:142-0 smalloc 65 at 20ba218 from vol_mgr.c:612
btape: smartall.c:142-0 smalloc 65 at 20be168 from vol_mgr.c:615
btape: butil.c:250-0 Enter find_device_res
btape: butil.c:253-0 Compare /var/lib/bareos/storage and LTO
btape: butil.c:253-0 Compare /dev/nst0 and LTO
btape: butil.c:270-0 Compare FileStorage and LTO
btape: butil.c:270-0 Compare LTO and LTO
btape: butil.c:287-0 Using device: "LTO" for writing.
btape: smartall.c:142-0 smalloc 2505 at 20be1b8 from dev.c:162
btape: smartall.c:142-0 smalloc 75 at 20beb98 from dev.c:171
btape: smartall.c:142-0 smalloc 97 at 20bebf8 from dev.c:173
btape: dev.c:176-0 Allocate dev="LTO" (/dev/nst0)
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20ba598 to dev.c:245
btape: smartall.c:142-0 smalloc 65 at 20bec68 from dev.c:298
btape: dev.c:299-0 init_dev: tape=1 dev_name=/dev/nst0
btape: smartall.c:142-0 smalloc 1345 at 20becb8 from acquire.c:613
btape: smartall.c:142-0 smalloc 145 at 20bf208 from block.c:120
btape: smartall.c:142-0 smalloc 64577 at 20bf2a8 from block.c:134
btape: block.c:137-0 Returning new block=20bf220
btape: smartall.c:142-0 smalloc 177 at 20ceef8 from record.c:235
btape: smartall.c:142-0 smalloc 577 at 20cefb8 from record.c:237
btape: mem_pool.c:133-0 sm_get_pool_memory give 20cefb8 to record.c:237
btape: acquire.c:694-0 JobId=0 enter attach_dcr_to_dev
btape: acquire.c:699-0 Attach Jid=0 dcr=20becb8 size=0 dev="LTO" (/dev/nst0)
btape: device.c:266-0 start open_output_device()
btape: device.c:285-0 Opening device.
btape: dev.c:363-0 open dev: type=2 dev_name="LTO" (/dev/nst0) vol= mode=OPEN_READ_ONLY
btape: dev.c:1860-0 Enter mount
btape: sd_plugins.c:210-0 No bplugin_list: generate_plugin_event ignored.
btape: dev.c:414-0 Open dev: device is tape
btape: smartall.c:142-0 smalloc 577 at 20cf208 from ../lib/mem_pool.h:88
btape: mem_pool.c:133-0 sm_get_pool_memory give 20cf208 to ../lib/mem_pool.h:88
btape: smartall.c:142-0 smalloc 321 at 20cf458 from autochanger.c:258
btape: mem_pool.c:133-0 sm_get_pool_memory give 20cf458 to autochanger.c:258
btape: autochanger.c:307-0 Locking changer L700
btape: message.c:1271-0 Enter Jmsg type=6
btape: message.c:750-0 Enter dispatch_msg type=6 msg=btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
btape: message.c:946-0 STDOUT for following msg: btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
25-Feb 16:05 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
btape: sd_plugins.c:137-0 edit_device_codes: /usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d
btape: sd_plugins.c:191-0 add_str /
btape: sd_plugins.c:193-0 omsg=/
btape: sd_plugins.c:191-0 add_str u
btape: sd_plugins.c:193-0 omsg=/u
btape: sd_plugins.c:191-0 add_str s
btape: sd_plugins.c:193-0 omsg=/us
btape: sd_plugins.c:191-0 add_str r
btape: sd_plugins.c:193-0 omsg=/usr
btape: sd_plugins.c:191-0 add_str /
btape: sd_plugins.c:193-0 omsg=/usr/
btape: sd_plugins.c:191-0 add_str l
btape: sd_plugins.c:193-0 omsg=/usr/l
btape: sd_plugins.c:191-0 add_str i
btape: sd_plugins.c:193-0 omsg=/usr/li
btape: sd_plugins.c:191-0 add_str b
btape: sd_plugins.c:193-0 omsg=/usr/lib
btape: sd_plugins.c:191-0 add_str /
btape: sd_plugins.c:193-0 omsg=/usr/lib/
btape: sd_plugins.c:191-0 add_str b
btape: sd_plugins.c:193-0 omsg=/usr/lib/b
btape: sd_plugins.c:191-0 add_str a
btape: sd_plugins.c:193-0 omsg=/usr/lib/ba
btape: sd_plugins.c:191-0 add_str r
btape: sd_plugins.c:193-0 omsg=/usr/lib/bar
btape: sd_plugins.c:191-0 add_str e
btape: sd_plugins.c:193-0 omsg=/usr/lib/bare
btape: sd_plugins.c:191-0 add_str o
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareo
btape: sd_plugins.c:191-0 add_str s
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos
btape: sd_plugins.c:191-0 add_str /
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/
btape: sd_plugins.c:191-0 add_str s
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/s
btape: sd_plugins.c:191-0 add_str c
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/sc
btape: sd_plugins.c:191-0 add_str r
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scr
btape: sd_plugins.c:191-0 add_str i
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scri
btape: sd_plugins.c:191-0 add_str p
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scrip
btape: sd_plugins.c:191-0 add_str t
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/script
btape: sd_plugins.c:191-0 add_str s
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts
btape: sd_plugins.c:191-0 add_str /
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/
btape: sd_plugins.c:191-0 add_str m
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/m
btape: sd_plugins.c:191-0 add_str t
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mt
btape: sd_plugins.c:191-0 add_str x
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx
btape: sd_plugins.c:191-0 add_str -
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-
btape: sd_plugins.c:191-0 add_str c
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-c
btape: sd_plugins.c:191-0 add_str h
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-ch
btape: sd_plugins.c:191-0 add_str a
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-cha
btape: sd_plugins.c:191-0 add_str n
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-chan
btape: sd_plugins.c:191-0 add_str g
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-chang
btape: sd_plugins.c:191-0 add_str e
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-change
btape: sd_plugins.c:191-0 add_str r
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-changer
btape: sd_plugins.c:191-0 add_str  
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-changer 
btape: sd_plugins.c:191-0 add_str /dev/sg3
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-changer /dev/sg3
btape: sd_plugins.c:191-0 add_str  
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-changer /dev/sg3 
btape: sd_plugins.c:191-0 add_str loaded
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-changer /dev/sg3 loaded
btape: sd_plugins.c:191-0 add_str  
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-changer /dev/sg3 loaded 
btape: sd_plugins.c:191-0 add_str 0
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-changer /dev/sg3 loaded 0
btape: sd_plugins.c:191-0 add_str  
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-changer /dev/sg3 loaded 0 
btape: sd_plugins.c:191-0 add_str /dev/nst0
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-changer /dev/sg3 loaded 0 /dev/nst0
btape: sd_plugins.c:191-0 add_str  
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-changer /dev/sg3 loaded 0 /dev/nst0 
btape: sd_plugins.c:191-0 add_str 0
btape: sd_plugins.c:193-0 omsg=/usr/lib/bareos/scripts/mtx-changer /dev/sg3 loaded 0 /dev/nst0 0
btape: sd_plugins.c:195-0 omsg=/usr/lib/bareos/scripts/mtx-changer /dev/sg3 loaded 0 /dev/nst0 0
btape: autochanger.c:266-0 Run program=/usr/lib/bareos/scripts/mtx-changer /dev/sg3 loaded 0 /dev/nst0 0
btape: smartall.c:142-0 smalloc 577 at 20cfe18 from bpipe.c:392
btape: mem_pool.c:133-0 sm_get_pool_memory give 20cfe18 to bpipe.c:392
btape: smartall.c:142-0 smalloc 32042 at 20d0068 from bpipe.c:393
btape: smartall.c:142-0 smalloc 89 at 20cf628 from bpipe.c:69
btape: smartall.c:142-0 smalloc 321 at 20cf698 from bpipe.c:74
btape: mem_pool.c:133-0 sm_get_pool_memory give 20cf698 to bpipe.c:74
btape: mem_pool.c:229-0 free_pool_memory 20cf698 pool=2 from bpipe.c:147
btape: smartall.c:142-0 smalloc 89 at 20d7fe8 from btimers.c:241
btape: smartall.c:142-0 smalloc 105 at 20d8058 from watchdog.c:166
btape: watchdog.c:85-0 Initialising NicB-hacked watchdog thread
btape: smartall.c:142-0 smalloc 65 at 20d80d8 from watchdog.c:93
btape: smartall.c:142-0 smalloc 65 at 20d8128 from watchdog.c:94
btape: smartall.c:142-0 smalloc 57 at 20d8178 from lockmgr.c:946
btape: watchdog.c:200-0 Registered watchdog 20d8058, interval 300
btape: smartall.c:142-0 smalloc 1921 at 7fdedc0008e8 from lockmgr.c:638
btape: smartall.c:185-0 sm_free 57 at 20d8178 from lockmgr.c:946
btape: watchdog.c:257-0 NicB-reworked watchdog thread entered
btape: watchdog.c:312-0 pthread_cond_timedwait 60
btape: btimers.c:71-0 Start child timer 20d7fe8, pid 8938 for 300 secs.
btape: signal.c:136-0 sig=17 Child status has changed
btape: bpipe.c:412-0 Run program fgets stat=0
btape: bpipe.c:441-0 resadr=0x20cf220 reslen=2 res=1

btape: bpipe.c:213-0 Wait for 8938 opt=1
btape: smartall.c:142-0 smalloc 1089 at 20d82f8 from ../lib/berrno.h:69
btape: mem_pool.c:133-0 sm_get_pool_memory give 20d82f8 to ../lib/berrno.h:69
btape: bpipe.c:221-0 Got break wpid=8938 status=0 ERR=none
btape: mem_pool.c:229-0 free_pool_memory 20d82f8 pool=4 from ../lib/berrno.h:76
btape: bpipe.c:242-0 child status=0
btape: btimers.c:84-0 Stop child timer 20d7fe8 pid 8938
btape: watchdog.c:220-0 Unregistered watchdog 20d8058
btape: watchdog.c:312-0 pthread_cond_timedwait 60
btape: smartall.c:185-0 sm_free 105 at 20d8058 from watchdog.c:166
btape: smartall.c:185-0 sm_free 89 at 20d7fe8 from btimers.c:241
btape: smartall.c:185-0 sm_free 89 at 20cf628 from bpipe.c:69
btape: bpipe.c:257-0 returning status=0,0
btape: bpipe.c:445-0 Run program returning 0
btape: mem_pool.c:229-0 free_pool_memory 20cfe18 pool=3 from bpipe.c:447
btape: smartall.c:185-0 sm_free 32042 at 20d0068 from bpipe.c:393
btape: autochanger.c:268-0 run_prog: /usr/lib/bareos/scripts/mtx-changer /dev/sg3 loaded 0 /dev/nst0 0 stat=0 result=1
btape: message.c:1271-0 Enter Jmsg type=6
btape: message.c:750-0 Enter dispatch_msg type=6 msg=btape JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 1.
btape: message.c:946-0 STDOUT for following msg: btape JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 1.
25-Feb 16:05 btape JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 1.
btape: autochanger.c:321-0 Unlocking changer L700
btape: mem_pool.c:229-0 free_pool_memory 20cf458 pool=2 from autochanger.c:298
btape: mem_pool.c:229-0 free_pool_memory 20cf208 pool=3 from ../lib/mem_pool.h:89
btape: dev.c:429-0 Try open "LTO" (/dev/nst0) mode=OPEN_READ_ONLY
btape: dev.c:451-0 Rewind after open
btape: dev.c:2366-0 In set_os_device_parameters
btape: dev.c:2372-0 Set block size to zero
btape: dev.c:2388-0 MTSETDRVBUFFER
btape: dev.c:503-0 open dev: tape 3 opened
btape: dev.c:376-0 preserve=0x0 fd=3
btape: device.c:291-0 open dev "LTO" (/dev/nst0) OK
btape: smartall.c:142-0 smalloc 145 at 20d0068 from block.c:120
btape: smartall.c:142-0 smalloc 64577 at 20d8748 from block.c:134
btape: block.c:137-0 Returning new block=20d0080
btape: btape.c:490-0 Opening device 
btape: dev.c:353-0 Close fd for mode change.
btape: dev.c:363-0 open dev: type=2 dev_name="LTO" (/dev/nst0) vol= mode=OPEN_READ_WRITE
btape: dev.c:1860-0 Enter mount
btape: dev.c:414-0 Open dev: device is tape
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20cf208 to ../lib/mem_pool.h:88
btape: mem_pool.c:229-0 free_pool_memory 20cf208 pool=3 from ../lib/mem_pool.h:89
btape: dev.c:429-0 Try open "LTO" (/dev/nst0) mode=OPEN_READ_WRITE
btape: dev.c:451-0 Rewind after open
btape: dev.c:2366-0 In set_os_device_parameters
btape: dev.c:2372-0 Set block size to zero
btape: dev.c:2388-0 MTSETDRVBUFFER
btape: dev.c:503-0 open dev: tape 3 opened
btape: dev.c:376-0 preserve=0x0 fd=3
btape: btape.c:496-0 open device "LTO" (/dev/nst0): OK
btape: block.c:173-0 free_block buffer 20d8760
btape: smartall.c:185-0 sm_free 64577 at 20d8748 from block.c:134
btape: mem_pool.c:229-0 free_pool_memory 20d8748 pool=0 from block.c:174
btape: block.c:175-0 free_block block 20d0080
btape: smartall.c:185-0 sm_free 145 at 20d0068 from block.c:120
btape: mem_pool.c:229-0 free_pool_memory 20d0068 pool=0 from block.c:176
btape: btape.c:330-0 Do tape commands
*btape: scan.c:185-0 Next arg=
btape: scan.c:209-0 End arg= next=
*btape: scan.c:185-0 Next arg=quit
btape: scan.c:209-0 End arg=quit next=
btape: scan.c:185-0 Next arg=
btape: scan.c:209-0 End arg= next=
btape: mem_pool.c:229-0 free_pool_memory 20b9cd8 pool=2 from butil.c:208
btape: mem_pool.c:229-0 free_pool_memory 20b9e28 pool=2 from butil.c:212
btape: mem_pool.c:229-0 free_pool_memory 20b9f78 pool=2 from butil.c:216
btape: mem_pool.c:229-0 free_pool_memory 20ba0c8 pool=2 from butil.c:220
btape: mem_pool.c:229-0 free_pool_memory 20bdf18 pool=3 from butil.c:224
btape: acquire.c:713-0 Enter detach_dcr_from_dev
btape: acquire.c:720-0 Detach Jid=0 dcr=20becb8 size=1 to dev="LTO" (/dev/nst0)
btape: block.c:173-0 free_block buffer 20bf2c0
btape: smartall.c:185-0 sm_free 64577 at 20bf2a8 from block.c:134
btape: mem_pool.c:229-0 free_pool_memory 20bf2a8 pool=0 from block.c:174
btape: block.c:175-0 free_block block 20bf220
btape: smartall.c:185-0 sm_free 145 at 20bf208 from block.c:120
btape: mem_pool.c:229-0 free_pool_memory 20bf208 pool=0 from block.c:176
btape: record.c:258-0 Enter free_record.
btape: mem_pool.c:229-0 free_pool_memory 20cefb8 pool=3 from record.c:260
btape: record.c:262-0 Data buf is freed.
btape: smartall.c:185-0 sm_free 177 at 20ceef8 from record.c:235
btape: mem_pool.c:229-0 free_pool_memory 20ceef8 pool=0 from record.c:263
btape: record.c:264-0 Leave free_record.
btape: smartall.c:185-0 sm_free 1345 at 20becb8 from acquire.c:613
btape: smartall.c:185-0 sm_free 65 at 20b9548 from jcr.c:349
btape: message.c:500-0 Close_msg jcr=20b9708
btape: mem_pool.c:229-0 free_pool_memory 20b89a8 pool=2 from jcr.c:453
btape: mem_pool.c:229-0 free_pool_memory 20bb618 pool=3 from jcr.c:462
btape: smartall.c:185-0 sm_free 42 at 20b9398 from butil.c:92
btape: smartall.c:185-0 sm_free 1129 at 20b9708 from jcr.c:347
btape: message.c:500-0 Close_msg jcr=0
btape: message.c:525-0 ===Begin close msg resource at 20b8448
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20bb618 to message.c:526
btape: mem_pool.c:229-0 free_pool_memory 20bb618 pool=3 from message.c:632
btape: message.c:633-0 Done walking message chain.
btape: message.c:640-0 ===End close msg resource
btape: smartall.c:185-0 sm_free 56 at 20b8368 from btape.c:267
btape: smartall.c:185-0 sm_free 56 at 20ba328 from parse_conf.c:426
btape: smartall.c:185-0 sm_free 74 at 20bab38 from parse_conf.c:517
btape: smartall.c:185-0 sm_free 241 at 20bab98 from stored_conf.c:816
btape: smartall.c:185-0 sm_free 56 at 20ba368 from parse_conf.c:426
btape: smartall.c:185-0 sm_free 74 at 20bac98 from parse_conf.c:517
btape: smartall.c:185-0 sm_free 241 at 20bacf8 from stored_conf.c:816
btape: smartall.c:185-0 sm_free 55 at 20ba4c8 from parse_conf.c:426
btape: smartall.c:185-0 sm_free 113 at 20ba3a8 from address_conf.c:336
btape: smartall.c:185-0 sm_free 65 at 20ba288 from address_conf.c:260
btape: smartall.c:185-0 sm_free 57 at 20ba2d8 from parse_conf.c:237
btape: smartall.c:185-0 sm_free 57 at 20ba428 from parse_conf.c:237
btape: smartall.c:185-0 sm_free 113 at 20ba518 from address_conf.c:336
btape: smartall.c:185-0 sm_free 65 at 20ba478 from address_conf.c:260
btape: smartall.c:185-0 sm_free 313 at 20ba9e8 from stored_conf.c:816
btape: smartall.c:185-0 sm_free 53 at 20badf8 from parse_conf.c:426
btape: smartall.c:185-0 sm_free 46 at 20bae38 from parse_conf.c:448
btape: smartall.c:185-0 sm_free 65 at 20bae78 from parse_conf.c:448
btape: smartall.c:185-0 sm_free 393 at 20baec8 from stored_conf.c:816
btape: smartall.c:185-0 sm_free 45 at 20bb2c8 from parse_conf.c:426
btape: smartall.c:185-0 sm_free 46 at 20bb308 from parse_conf.c:448
btape: smartall.c:185-0 sm_free 51 at 20bb348 from parse_conf.c:448
btape: smartall.c:185-0 sm_free 50 at 20bb3f8 from parse_conf.c:448
btape: smartall.c:185-0 sm_free 92 at 20bb388 from parse_conf.c:448
btape: smartall.c:185-0 sm_free 393 at 20bb438 from stored_conf.c:816
btape: smartall.c:185-0 sm_free 50 at 20bb5d8 from parse_conf.c:426
btape: smartall.c:185-0 sm_free 56 at 20bb868 from message.c:412
btape: smartall.c:185-0 sm_free 97 at 20bb8a8 from message.c:405
btape: smartall.c:185-0 sm_free 185 at 20bb958 from stored_conf.c:816
btape: smartall.c:185-0 sm_free 46 at 20bb068 from parse_conf.c:426
btape: smartall.c:185-0 sm_free 50 at 20bb118 from parse_conf.c:448
btape: smartall.c:185-0 sm_free 92 at 20bb0a8 from parse_conf.c:448
btape: smartall.c:185-0 sm_free 121 at 20bba88 from alist.c:45
btape: smartall.c:185-0 sm_free 73 at 20bba28 from parse_conf.c:569
btape: smartall.c:185-0 sm_free 345 at 20bb158 from stored_conf.c:816
btape: smartall.c:185-0 sm_free 289 at 20b8828 from parse_conf.c:1070
btape: mem_pool.c:229-0 free_pool_memory 20b86d8 pool=2 from btape.c:352
btape: mem_pool.c:229-0 free_pool_memory 20b8588 pool=2 from btape.c:356
btape: smartall.c:185-0 sm_free 65 at 20ba218 from vol_mgr.c:612
btape: smartall.c:185-0 sm_free 65 at 20be168 from vol_mgr.c:615
btape: dev.c:2259-0 term dev: "LTO" (/dev/nst0)
btape: dev.c:1716-0 close_dev "LTO" (/dev/nst0)
btape: dev.c:578-0 rewind res=0 fd=3 "LTO" (/dev/nst0)
btape: dev.c:1912-0 Enter unmount
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20b8588 to ../lib/mem_pool.h:88
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20d82f8 to ../lib/berrno.h:69
btape: mem_pool.c:117-0 sm_get_pool_memory reuse 20b86d8 to ../lib/mem_pool.h:88
btape: signal.c:136-0 sig=11 Segmentation violation
btape: signal.c:198-0 Working=/tmp
btape: signal.c:199-0 btpath=/etc/bareos/btraceback
btape: signal.c:200-0 exepath=/etc/bareos/btape
btape: signal.c:229-0 Doing waitpid
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fdee9c18700 (LWP 8940)]
[New Thread 0x7fdeea419700 (LWP 8937)]
0x00007fdeec4a088d in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
Saved corefile /tmp/btape.8935
mvwieringen adm

mvwieringen adm

2013-08-13 03:12

administrator   ~0000616

Fix committed to bareos bareos-12.4 branch with changesetid 1003.
mvwieringen

mvwieringen

2015-03-25 16:51

developer   ~0001396

Fix committed to bareos2015 bareos-13.2 branch with changesetid 4331.
joergs

joergs

2015-03-25 19:18

developer   ~0001550

Due to the reimport of the Github repository to bugs.bareos.org, the status of some tickets have been changed. These tickets will be closed again.
Sorry for the noise.

Related Changesets

bareos: bareos-12.4 9577ab93

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Fix btape crash on quit.

- Instead of freeing the config before tearing down the whole
setup only do it when we are really done with the config and
just before we are about to exit the program.
- don't allocate jcr->comment in butil.c as the setup_jcr function
already calls new_jcr which also allocated this member and as such
the memory is leaked and smartalloc complains on exit.

Fixed 0000091: btape crashes after quit command
Affected Issues
0000091
mod - src/stored/btape.c Diff File
mod - src/stored/butil.c Diff File

bareos2015: bareos-12.4 7ccab8a4

2013-05-04 15:14

mvwieringen

Ported: N/A

Details Diff
Fix btape crash on quit.

- Instead of freeing the config before tearing down the whole
setup only do it when we are really done with the config and
just before we are about to exit the program.
- don't allocate jcr->comment in butil.c as the setup_jcr function
already calls new_jcr which also allocated this member and as such
the memory is leaked and smartalloc complains on exit.

Fixed 0000091: btape crashes after quit command
Affected Issues
0000091
mod - src/stored/btape.c Diff File
mod - src/stored/butil.c Diff File

bareos: master 6a31c441

2013-05-04 21:07

mvwieringen adm

Ported: N/A

Details Diff
Fix btape crash on quit.

- Instead of freeing the config before tearing down the whole
setup only do it when we are really done with the config and
just before we are about to exit the program.
- don't allocate jcr->comment in butil.c as the setup_jcr function
already calls new_jcr which also allocated this member and as such
the memory is leaked and smartalloc complains on exit.

Fixed 0000091: btape crashes after quit command
Affected Issues
0000091
mod - src/stored/butil.c Diff File
mod - src/stored/btape.c Diff File

bareos2015: bareos-13.2 8b1e79cd

2013-05-04 23:07

mvwieringen

Ported: N/A

Details Diff
Fix btape crash on quit.

- Instead of freeing the config before tearing down the whole
setup only do it when we are really done with the config and
just before we are about to exit the program.
- don't allocate jcr->comment in butil.c as the setup_jcr function
already calls new_jcr which also allocated this member and as such
the memory is leaked and smartalloc complains on exit.

Fixed 0000091: btape crashes after quit command
Affected Issues
0000091
mod - src/stored/btape.c Diff File
mod - src/stored/butil.c Diff File

Issue History

Date Modified Username Field Change
2013-02-25 16:36 user12 New Issue
2013-02-25 16:36 user12 Status new => assigned
2013-02-25 16:36 user12 Assigned To => mvwieringen
2013-02-25 16:36 user12 File Added: bareos.8935.traceback
2013-02-25 16:38 user12 File Added: btape_segmentation_violation.txt
2013-02-25 19:19 mvwieringen Changeset attached => bareos master 8ae8fee8
2013-02-25 19:19 mvwieringen Status assigned => closed
2013-02-25 19:19 mvwieringen Resolution open => fixed
2013-02-25 19:20 mvwieringen Assigned To mvwieringen =>
2013-02-28 10:16 mvwieringen Changeset attached => bareos Branch-12.4 203812ef
2013-02-28 10:16 mvwieringen Assigned To => mvwieringen
2013-02-28 10:21 mvwieringen Assigned To mvwieringen =>
2013-03-04 10:03 mvwieringen File Deleted: bareos.8935.traceback
2013-03-04 10:03 mvwieringen Fixed in Version 12.4.1 => 12.4.2
2013-03-04 10:03 mvwieringen Product Version 12.4.1 => 12.4.2
2013-03-04 10:03 mvwieringen Fixed in Version => 12.4.2
2013-08-13 03:12 mvwieringen adm Changeset attached => bareos master 6a31c441
2013-08-13 03:12 mvwieringen adm Changeset attached => bareos bareos-12.4 9577ab93
2013-08-13 03:12 mvwieringen adm Note Added: 0000616
2013-08-13 03:12 mvwieringen adm Assigned To => mvwieringen adm
2013-08-13 03:12 mvwieringen adm Status closed => resolved
2013-08-13 09:04 mvwieringen adm Assigned To mvwieringen adm =>
2013-08-13 09:04 mvwieringen adm Status resolved => closed
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-12.4 7ccab8a4
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-13.2 8b1e79cd
2015-03-25 16:51 mvwieringen Note Added: 0001396
2015-03-25 16:51 mvwieringen Status closed => resolved
2015-03-25 19:18 joergs Note Added: 0001550
2015-03-25 19:18 joergs Status resolved => closed