Description of problem: Amanda amcheck won't work Version-Release number of selected component (if applicable): $ rpm -qf `which amcheck` amanda-server-3.3.6-10.fc22.x86_64 $ rpm -qf /usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so amanda-libs-3.3.6-10.fc22.x86_64 $ rpm -qf /usr/lib64/perl5/vendor_perl/Amanda/Util.pm amanda-3.3.6-10.fc22.x86_64 $ rpm -qf /usr/lib64/perl5/DynaLoader.pm perl-5.20.2-325.fc22.x86_64 How reproducible: $ amcheck <HOST> Amanda Tape Server Host Check ----------------------------- WARNING: holding disk ***: only 18739200 kB available (20971520 kB requested) Can't load '/usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so' for module Amanda::Util: /usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so: undefined symbol: struct_file_lock_lock at /usr/lib64/perl5/DynaLoader.pm line 193. at /usr/lib64/perl5/vendor_perl/Amanda/Util.pm line 11. Compilation failed in require at /usr/lib64/amanda/amcheck-device line 25. BEGIN failed--compilation aborted at /usr/lib64/amanda/amcheck-device line 25. Server check took 0.048 seconds Amanda Backup Client Hosts Check -------------------------------- Client check: 1 host checked in 1.253 seconds. 0 problems found. (brought to you by Amanda 3.3.6) Steps to Reproduce: see above Actual results: amcheck is not working Expected results: working Additional info:
I can confirm I have the same problem.
amdump won't work either due to the same problem, which makes Amanda non-functional. $ sudo -u amandabackup /usr/sbin/amdump <XXX> Can't load '/usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so' for module Amanda::Util: /usr/lib64/perl5/vendor_perl/auto/Amanda/Util/libUtil.so: undefined symbol: struct_file_lock_lock at /usr/lib64/perl5/DynaLoader.pm line 193. at /usr/lib64/perl5/vendor_perl/Amanda/Util.pm line 11. Compilation failed in require at /usr/sbin/amdump line 30. BEGIN failed--compilation aborted at /usr/sbin/amdump line 30.
See http://archives.zmanda.com/amanda-archives/viewtopic.php?t=7332&sid=d8727253f9e58c8528a8dcc40ea0d5c7
Hmm, looks like nobody take care regarding this issue leaving amanda broken in Fedora 22 for the time being... ...for those who can't wait here an adjusted spec file for 3.3.7p1, a rebuild based on F22 source rpm is working fine again (tested on 2 systems). --- amanda.spec 2015-02-27 14:27:07.000000000 +0100 +++ amanda-3.3.7p1.spec 2015-06-20 18:42:17.551446207 +0200 @@ -9,7 +9,7 @@ Summary: A network-capable tape backup solution Name: amanda -Version: 3.3.6 +Version: 3.3.7p1 Release: 10%{?dist} Source: http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz Source1: amanda.crontab @@ -109,9 +109,9 @@ %patch1 -p1 -b .xattrs %patch2 -p1 -b .tcpport %patch3 -p1 -b .config -%patch4 -p1 -b .autogen -%patch5 -p1 -b .krb5 -%patch6 -p1 -b .swig-3.0.5 +#%patch4 -p1 -b .autogen +#%patch5 -p1 -b .krb5 +#%patch6 -p1 -b .swig-3.0.5 ./autogen %build @@ -270,6 +270,7 @@ %{perl_vendorarch}/Amanda/Tests.pm %{perl_vendorarch}/Amanda/Util.pm %{perl_vendorarch}/Amanda/Xfer.pm +%{perl_vendorarch}/Amanda/Message.pm %{_mandir}/man5/amanda-archive-format.5* %{_mandir}/man7/amanda-compatibility.7*
(In reply to Peter Bieringer from comment #4) That patch works for me. Thanks Peter!
In rawhide it is fixed by commit http://pkgs.fedoraproject.org/cgit/amanda.git/commit/?id=c2fd8f98642675cdb365da18c87f061e5619737c In F22 it is fixed by commit http://pkgs.fedoraproject.org/cgit/amanda.git/commit/?h=f22&id=c2fd8f98642675cdb365da18c87f061e5619737c
amanda-3.3.7p1-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/amanda-3.3.7p1-1.fc22
Package amanda-3.3.7p1-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing amanda-3.3.7p1-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-10554/amanda-3.3.7p1-1.fc22 then log in and leave karma (feedback).
amanda-3.3.7p1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.