Some issues with Amanda
24 March 2023
> I have had Amanda running for over a decade, yesterday I had no issue at
> all but last night, my backups for Ubuntu machines started crashing
> consistently with the error:
> strange(?): runtar: error [runtar invalid option: -]
>
> The just-released amanda package upgrade seems to have a regression for
> GNUTAR DLEs; see:
> https://bugs.launchpad.net/debian/+source/amanda/+bug/2012536/
See amanda.conf for the workaround.
======================================================================
2 May 2023 (reported to amanda-hackers@amanda.org on 5 May 2023)
I recentrly had amrecover that hanged because amidxtaped would die with
the following message in amidxtaped.log:
Tue May 2 12:38:48 2023: thd-0x802e95800: amidxtaped: warning: Use of
uninitialized value $str in pattern match (m//) at
/usr/local/lib/perl5/site_perl/Amanda/DB/Catalog.pm line 764.
Tue May 2 12:38:48 2023: thd-0x802e95800: amidxtaped: warning: Use of
uninitialized value $s in concatenation (.) or string at
/usr/local/lib/perl5/site_perl/Amanda/DB/Catalog.pm line 764.
Tue May 2 12:38:48 2023: thd-0x802e95800: amidxtaped: critical (fatal):
'' at /usr/local/lib/perl5/site_perl/Amanda/DB/Catalog.pm line 764.
amidxtaped: '' at /usr/local/lib/perl5/site_perl/Amanda/DB/Catalog.pm
line 764.
Digging into Catalog.pm, I managed to identify the log file that was
causing the error and the specific line in the log file is:
DONE taper WARNING driver Taper protocol error
Modify /usr/local/lib/perl5/site-perl/Amanda/DB/Catalog.pm to print
the name of the file.