Submitted by david83 on Sun, 12/30/2018 - 02:47
S3 Perl Module
Hello, I use Virtualmin Gpl on 2 small servers with Debian9. For data backup I use the function under> Virtualmin> Backup other restore> Amazon S3
On the two servers, this works fine after installing Perl xml :: simple. Now I have set up a new server and would like to use S3 again as a backup solution. After installing evon xml :: simple I receive the error message:
The Perl module S3 :: AWSAuthConnection needed to communicate with Amazon's S3 service is not installed
This message came with no other server I have set up so far. I tried to install the module. But this module does not exist on Cpan.
In the forum andere Bug report I can only find posts from 2006 by this is described as a bug.
What can I do? Would be grateful for help
Status:
Closed (fixed)
Comments
Submitted by david83 on Sun, 12/30/2018 - 11:11 Comment #1
Submitted by JamieCameron on Sun, 12/30/2018 - 20:44 Comment #2
That is surprising, as that perl module is part of the Virtualmin install.
Does the file
/usr/share/webmin/virtual-server/S3/AWSAuthConnection.pm
exist on your system?Submitted by david83 on Tue, 01/01/2019 - 12:12 Comment #3
Hello Jamie, Thank you for replying. Yes the File ist there. 10.73KB
Ive reinstalled the Server three Times. But every Time i got this Error.
Submitted by JamieCameron on Fri, 01/04/2019 - 00:34 Comment #4
Can you check if the following Perl modules are installed :
HTTP::Date
URI::Escape
Carp
XML::Simple
Digest::MD5
Submitted by david83 on Fri, 01/04/2019 - 02:03 Comment #5
Hello, yes i can do that.
installed:
HTTP::Date 6.02\cf1\highlight1
URI::Escape 3.31\cf1\highlight1
Carp 1.40\cf1\highlight1
XML::Simple 2.22\cf1\highlight1
Digest::MD5
Submitted by david83 on Fri, 01/04/2019 - 08:43 Comment #6
oh Sorry i did a mistake. URI::Escape was not installed.
After installation, the same issue occur The Perl module S3 :: AWSAuthConnection needed to communicate with Amazon's S3 service is not installed
Submitted by JamieCameron on Fri, 01/04/2019 - 20:33 Comment #7
Try running the following command to see more details about why the module isn't loading :
perl -I/usr/share/webmin/virtual-server -e 'use S3::AWSAuthConnection'
Submitted by david83 on Sat, 01/05/2019 - 05:29 Comment #8
Herr the Output:
perl -I/usr/share/webmin/virtual-server -e 'use S3::AWSAuthConnection'
Can't locate LWP/UserAgent.pm in @INC (you may need to install the LWP::UserAgent module) (@INC contains: /usr/share/webmin/virtual-server /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/webmin/virtual-server/S3.pm line 24.
BEGIN failed--compilation aborted at /usr/share/webmin/virtual-server/S3.pm line 24.
Compilation failed in require at /usr/share/webmin/virtual-server/S3/AWSAuthConnection.pm line 23.
BEGIN failed--compilation aborted at /usr/share/webmin/virtual-server/S3/AWSAuthConnection.pm line 23.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Submitted by david83 on Sat, 01/05/2019 - 05:50 Comment #9
I ve tried to Install LWP::UserAgent but IT fails because libwww::perl is not installed and it ist not available by cpan
Submitted by andreychek on Sat, 01/05/2019 - 10:38 Comment #10
Try installing the package "libwww-perl" using apt:
apt-get install libwww-perl
That should include "LWP::UserAgent".
Submitted by david83 on Sat, 01/05/2019 - 12:41 Comment #11
Hello Again, I can now use Amazon s3 backup. It will work after installing libwww-perl. I would be interested to know why the server had problems here. I have 2-3 months before exactly the same vserver with the same provider without problems to install.
Thanks a lot David
Submitted by JamieCameron on Sat, 01/05/2019 - 12:50 Comment #12
Maybe different perl packages were included during the install of your OS, depending on the initial package selection?
Anyway, in the next Virtualmin release we will make it clearer which required Perl package is missing to make problems like this easier to resolved.
Submitted by IssueBot on Sat, 01/19/2019 - 12:56 Comment #13
Automatically closed - issue fixed for 2 weeks with no activity.
Submitted by munklefish on Fri, 02/15/2019 - 06:24 Pro Licensee Comment #14
I had the same issue (Ubuntu 16.04 LTS) and can confirm that installing libwww-perl immediately fixed the issue for me too.