[Bacula-users] Storage daemon didn't accept Device "VersBande" command.
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 \" -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 = r...@localhost = all, !skipped operator = r...@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 = r...@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 = "" CommandACL = status, .status } Does someone knows about this problem? Thanks for your help! Créez votre adresse électronique prenom@laposte.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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Storage daemon didn't accept Device "VersBande" command.
Dear All bacula users, Here is some more information about my problem. After reading this : http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg10009.html I try compiling it with the -O0 the source.. and I still get the same error. Here are more information from btraceback : [Thread debugging using libthread_db enabled] [New Thread 0x7fb61dec06f0 (LWP 24300)] [New Thread 0x41399950 (LWP 24369)] [New Thread 0x41b9a950 (LWP 24303)] 0x7fb61ce4dce2 in select () from /lib/libc.so.6 $1 = "LTO4", '\0' $2 = 0x1060078 "bacula-sd" $3 = 0x10600b8 "/usr/sbin/bacula-sd" $4 = 0x0 $5 = 0x472557 "2.4.4 (28 December 2008)" $6 = 0x472570 "x86_64-unknown-linux-gnu" $7 = 0x472589 "debian" $8 = 0x472590 "5.0.1" #0 0x7fb61ce4dce2 in select () from /lib/libc.so.6 #1 0x0043e7b0 in bnet_thread_server (addrs=0x1061d88, max_clients=41, client_wq=0x682640, handle_client_request=0x41d5c8 ) at bnet_server.c:161 #2 0x004051c3 in main (argc=0, argv=0x7fff25ecd748) at stored.c:265 Thread 3 (Thread 0x41b9a950 (LWP 24303)): #0 0x7fb61d888fad in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x0045b5f6 in watchdog_thread (arg=0x0) at watchdog.c:307 #2 0x7fb61d884fc7 in start_thread () from /lib/libpthread.so.0 #3 0x7fb61ce545ad in clone () from /lib/libc.so.6 #4 0x in ?? () Thread 2 (Thread 0x41399950 (LWP 24369)): #0 0x7fb61d88c5ef in waitpid () from /lib/libpthread.so.0 #1 0x00459021 in signal_handler (sig=11) at signal.c:167 #2 #3 0x004302ca in is_vol_in_autochanger (rc...@0x41398c50, vol=0x1068758) at reserve.c:890 #4 0x0043398e in find_suitable_device_for_job (jcr=0x1066178, rc...@0x41398c50) at reserve.c:987 #5 0x00434681 in use_storage_cmd (jcr=0x1066178) at reserve.c:815 #6 0x00434b96 in use_cmd (jcr=0x1066178) at reserve.c:75 #7 0x0041db94 in handle_connection_request (arg=0x1066848) at dircmd.c:232 #8 0x0045bfa4 in workq_server (arg=0x682640) at workq.c:357 #9 0x7fb61d884fc7 in start_thread () from /lib/libpthread.so.0 #10 0x7fb61ce545ad in clone () from /lib/libc.so.6 #11 0x in ?? () Thread 1 (Thread 0x7fb61dec06f0 (LWP 24300)): #0 0x7fb61ce4dce2 in select () from /lib/libc.so.6 #1 0x0043e7b0 in bnet_thread_server (addrs=0x1061d88, max_clients=41, client_wq=0x682640, handle_client_request=0x41d5c8 ) at bnet_server.c:161 #2 0x004051c3 in main (argc=0, argv=0x7fff25ecd748) at stored.c:265 #0 0x7fb61ce4dce2 in select () from /lib/libc.so.6 #0 0x7fb61ce4dce2 in select () from /lib/libc.so.6 No symbol table info available. #1 0x0043e7b0 in bnet_thread_server (addrs=0x1061d88, max_clients=41, client_wq=0x682640, handle_client_request=0x41d5c8 ) at bnet_server.c:161 161 if ((stat = select(maxfd + 1, &sockset, NULL, NULL, NULL)) < 0) { Current language: auto; currently c++ maxfd = 5 sockset = {fds_bits = {32, 0 }} newsockfd = 6 stat = 0 clilen = 16 cli_addr = {sa_family = 2, sa_data = "¼×\n\001\033(\000\000\000\000\000\000\000"} tlog = 0 turnon = 1 p = (IPADDR *) 0x0 fd_ptr = (s_sockfd *) 0x0 buf = "10.1.27.40\000%ÿ\177", '\0' , "ÊáË\035¶\177\000\000\005\000\000\000ÿ\177\000\000\000\000\000\000\000\000\000\000 ×ì%ÿ\177\000\000\000\000\000\000\000\000\000\000\220ý\207\035¶\177\000\000hÚì%ÿ\177\000\000\200Õì%ÿ\177\000\000\...@Ì\035¶\177\000\000 \206\001\000\000\000\000\000" sockfds = { = {}, head = 0x7fff25ecc8f0, tail = 0x7fff25ecc8f0, loffset = 0, num_items = 1} allbuf = "p/\006\001\000\000\000\000ÐÉì%ÿ\177\000\Åì%ÿ\177\000\000\230\006ì\035¶\177\000\000à`\r\035¶\177\000\000É1æ\034\002\000\000\000_nss_files_getho0Éì%ÿ\177\000\000\000\004\000\000\000\000\000\000\001\000\000\000ÿ\177\000\000`]\r\035¶\177\000\000\005\000\000\000\000\000\000\000à'\006\001\000\000\000\000\001\000\000\000\001\000\000\000 \000\000\000\000\000\000\000q\000\000\000\000\000\000\000x#\006\001\000\000\000\000PÊì%ÿ\177\000\000\000;@\000\000\000\000\000 ×ì%ÿ\177", '\0' , "NÃC\000\000\000\000\000à9\r\035¶\177\000\000\2009h\000\000\000\000\000"... #2 0x004051c3 in main (argc=0, argv=0x7fff25ecd748) at stored.c:265 265 &dird_workq, handle_connection_request); ch = -1 no_signals = false test_config = false thid = 1094293840 uid = 0x0 gid = 0x0 #0 0x in ?? () No symbol table info available. #0 0x in ?? () No symbol table info available. #0 0x in ?? () No symbol table info available. #0 0x in ?? () No symbol table info available. #0 0x0000 in ?? () No symbol table info available. Can someone help me please? Best Regards to all! > Message du 28/05/09 12:26 > De : "jc.dus...@laposte.net" > A : bacula-u
Re: [Bacula-users] Storage daemon didn't accept Device "VersBande" command.
Hi Bruno, Thanks for your feedback. Yes this is a single drive. Label and relabel works fine. Btape test was also working fine. I comment the line you mention in bacula-sd.conf on Device section : #Drive Index = 0 #AutoChanger = yes And then it works fine! Excellent. Thanks for your reply once again! > Message du 03/06/09 09:43 > De : "Bruno Friedmann" > A : > Copie à : bacula-users@lists.sourceforge.net > Objet : Re: [Bacula-users] Storage daemon didn't accept Device"VersBande" > command. > > Hi Jc. Just to be clear. Have you a tape library or just a single drive ? If > you have just a drive ( like your configuration /dev/nst0 let suppose ) I > would remove the drive index in your configuration 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; } After > reviewing carefully your configuration. I would make some basic tests Did a > label / relabel work with the device ? If you have a tape library I think > you have to configure it with the mtx changer before use. Also bacula tests > are usefull to ensure you have a working build & config. > jc.dus...@laposte.net wrote: > Dear All bacula users, > > Here is some more > information about my problem. After reading this : > > http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg10009.html > > I try compiling it with the -O0 the source.. and I still get the same > error. > > Here are more information from btraceback : > > [Thread > debugging using libthread_db enabled] > [New Thread 0x7fb61dec06f0 (LWP > 24300)] > [New Thread 0x41399950 (LWP 24369)] > [New Thread 0x41b9a950 (LWP > 24303)] > 0x7fb61ce4dce2 in select () from /lib/libc.so.6 > $1 = "LTO4", > '\0' > $2 = 0x1060078 "bacula-sd" > $3 = 0x10600b8 "/usr/sbin/bacula-sd" > > $4 = 0x0 > $5 = 0x472557 "2.4.4 (28 December 2008)" > $6 = 0x472570 > "x86_64-unknown-linux-gnu" > $7 = 0x472589 "debian" > $8 = 0x472590 "5.0.1" > > #0 0x7fb61ce4dce2 in select () from /lib/libc.so.6 > #1 > 0x0043e7b0 in bnet_thread_server (addrs=0x1061d88, max_clients=41, > client_wq=0x682640, > handle_client_request=0x41d5c8 ) at bnet_server.c:161 > > #2 0x004051c3 in main (argc=0, argv=0x7fff25ecd748) at stored.c:265 > > > Thread 3 (Thread 0x41b9a950 (LWP 24303)): > #0 0x7fb61d888fad in > pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 > #1 > 0x0045b5f6 in watchdog_thread (arg=0x0) at watchdog.c:307 > #2 > 0x7fb61d884fc7 in start_thread () from /lib/libpthread.so.0 > #3 > 0x7fb61ce545ad in clone () from /lib/libc.so.6 > #4 0x > in ?? () > > Thread 2 (Thread 0x41399950 (LWP 24369)): > #0 > 0x7fb61d88c5ef in waitpid () from /lib/libpthread.so.0 > #1 > 0x00459021 in signal_handler (sig=11) at signal.c:167 > #2 > #3 > 0x004302ca in is_vol_in_autochanger (rc...@0x41398c50, vol=0x1068758) > at reserve.c:890 > #4 0x0043398e in find_suitable_device_for_job > (jcr=0x1066178, rc...@0x41398c50) at reserve.c:987 > #5 0x00434681 > in use_storage_cmd (jcr=0x1066178) at reserve.c:815 > #6 0x00434b96 > in use_cmd (jcr=0x1066178) at reserve.c:75 > #7 0x0041db94 in > handle_connection_request (arg=0x1066848) at dircmd.c:232 > #8 > 0x0045bfa4 in workq_server (arg=0x682640) at workq.c:357 > #9 > 0x7fb61d884fc7 in start_thread () from /lib/libpthread.so.0 > #10 > 0x7fb61ce545ad in clone () from /lib/libc.so.6 > #11 0x > in ?? () > > Thread 1 (Thread 0x7fb61dec06f0 (LWP 24300)): > #0 > 0x7fb61ce4dce2 in select () from /lib/libc.so.6 > #1 0x0043e7b0 > in bnet_thread_server (addrs=0x1061d88, max_clients=41, client_wq=0x682640, > > handle_client_request=0x41d5c8 ) at bnet_server.c:161 > #2 > 0x004051c3 in main (argc=0, argv=0x7fff25ecd748) at stored.c:265 > #0 > 0x7fb61ce4dce2 in select () from /lib/libc.so.6 > #0 0x7fb61ce4dce2 > in select () from /lib/libc.so.6 > No symbol table info available. > #1 > 0x0043e7b0 in bnet_thread_server (addrs=0x1061d88, max_clients=41, > client_wq=0x682640, > h
[Bacula-users] Bweb - functionality not available
Dear All Bacula users, I've installed Bweb to manage and configure my backup using the INSTALL documentation. My bacula server is a 2.4.4 over Mysql5 on Debian Lenny amd64. Bweb is also on 2.4.4 I can got to the web page, browse clients, jobs, launch a job from the web page.. but it seems there's two menu not working at all : Media -> Add Media Storage -> Manage Devices For those two menu, I get a message "An error has occured: " " Sorry, this action doesn't exist" What Have I misunderstand? Thanks for your help. Best Regards. Créez votre adresse électronique prenom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] How to make Best Backup strategy ?
Dear all Bacula users, I planned to use Bacula 2.4.4 in production in a few but I get a little bit confused to configure it in order to suits my backup strategy. I've got 5 differents servers installed with the bacula-fd and 5 other server that can't run the FD (because no available 2.4.4 port on freebsd...). Two of them are replicated load balancers and needs to backup the same things. Two of them are replicated web servers and needs to backup the same things. One of them is the fd installed on the director's server and needs to backup a third fileset (containing conf of bacula etc.. and also the catalog) My backup server is equiped with large disk and a single tape drive. For the non FD equiped server, I plan to synchronize daily with rsync files that needs to be backed up from the "client" server to the backup server. So I would like to make a daily complete backup of every server to Media Type File on the backup server. All backup data and rsynced data will be save in a backup folder so backed up data from Bacula will be store in a one file volume for each client and rsynced data will be stored in a multiple number of files I would also like to make a weekly or daily complete backup of every server (rsynced and bacula-fd) to Tape Drive to get a second level of crash prevention. What is the best way to do not to have to configure lots of Jobs Def, file def etc... and also for my tape drive backup, not to backup file volume and have to restore twice (one from the tape and then a second time, when the file volume is restored, from the file volume) ? Is a job only able to backup from on fileset on one client ? Can we make a global job wich will launch sub jobs to backup one by one my server??? Thanks a lot. Best regards. Créez votre adresse électronique prenom@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users