Jean-Louis,

That fixed it. Many Thanks!

--Marcus


On Wed, 4 Sep 2013, Jean-Louis Martineau wrote:

Marcus,

Replace the line:
 my $dle = $p1->XMLin($dle_str);
by
 my $dle = $p1->XMLin($dle_str) if defined $dle_str;

Jean-Louis



On 09/04/2013 02:57 PM, Marcus Pless wrote:
I recently switched to the 3.3.3 version of amanda and now I can't extract files from tape using amfetchdump. I get the
same error with 3.3.4. The XML::Simple perl module is installed.
Has anyone else seen this error?


$ amfetchdump Daily hostname /
1 volume(s) needed for restoration
The following volumes are needed: DLY009
Press enter when ready

amfetchdump: Could not find amfetchdump.xml in /usr/local/amanda/sbin/ at /usr/local/amanda/sbin/amfetchdump line 507


From the end of the debug log:

Wed Sep 4 11:08:31 2013: thd-0x9d6f348: amfetchdump: SL-500-LTO4: updating state Wed Sep 4 11:08:31 2013: thd-0x9d6f348: amfetchdump: parse_inventory: load slot 23 with label 'DLY009' Wed Sep 4 11:08:31 2013: thd-0x9d6f348: amfetchdump: SL-500-LTO4: too early for another 'status' invocation Wed Sep 4 11:08:31 2013: thd-0x9d6f348: amfetchdump: SL-500-LTO4: loading slot '23' Wed Sep 4 11:08:31 2013: thd-0x9d6f348: amfetchdump: SL-500-LTO4: requested volume is already in drive 1 Wed Sep 4 11:08:31 2013: thd-0x9d6f348: amfetchdump: SL-500-LTO4: polling 'tape:/dev/nst1' to see if it's ready Wed Sep 4 11:11:45 2013: thd-0x9d6f348: amfetchdump: Amanda::Recovery::Clerk: successfully located first part for recovery Wed Sep 4 11:11:45 2013: thd-0x9d6f348: amfetchdump: critical (fatal): Could not find amfetchdump.xml in
/usr/local/amanda/sbin/ at /usr/local/amanda/sbin/amfetchdump line 507

/usr/local/amanda/lib/libamanda-3.3.3.so[0xa333b4]
/lib/libglib-2.0.so.0(g_logv+0x337)[0x76a997]
/lib/libglib-2.0.so.0(g_log+0x29)[0x76ab69]
/usr/local/amanda/lib/perl/auto/Amanda/MainLoop/libMainLoop.so[0x6b63f2]
/lib/libglib-2.0.so.0[0x762776]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x182)[0x7621a2]
/lib/libglib-2.0.so.0[0x765196]
/lib/libglib-2.0.so.0(g_main_loop_run+0x1b7)[0x765557]
/usr/local/amanda/lib/perl/auto/Amanda/MainLoop/libMainLoop.so(run_c+0x1f)[0x6b555f] /usr/local/amanda/lib/perl/auto/Amanda/MainLoop/libMainLoop.so(_wrap_run_c+0x94)[0x6b5604] /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_pp_entersub+0x40d)[0x1b651d] /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_runops_standard+0x1f)[0x1af98f] /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(perl_run+0x2ee)[0x15520e] /usr/bin/perl(main+0x13e)[0x804921e]
/lib/libc.so.6(__libc_start_main+0xdc)[0x2d9e9c]
/usr/bin/perl[0x8049021]


Thanks in advance!

--Marcus


Reply via email to