Bacula-users

[Bacula-users] Storage daemon didn't accept Device "VersBande" command.

2009-05-28 06:21:28
Subject: [Bacula-users] Storage daemon didn't accept Device "VersBande" command.
From: "jc.duss59 AT laposte DOT net" <jc.duss59 AT laposte DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 28 May 2009 12:16:13 +0200 (CEST)


Dear all bacula users,

I get a problem on a x86_64 debian lenny with bacula SD (Version: 2.4.4 (28 December 2008)) installed by apt-get and an IBM LTO4 Ultrium4-H storage device. I can't make backup trough my LTO but backup to a file works fine.

When I try to launch a backup on it I got the following output :
28-May 12:42 alibaba JobId 61: BeforeJob: run command "/etc/bacula/scripts/make_catalog_backup bacula bacula bacula"
28-May 12:42 alibaba JobId 61: Start Backup JobId 61, Job=Job_Backup_vers_LTO.2009-05-28_12.42.16.11
28-May 12:42 alibaba JobId 61: Fatal error:
Storage daemon didn't accept Device "VersBande" command.
28-May 12:42 alibaba JobId 61: Error: Bacula alibaba 2.4.4 (28Dec08): 28-May-2009 12:42:18
Build OS: x86_64-pc-linux-gnu debian lenny/sid
JobId: 61
Job: Job_Backup_vers_LTO.2009-05-28_12.42.16.11
Backup Level: Full
Client: "alibaba" 2.4.4 (28Dec08) x86_64-pc-linux-gnu,debian,lenny/sid
FileSet: "Backup Files" 2009-05-28 12:39:31
Pool: "Default" (From Job resource)
Storage: "SurBande" (From Job resource)
Scheduled time: 28-May-2009 12:42:15
Start time: 28-May-2009 12:42:18
End time: 28-May-2009 12:42:18
Elapsed time: 0 secs
Priority: 11
FD Files Written: 0
SD Files Written: 0
FD Bytes Written: 0 (0 B)
SD Bytes Written: 0 (0 B)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Storage Encryption: no
Volume name(s):
Volume Session Id: 1
Volume Session Time: 1243507271
Last Volume Bytes: 64,512 (64.51 KB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status:
SD termination status:
Termination: *** Backup Error ***


Here is the debug output of bacula-sd :
LTO4: cram-md5.c:73-0 send: auth cram-md5 <1242617274.12435
LTO4: cram-md5.c:152-0 sending resp to challenge: 5+t7i5/BmiFUZkcloFNFyD
LTO4: dircmd.c:210-0 Message channel init completed.
LTO4: reserve.c:697-0 jid=61 <dird: use storage=SurBande media_type=LTO4 pool_na
LTO4: reserve.c:726-0 jid=61 <dird device: use device=VersBande
LTO4: reserve.c:743-0 jid=61 Storage=SurBande media_type=LTO4 pool=Default pool_
LTO4: reserve.c:745-0 jid=61 Device=VersBande
LTO4: reserve.c:921-0 jid=61 PrefMnt=1 exact=1 suitable=0 chgronly=0
LTO4: reserve.c:933-0 lock volumes
LTO4: reserve.c:944-0 jid=61 duplicate vol list
LTO4: reserve.c:963-0 jid=61 look for vol in vol list
LTO4: reserve.c:975-0 jid=61 vol=Test OK for this job
LTO4: reserve.c:986-0 jid=61 vol=Test is in changer
Kaboom! bacula-sd, LTO4 got signal 11 - Segmentation violation. Attempting trace
Kaboom! exepath=/usr/sbin/
Calling: /usr/sbin/btraceback /usr/sbin/bacula-sd 3319
Traceback complete, attempting cleanup ...


Here is my bacula-sd.conf file :
Storage { # definition of myself
Name = LTO4
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
SDAddress = alibaba
}
Director {
Name = alibaba
Password = "<censored>"
}
Device {
Name = VersRepBackup
Media Type = File
Archive Device = /home/backup
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
Device {
Name = VersBande #
Drive Index = 0
Media Type = LTO4
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes;
LabelMedia = yes;
}

Messages {
Name = Standard
director = alibaba = all
}


Here is my bacula-dir.conf :
Director { # define myself
Name = alibaba
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 1
Password = "<censored>"
# Console password
Messages = Daemon
DirAddress = alibaba
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = alibaba
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = Default
Priority = 10
}
JobDefs {
Name = "VersFicWeekly"
Type = Backup
Level = Full
Client = alibaba
FileSet = "Backup Files"
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = Default
Priority = 10
}
JobDefs {
Name = "VersBandeWeekly"
Type = Backup
Level = Full
Client = alibaba
FileSet = "Backup Files"
Schedule = "WeeklyCycle"
Storage = "SurBande"
Messages = Standard
Pool = Default
Priority = 10
}
Job {
Name = "Client1"
JobDefs = "DefaultJob"
Write Bootstrap = "/var/lib/bacula/Client1.bsr"
}
Job {
Name = "BackupCatalog"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup bacula bacula bacula"
RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup"
Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
Priority = 11 # run after main backup
}
Job {
Name = "RestoreFiles"
Type = Restore
Client= alibaba
FileSet="Full Set"
Storage = File
Pool = Default
Messages = Standard
Where = /home/restore
}
Job {
Name = "Job Backup vers Fic"
JobDefs = "VersFicWeekly"
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup bacula bacula bacula"
RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup"
Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
Priority = 11 # run after main backup
File Set = "Backup Files"
}
Job {
Name = "Job Backup vers LTO"
JobDefs = "VersBandeWeekly"
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup bacula bacula bacula"
RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup"
Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
Priority = 11 # run after main backup
File Set = "Backup Files"
}
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
}
File = /build/buildd/bacula-2.4.4/debian/tmp-build-sqlite
}
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
FileSet {
Name = "Backup Files"
Include {
Options {
signature = MD5
}
File = /home/myfolder
}
}
Schedule {
Name = "WeeklyCycle"
Run = Full 1st sun at 23:05
Run = Differential 2nd-5th sun at 23:05
Run = Incremental mon-sat at 23:05
}
Schedule {
Name = "WeeklyCycleAfterBackup"
Run = Full sun-sat at 23:10
}
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = /var/lib/bacula/bacula.sql
}
}
Client {
Name = alibaba
Address = alibaba
FDPort = 9102
Catalog = MyCatalog
Password = "<censored>"
# password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Storage {
Name = File
Address = alibaba # N.B. Use a fully qualified name here
SDPort = 9103

Password = "<censored>"
Device = VersRepBackup
Media Type = File
}
Storage {
Name = SurBande
Address = alibaba
SDPort = 9103
Password = "<censored>"
Device = VersBande
Media Type = LTO4
}
Catalog {
Name = MyCatalog
dbname = "bacula"; dbuser = "bacula"; dbpassword = "bacula"
}
Messages {
Name = Standard
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
mail = root@localhost = all, !skipped
operator = root@localhost = mount
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
}
Messages {
Name = Daemon
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r"
mail = root@localhost = all, !skipped
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
}

Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
}
Pool {
Name = Scratch
Pool Type = Backup
}
Console {
Name = alibaba

Password = "<censored>"
CommandACL = status, .status
}
Does someone knows about this problem?
Thanks for your help!



Créez votre adresse électronique prenom.nom AT laposte DOT net
1 Go d'espace de stockage, anti-spam et anti-virus intégrés.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Storage daemon didn't accept Device "VersBande" command., jc.duss59 AT laposte DOT net <=