Results 1 to 2 of 2

Thread: fatal error in tpchanger

  1. #1
    Join Date
    Mar 2014
    Posts
    2

    Default fatal error in tpchanger

    I have an Amanda installation on a Debian server. Amanda works with virtual tapes (i.e. directories). During the upgrade from Debian 6 (Squeeze) to Debian 7 (Wheezy) Amanda was upgraded from version 2.6.1p2 to version 3.3.1. Since then it seems to me that the tapechanger doesn't work anymore.

    If I run a normal dump, the dumps stay in the holding disk. In the mail summary I get the error message:

    FAILURE DUMP SUMMARY:
    taper: FATAL Expected an unsigned 64-bit value or smaller; value '9444732965739290426368' out of range at /usr/lib/amanda/perl/Amanda/Changer.pm line 1680.

    The same message I get after trying to transfer the dumps to the "tapes" via amflush, or even if I try to change the "tape" manually by

    /usr/sbin/amtape tagesbackup slot 8

    (tagesbackup is the config name).

    The active tpchanger config in amanda.conf ist

    ------------------
    define changer my_vtapes {
    tpchanger "chg-disk:/usr/data/0/tagesbackup"
    property "num-slot" "22"
    property "auto-create-slot" "yes"
    }
    tpchanger "my_vtapes"
    ------------------

    I changed the config from the old chg-disk version to the new one. That didn't have any effect on the error.

    Any ideas how to fix this?

  2. #2
    Join Date
    Mar 2014
    Posts
    2

    Default

    I add some lines from /var/log/amanda/server/tagesbackup/taper.*.debug:

    with the old chg-disk version:

    ----------------------------------------
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: pid 31679 ruid 1738 euid 1738 version 3.3.1: start at Tue Mar 11 01:00:02 2014
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: Arguments: tagesbackup
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: "/etc/amanda/tagesbackup/./advanced.conf", line 61: warning: Keyword amrecover_do_fsf is deprecated.
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: "/etc/amanda/tagesbackup/./advanced.conf", line 63: warning: Keyword amrecover_check_label is deprecated.
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: "/etc/amanda/template.d/dumptypes", line 233: warning: Keyword tape_splitsize is deprecated.
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: pid 31679 ruid 1738 euid 1738 version 3.3.1: rename at Tue Mar 11 01:00:02 2014
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: Amanda::Changer::compat initialized with script /usr/lib/amanda/chg-disk, temporary directory /etc/amanda/tagesbackup
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: Amanda::Taper::Scan::traditional stage 1: search for oldest reusable volume
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: Amanda::Taper::Scan::traditional oldest reusable volume is 'tagesbackup-08'
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: Amanda::Changer::compat: invoking /usr/lib/amanda/chg-disk with -info
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: Amanda::Changer::compat: Got response '7 22 1' with exit status 0
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: Amanda::Taper::Scan::traditional changer is not fast-searchable; skipping to stage 2
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: Amanda::Taper::Scan::traditional stage 2: scan for any reusable volume
    Tue Mar 11 01:00:02 2014: thd-0x2001000: taper: Amanda::Changer::compat: invoking /usr/lib/amanda/chg-disk with -slot current
    Tue Mar 11 01:00:03 2014: thd-0x2001000: taper: Amanda::Changer::compat: Got response '7 file://usr/data/0/tagesbackup' with exit status 0
    Tue Mar 11 01:00:03 2014: thd-0x2001000: taper: critical (fatal): Expected an unsigned 64-bit value or smaller; value '9444732965739290426368' out of range at /usr/lib/amanda/perl/Amanda/Changer.pm line 1680.

    /usr/lib/amanda/libamanda-3.3.1.so(+0x2a5c7)[0x7fa8985fa5c7]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x1e3)[0x7fa89746b473]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x82)[0x7fa89746b622]
    /usr/lib/amanda/perl/auto/Amanda/MainLoop/libMainLoop.so(+0x43e4)[0x7fa8926143e4]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4aeeb)[0x7fa897464eeb]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x135)[0x7fa897464355]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a688)[0x7fa897464688]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x72)[0x7fa897464a82]
    /usr/lib/amanda/perl/auto/Amanda/MainLoop/libMainLoop.so(_wrap_run_c+0x63)[0x7fa892614923]
    /usr/lib/libperl.so.5.14(Perl_pp_entersub+0x58c)[0x7fa899bbb70c]
    /usr/lib/libperl.so.5.14(Perl_runops_standard+0x16)[0x7fa899bb2ce6]
    /usr/lib/libperl.so.5.14(perl_run+0x3a5)[0x7fa899b54815]
    /usr/bin/perl(main+0x149)[0x400f89]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7fa8990f4ead]
    /usr/bin/perl[0x400fc1]
    ---------------------------------------

    with the new chg-disk version:

    ---------------------------------------
    Sat Mar 15 01:00:02 2014: thd-0x1b38000: taper: pid 9186 ruid 1738 euid 1738 version 3.3.1: start at Sat Mar 15 01:00:02 2014
    Sat Mar 15 01:00:02 2014: thd-0x1b38000: taper: Arguments: tagesbackup
    Sat Mar 15 01:00:02 2014: thd-0x1b38000: taper: pid 9186 ruid 1738 euid 1738 version 3.3.1: rename at Sat Mar 15 01:00:02 2014
    Sat Mar 15 01:00:02 2014: thd-0x1b38000: taper: Amanda::Taper::Scan::traditional stage 1: search for oldest reusable volume
    Sat Mar 15 01:00:02 2014: thd-0x1b38000: taper: Amanda::Taper::Scan::traditional oldest reusable volume is 'tagesbackup-08'
    Sat Mar 15 01:00:02 2014: thd-0x1b38000: taper: Amanda::Taper::Scan::traditional stage 1: searching oldest reusable volume 'tagesbackup-08'
    Sat Mar 15 01:00:02 2014: thd-0x1b38000: taper: new Amanda::Changer::Error: type='failed', reason='notfound', message='Label 'tagesbackup-08' not found'
    Sat Mar 15 01:00:02 2014: thd-0x1b38000: taper: Amanda::Taper::Scan::traditional oldest reusable volume not found
    Sat Mar 15 01:00:02 2014: thd-0x1b38000: taper: Amanda::Taper::Scan::traditional stage 2: scan for any reusable volume
    Sat Mar 15 01:00:03 2014: thd-0x1b38000: taper: critical (fatal): Expected an unsigned 64-bit value or smaller; value '9444732965739290426368' out of range at /usr/lib/amanda/perl/Amanda/Changer.pm line 1680.

    /usr/lib/amanda/libamanda-3.3.1.so(+0x2a5c7)[0x7fc474e5d5c7]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x1e3)[0x7fc473cce473]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x82)[0x7fc473cce622]
    /usr/lib/amanda/perl/auto/Amanda/MainLoop/libMainLoop.so(+0x43e4)[0x7fc46ee773e4]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4aeeb)[0x7fc473cc7eeb]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x135)[0x7fc473cc7355]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a688)[0x7fc473cc7688]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x72)[0x7fc473cc7a82]
    /usr/lib/amanda/perl/auto/Amanda/MainLoop/libMainLoop.so(_wrap_run_c+0x63)[0x7fc46ee77923]
    /usr/lib/libperl.so.5.14(Perl_pp_entersub+0x58c)[0x7fc47641e70c]
    /usr/lib/libperl.so.5.14(Perl_runops_standard+0x16)[0x7fc476415ce6]
    /usr/lib/libperl.so.5.14(perl_run+0x3a5)[0x7fc4763b7815]
    /usr/bin/perl(main+0x149)[0x400f89]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7fc475957ead]
    /usr/bin/perl[0x400fc1]
    ------------------------------------------

    Hope, someone can help.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •