Hi, it seems a perl upgrade break Amanda. While I work on problem you may try to downgrade perl.
Kind regards Jose M Calhariz On October 2, 2016 8:01:23 PM GMT+01:00, SZALAY Attila <s...@ubainba.hu> wrote: >Package: amanda-server >Version: 1:3.3.9-1 >Severity: normal >File: amanda > >Dear Maintainer, > >After I upgraded my host this week (I do not know the exact date) I >started >to receive an alert message from amanda with the following subject: >"Daily AMANDA PROBLEM: FIX BEFORE RUN, IF POSSIBLE" >Which told me, that: >"amcheck-device terminated with signal 11" > >Also, I was able to reproduce the issue with running the amcheck by >hand >with the following command line: >"su -s /bin/bash -l -c "ulimit -c unlimited; /usr/sbin/amcheck -m >Daily" backup" > >Seemingly the daily backup job is running without success (this is >while it >is just normal), but not checked throroughly. > >The strace show the following: >29840 stat("/backup/amanda/daily/vtapes/drive0/data//00000.MyData08", >{st_mode=S_IFREG|0600, st_size=32768, ...}) = 0 >29840 getdents(5, /* 0 entries */, 32768) = 0 >29840 close(5) = 0 >29840 lseek(4, 0, SEEK_SET) = 0 >29840 write(4, "$STATE = {\n 'drives' => {\n >'/backup/amanda/daily/vtapes/drive0' => {\n >'pid' => 29840\n >}\n },\n 'meta' => undef\n >};\n", 317) = 317 >29840 close(4) = 0 >29840 write(2, "found in slot 8:", 16) = 16 >29840 write(2, " volume 'MyData08'\n", 19) = 19 >29840 write(10, "Sun Oct 2 20:33:32 2016: thd-0x1a4f200: >amcheck-device: Amanda::Taper::Scan::traditional result: 'MyData08' on >file:/backup/amanda/daily/vtapes/drive0 slot 8, mode 2\n", 167) = 167 >29840 lstat("/backup/amanda/daily/vtapes/drive0/data", >{st_mode=S_IFLNK|0777, st_size=8, ...}) = 0 >29840 unlink("/backup/amanda/daily/vtapes/drive0/data") = 0 >29840 rmdir("/backup/amanda/daily/vtapes/drive0") = 0 >29840 open("/etc/amanda/Daily/changer", O_RDWR|O_CREAT, 0666) = 4 >29840 fcntl(4, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, >l_len=0}) = 0 >29840 fstat(4, {st_mode=S_IFREG|0600, st_size=317, ...}) = 0 >29840 read(4, "$STATE = {\n 'drives' => {\n >'/backup/amanda/daily/vtapes/drive0' => {\n >'pid' => 29840\n >}\n },\n 'meta' => undef\n >};\n", 317) = 317 >29840 lseek(4, 0, SEEK_SET) = 0 >29840 write(4, "$STATE = {\n 'drives' => {\n >'/backup/amanda/daily/vtapes/drive0' => {}\n },\n > 'meta' => undef\n };\n", 169) = 169 >29840 ftruncate(4, 169) = 0 >29840 close(4) = 0 >29840 write(3, "\1\0\0\0\0\0\0\0", 8) = 8 >29840 futex(0x25370c0, FUTEX_WAKE_PRIVATE, 2147483647) = 0 >29840 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x10} >--- > >And the dbg output is (I cannot find debug symbols neither for perl nor >amanda): >Reading symbols from /usr/bin/perl...(no debugging symbols >found)...done. > >warning: core file may not match specified executable file. >[New LWP 29840] >[Thread debugging using libthread_db enabled] >Using host libthread_db library >"/lib/x86_64-linux-gnu/libthread_db.so.1". >Core was generated by `/usr/bin/perl /usr/lib/amanda/amcheck-device >Daily'. >Program terminated with signal SIGSEGV, Segmentation fault. >#0 0x00007f24ced6e1fb in ?? () from >/usr/lib/x86_64-linux-gnu/amanda/perl/auto/Amanda/MainLoop/libMainLoop.so >(gdb) bt full >#0 0x00007f24ced6e1fb in () at >/usr/lib/x86_64-linux-gnu/amanda/perl/auto/Amanda/MainLoop/libMainLoop.so >#1 0x00007f24d4975103 in g_timeout_dispatch (source=0x2311c10, >callback=<optimized out>, user_data=<optimized out>) at >././glib/gmain.c:4672 > timeout_source = 0x2311c10 > again = <optimized out> >#2 0x00007f24d497468a in g_main_context_dispatch (context=0x25370b0) >at ././glib/gmain.c:3201 > dispatch = 0x7f24d49750f0 <g_timeout_dispatch> > prev_source = 0x0 > was_in_call = 0 > user_data = 0x25d3af0 > callback = 0x7f24ced6e090 > cb_funcs = <optimized out> > cb_data = 0x2169e90 > need_destroy = <optimized out> > source = 0x2311c10 > current = 0x2309b80 > i = 0 >#3 0x00007f24d497468a in g_main_context_dispatch >(context=context@entry=0x25370b0) at ././glib/gmain.c:3854 >#4 0x00007f24d4974a40 in g_main_context_iterate (context=0x25370b0, >block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) >at ././glib/gmain.c:3927 > max_priority = 0 > timeout = 0 > some_ready = 1 > nfds = 1 > allocated_nfds = 1 > fds = <optimized out> >#5 0x00007f24d4974d62 in g_main_loop_run (loop=0x21b42f0) at >././glib/gmain.c:4123 > __func__ = "g_main_loop_run" >#6 0x00007f24ced6ebe3 in _wrap_run_c () at >/usr/lib/x86_64-linux-gnu/amanda/perl/auto/Amanda/MainLoop/libMainLoop.so >#7 0x00000000004c1b30 in Perl_pp_entersub () >#8 0x00000000004ba106 in Perl_runops_standard () >#9 0x0000000000442f39 in perl_run () >#10 0x000000000041c93b in main () > > >-- System Information: >Debian Release: stretch/sid > APT prefers testing > APT policy: (500, 'testing') >Architecture: amd64 (x86_64) >Foreign Architectures: i386 > >Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores) >Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) >Shell: /bin/sh linked to /bin/bash >Init: systemd (via /run/systemd/system) > >Versions of packages amanda-server depends on: >ii amanda-common 1:3.3.9-1 >ii bsd-mailx [mailx] 8.1.2-0.20160123cvs-3 >ii libc6 2.24-3 >ii libcurl3 7.50.1-1 >ii libglib2.0-0 2.50.0-1 >ii libssl1.0.2 1.0.2j-1 >ii mailx 1:20071201-3 > >amanda-server recommends no packages. > >Versions of packages amanda-server suggests: >ii amanda-client 1:3.3.9-1 >ii cpio 2.11+dfsg-5 >ii gnuplot 5.0.4+dfsg1-3 > >-- no debconf information -- Sent from my Android device with K-9 Mail. Please excuse my brevity.