Add EC2 reports error

In Cloudmin 2.6, adding an EC2 account results in the following error:

HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Tue, 22 Sep 2009 19:46:20 GMT Content-type: text/html Connection: close Error - Perl execution failed

Undefined subroutine &server_manager::list_ec2_regions called at /usr/libexec/webmin/server-manager/edit_ec2.cgi line 26. Account description

Thanks, Peter

Status: 
Closed (fixed)

Comments

Cloudmin 2.6 is quite old .. you should upgrade to the 3.1 version. There should be a button on the System Information page that appears after you login prompting you for an upgrade.

Let me know if that helps.

Also, are you running the version of Cloudmin that is part of the EC2 paid AMI?

I found I am actually running 3.1 (I read the version off the title bar which referred to 2.6). This install isn't an AWC instance, it's running as a Virtuozzo VPS.

Ok, that version should be fine then.

Which Linux distro are you running there, and which Cloudmin type are you running?

OS is CentOS 5.3 - not sure what you mean by Cloudmin type.

Ok, I see it now .. this only happens with some Perl versions, which is why it wasn't detected earlier.

To fix it, edit /usr/libexec/webmin/server-manager/ec2-type-lib.pl and change line 1049 to :

local $_;

This fix will be in the next Cloudmin release.

That sorted it. Thanks, P

Automatically closed -- issue fixed for 2 weeks with no activity.