Hi All. I have some problems with restoring files. When i trying to restore file(from bconsole or by running restore job) - bacula-dir is crash with message
Kaboom! bacula-dir, venus-dir got signal 11 - Segmentation violation. Attempting traceback. Kaboom! exepath=/usr/local/bacula/sbin/ Calling: /usr/local/bacula/sbin/btraceback /usr/local/bacula/sbin/bacula-dir 17366 Traceback complete, attempting cleanup ... After this i receiving next e-mail: Using host libthread_db library "/lib/tls/libthread_db.so.1". `shared object read from target memory' has disappeared; keeping its symbols. [Thread debugging using libthread_db enabled] [New Thread -1208990016 (LWP 17366)] [New Thread -1253270608 (LWP 17376)] [Thread debugging using libthread_db enabled] [New Thread -1208990016 (LWP 17366)] [New Thread -1253270608 (LWP 17376)] [New Thread -1242768464 (LWP 17374)] [New Thread -1232278608 (LWP 17372)] [New Thread -1221788752 (LWP 17369)] [New Thread -1211298896 (LWP 17368)] [Thread debugging using libthread_db enabled] [New Thread -1208990016 (LWP 17366)] [New Thread -1253270608 (LWP 17376)] 0x00111402 in __kernel_vsyscall () $1 = "venus-dir", '\0' <repeats 20 times> $2 = 0xa0bb920 "bacula-dir" $3 = 0xa0bb948 "/usr/local/bacula/sbin/bacula-dir" $4 = 0xa0be840 "MySQL" $5 = 0x80c26d4 "2.2.3 (09 September 2007)" $6 = 0x80aa2f3 "i686-pc-linux-gnu" $7 = 0x80aa2ec "redhat" $8 = 0x80aa2e1 "(Tettnang)" #0 0x00111402 in __kernel_vsyscall () #1 0x0011cef6 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0 #2 0x0808ac6c in bmicrosleep (sec=60, usec=0) at bsys.c:71 #3 0x08065dc8 in wait_for_next_job (one_shot_job_to_run=0x0) at scheduler.c:130 #4 0x0804b5b6 in main (argc=0, argv=0x80a8aa7) at dird.c:289 Thread 6 (Thread -1211298896 (LWP 17368)): #0 0x00111402 in __kernel_vsyscall () #1 0x00c85b81 in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0x0808cffb in bnet_thread_server (addrs=0xa0bc878, max_clients=20, client_wq=0x80cb180, handle_client_request=0x8079838 <handle_UA_client_request>) at bnet_server.c:161 #3 0x08079777 in connect_thread (arg=0xa0bc878) at ua_server.c:84 #4 0x00116be4 in start_thread () from /lib/tls/libpthread.so.0 #5 0x00c8cf3e in clone () from /lib/tls/libc.so.6 Thread 5 (Thread -1221788752 (LWP 17369)): #0 0x00111402 in __kernel_vsyscall () #1 0x0011a06c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x080a5d44 in watchdog_thread (arg=0x0) at watchdog.c:307 #3 0x00116be4 in start_thread () from /lib/tls/libpthread.so.0 #4 0x00c8cf3e in clone () from /lib/tls/libc.so.6 Thread 4 (Thread -1232278608 (LWP 17372)): #0 0x00111402 in __kernel_vsyscall () #1 0x0011c71b in __read_nocancel () from /lib/tls/libpthread.so.0 #2 0x0808c0d4 in read_nbytes (bsock=0xa0c2058, ptr=0xb68ce3b0 "", nbytes=4) at bnet.c:82 #3 0x0808e9e2 in BSOCK::recv (this=0xa0c2058) at bsock.c:381 #4 0x080798af in handle_UA_client_request (arg=0xa0c2058) at ua_server.c:140 #5 0x080a65bc in workq_server (arg=0x80cb180) at workq.c:357 #6 0x00116be4 in start_thread () from /lib/tls/libpthread.so.0 #7 0x00c8cf3e in clone () from /lib/tls/libc.so.6 Thread 3 (Thread -1242768464 (LWP 17374)): #0 0x00111402 in __kernel_vsyscall () #1 0x0011d64b in __waitpid_nocancel () from /lib/tls/libpthread.so.0 #2 0x0809f5ae in signal_handler (sig=11) at signal.c:167 #3 <signal handler called> #4 bvsnprintf (buffer=0xa0dcbc8 "2000 OK bootstrap\n", maxlen=511, format=0x0, args=0xb5ecd098 "a") at bsnprintf.c:151 #5 0x0808c818 in bnet_fsend (bs=0xa0dcb18, fmt=0x0) at bnet.c:564 #6 0x08063e0c in do_restore (jcr=0xa0da890) at restore.c:207 #7 0x0805a56f in job_thread (arg=0xa0da890) at job.c:305 #8 0x0805d851 in jobq_server (arg=0x80cafe0) at jobq.c:464 #9 0x00116be4 in start_thread () from /lib/tls/libpthread.so.0 #10 0x00c8cf3e in clone () from /lib/tls/libc.so.6 Thread 2 (Thread -1253270608 (LWP 17376)): #0 0x00111402 in __kernel_vsyscall () #1 0x0011c71b in __read_nocancel () from /lib/tls/libpthread.so.0 #2 0x0808c0d4 in read_nbytes (bsock=0xa0dbb00, ptr=0xb54c91c0 "", nbytes=4) at bnet.c:82 #3 0x0808e9e2 in BSOCK::recv (this=0xa0dbb00) at bsock.c:381 #4 0x08057fdf in bget_dirmsg (bs=0xa0dbb00) at getmsg.c:109 #5 0x08062356 in msg_thread (arg=0xa0da890) at msgchan.c:372 #6 0x00116be4 in start_thread () from /lib/tls/libpthread.so.0 #7 0x00c8cf3e in clone () from /lib/tls/libc.so.6 Thread 1 (Thread -1208990016 (LWP 17366)): #0 0x00111402 in __kernel_vsyscall () #1 0x0011cef6 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0 #2 0x0808ac6c in bmicrosleep (sec=60, usec=0) at bsys.c:71 #3 0x08065dc8 in wait_for_next_job (one_shot_job_to_run=0x0) at scheduler.c:130 #4 0x0804b5b6 in main (argc=0, argv=0x80a8aa7) at dird.c:289 #0 0x00111402 in __kernel_vsyscall () No symbol table info available. #1 0x0011cef6 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0 No symbol table info available. #2 0x0808ac6c in bmicrosleep (sec=60, usec=0) at bsys.c:71 71 stat = nanosleep(&timeout, NULL); Current language: auto; currently c++ timeout = {tv_sec = 60, tv_nsec = 0} tv = {tv_sec = 1190206476, tv_usec = 1190202876} tz = {tz_minuteswest = 36, tz_dsttime = 54} stat = 0 #3 0x08065dc8 in wait_for_next_job (one_shot_job_to_run=0x0) at scheduler.c:130 130 bmicrosleep(next_check_secs, 0); /* recheck once per minute */ jcr = (JCR *) 0x8059bd5 job = (JOB *) 0x0 run = (RUN *) 0xbf810918 now = 0 first = false next_job = (job_item *) 0x0 #4 0x0804b5b6 in main (argc=0, argv=0x80a8aa7) at dird.c:289 289 break; /* yes, terminate */ ch = 168546464 jcr = (JCR *) 0xa0bd578 no_signals = false test_config = false uid = 0x0 gid = 0x0 #0 0x00000000 in ?? () No symbol table info available. #0 0x00000000 in ?? () No symbol table info available. #0 0x00000000 in ?? () No symbol table info available. I am using ASP-Linux 10.0 (kernel 2.6.12-2.3asp), bacula version is 2.2.3(build from sources). My bacula-dir.conf: Director { # define myself Name = venus-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/etc/bacula/query.sql" WorkingDirectory = "/usr/local/bacula/var/lib/bacula" PidDirectory = "/var/run" Maximum Concurrent Jobs = 1 Password = "whVKFmEXG4QhpcwqCa5Db0tOdi1SWTQAm5re/H/+sgl8" # Console password Messages = Daemon } Client { Name = venus-fd Address = venus.interdon.net FDPort = 9102 Catalog = MyCatalog Password = "SREOnBu3UJgJitTTO4OF/AAsETkrDWdV84bKdaSNOKte" # 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 = venus.interdon.net # N.B. Use a fully qualified name here SDPort = 9103 Password = "EQSkHjg9fOrSCSEXgH5Zs7lx8LP72AZx8vG8gNLQp8Y7" Device = FileStorage Media Type = File } Catalog { Name = MyCatalog dbname = bacula; user = bacula; password = "" } Messages { Name = Standard mailcommand = "/sbin/bsmtp -h mail.interdon.net -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/sbin/bsmtp -h mail.interdon.net -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r" mail = [EMAIL PROTECTED] = all operator = mail.interdon.net = mount console = all, !skipped, !saved append = "/usr/local/bacula/var/lib/bacula/log" = all, !skipped } Messages { Name = Daemon mailcommand = "/sbin/bsmtp -h mail.interdon.net -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r" mail = [EMAIL PROTECTED] = all console = all append = "/usr/local/bacula/var/lib/bacula/log" = all, !skipped } Console { Name = venus-mon Password = "8r0Or8ThD4IU4lQytbKuajWtctEZSvDqGgTTDf0es6tR" CommandACL = status, .status } @/usr/local/bacula/etc/conf.d/test.conf My bacula-fd.conf: Director { Name = venus-dir Password = "SREOnBu3UJgJitTTO4OF/AAsETkrDWdV84bKdaSNOKte" } Director { Name = venus-mon Password = "8r0Or8ThD4IU4lQytbKuajWtctEZSvDqGgTTDf0es6tR" Monitor = yes } FileDaemon { # this is me Name = venus-fd FDport = 9102 # where we listen for the director WorkingDirectory = /usr/local/bacula/var/lib/bacula Pid Directory = /var/run Maximum Concurrent Jobs = 20 } Messages { Name = Standard director = venus-dir = all } My bacula-sd.conf: Storage { # definition of myself Name = venus-sd SDPort = 9103 # Director's port WorkingDirectory = "/usr/local/bacula/var/lib/bacula" Pid Directory = "/var/run" Maximum Concurrent Jobs = 20 } Director { Name = venus-dir Password = "EQSkHjg9fOrSCSEXgH5Zs7lx8LP72AZx8vG8gNLQp8Y7" } Director { Name = venus-mon Password = "8r0Or8ThD4IU4lQytbKuajWtctEZSvDqGgTTDf0es6tR" Monitor = yes } Device { Name = FileStorage Media Type = File Archive Device = /storage LabelMedia = yes; Random Access = Yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; } Messages { Name = Standard director = venus-dir = all } My conf.d/test.conf: Job { Name = "Test" Enabled = no Client = venus-fd FileSet = "FileSetTest" Schedule = "ScheduleTest" Write Bootstrap = "/usr/local/bacula/var/bacula/bs/Test.bsr" Storage = File Type = Backup Level = Full Pool = FullTest Priority = 10 Messages = Standard } Job { Name = "Restore" Enabled = no Client = venus-fd FileSet = "FileSetTest" Schedule = "ScheduleTest" Bootstrap = "/usr/local/bacula/var/bacula/bs/Test.bsr" Storage = File Type = Restore Pool = Restore Priority = 10 Messages = Standard } FileSet { Name = "FileSetTest" Include { Options { signature = MD5 } File = /home/marcon/Download } Exclude { File = /proc File = /tmp File = /.journal File = /.fsck } } Schedule { Name = "ScheduleTest" Run = Full 1st sun at 23:05 Run = Differential 2nd-5th sun at 23:05 Run = Incremental mon-sat at 23:05 } Pool { Name = FullRestore Pool Type = Restore } Pool { Name = FullTest Label Format = "FullTest" Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 6 months Maximum Volume Jobs = 1 } To restore files i trying from bconsole run Restore job, or by using restore command. What i doing wrong? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users