Submitted by tlamont on Tue, 09/22/2009 - 14:48 Pro Licensee
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
Submitted by JamieCameron on Tue, 09/22/2009 - 15:03 Comment #1
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?
Submitted by tlamont on Tue, 09/22/2009 - 15:12 Pro Licensee Comment #2
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.
Submitted by JamieCameron on Tue, 09/22/2009 - 15:19 Comment #3
Ok, that version should be fine then.
Which Linux distro are you running there, and which Cloudmin type are you running?
Submitted by tlamont on Tue, 09/22/2009 - 15:22 Pro Licensee Comment #4
OS is CentOS 5.3 - not sure what you mean by Cloudmin type.
Submitted by JamieCameron on Tue, 09/22/2009 - 18:12 Comment #5
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.
Submitted by tlamont on Tue, 09/22/2009 - 19:01 Pro Licensee Comment #6
That sorted it. Thanks, P
Submitted by Issues on Fri, 10/09/2009 - 01:25 Comment #7
Automatically closed -- issue fixed for 2 weeks with no activity.