Error uploading backup to S3

6 posts / 0 new
Last post
#1 Fri, 12/12/2008 - 15:21
jacknewton

Error uploading backup to S3

I'm running into an issue backing my VirtualMin up to S3. I get a cryptic error without much in the way of clues as to what might be going wrong:

Uploading archive to Amazon's S3 server .. HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Sat, 13 Dec 2008 01:12:23 GMT Content-type: text/html Connection: close Error - Perl execution failed

That's all I get. Any ideas? This is VirtualMin 3.63 Pro.

Fri, 12/12/2008 - 16:02
andreychek

Hi Jack,

Yeah, that's not overly helpful, is it :-)

Does anything interesting show up in Webmin's error log in /var/webmin/miniserv.error? Perhaps it's dumping more useful output in there.
-Eric

Fri, 12/12/2008 - 16:10
jacknewton

Ah yes, I did find an error. The Crypt::SSLeay library _is_ installed though, is there something else I should be enabling? I'm on a Joyent Accelerator if that helps (and Crypt::SSLeay was installed via pkg_get):

<div class='quote'>Error: The Perl module &lt;tt&gt;Crypt::SSLeay&lt;/tt&gt; needed to communicate with Amazon's S3 service is not installed
Prototype mismatch: sub cpan::encode_base64: none vs ($;$) at /opt/local/lib/perl5/5.8.0/Exporter.pm line 65.
at (eval 63) line 2
Prototype mismatch: sub cpan::decode_base64: none vs ($) at /opt/local/lib/perl5/5.8.0/Exporter.pm line 65.
at (eval 63) line 2
Error: Module file &lt;tt&gt;/var/tmp/.webmin/Amazon-S3-0.441.tar.gz&lt;/tt&gt; no longer exists
Prototype mismatch: sub cpan::encode_base64: none vs ($;$) at /opt/local/lib/perl5/5.8.0/Exporter.pm line 65.
at (eval 66) line 2
Prototype mismatch: sub cpan::decode_base64: none vs ($) at /opt/local/lib/perl5/5.8.0/Exporter.pm line 65.
at (eval 66) line 2
Prototype mismatch: sub cpan::encode_base64: none vs ($;$) at /opt/local/lib/perl5/5.8.0/Exporter.pm line 65.
at (eval 63) line 2
Prototype mismatch: sub cpan::decode_base64: none vs ($) at /opt/local/lib/perl5/5.8.0/Exporter.pm line 65.
at (eval 63) line 2
[13/Dec/2008:01:02:10 +0000] [68.149.162.121] /virtual-server/backup.cgi/backup.tgz : Perl execution failed
Prototype mismatch: sub cpan::encode_base64: none vs ($;$) at /opt/local/lib/perl5/5.8.0/Exporter.pm line 65.
at (eval 63) line 2
Prototype mismatch: sub cpan::decode_base64: none vs ($) at /opt/local/lib/perl5/5.8.0/Exporter.pm line 65.
at (eval 63) line 2
[13/Dec/2008:01:11:35 +0000] miniserv.pl started
[13/Dec/2008:01:11:35 +0000] PAM authentication enabled
[13/Dec/2008:01:12:26 +0000] [68.149.162.121] /virtual-server/backup.cgi/backup.tgz : Perl execution failed
[</div>

Fri, 12/12/2008 - 16:14 (Reply to #3)
andreychek

Hmm, so what happens if you log in over SSH and type this:

perl -MCrypt::SSLeay -e 'print $Crypt::SSLeay::VERSION'

Does it print out a version number?
-Eric

Fri, 12/12/2008 - 17:40 (Reply to #4)
jacknewton

Yep, I get 0.57.

Sat, 12/13/2008 - 05:22 (Reply to #5)
andreychek

Yeah, yours is even newer than mine :-)

Okay, I'm not quite sure what's going on there; before we get too far, I'm curious to hear Jamie's take on the matter. Go ahead and file a bug report if you could, and we'll work it out from there :-)

Thanks!
-Eric

Topic locked