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.

Hi Jack,

Yeah, that’s not overly helpful, is it :slight_smile:

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

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):

Error: The Perl module <tt>Crypt::SSLeay</tt> 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 <tt>/var/tmp/.webmin/Amazon-S3-0.441.tar.gz</tt> 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 [

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

Yep, I get 0.57.

Yeah, yours is even newer than mine :slight_smile:

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 :slight_smile:

Thanks!
-Eric