Undefined subroutine &virtual_server::ui_img called at /usr/libexec/webmin/virtual-server/edit_newfeatures.cgi line 29.

With upgrade to 4.10.gpl GPL it started to give the following error on "Features and Plugins"page:


HTTP/1.0 500 Perl execution failed Server: MiniServ/1.690 Date: Thu, 4 Sep 2014 19:04:05 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close

Error - Perl execution failed

Undefined subroutine &virtual_server::ui_img called at /usr/libexec/webmin/virtual-server/edit_newfeatures.cgi line 29.
Status: 
Active

Comments

Do you have the latest Webmin package as well? You can upgrade with the command yum install webmin

las version same problem

Virtualmin version 4.10 Pro

HTTP/1.0 500 Perl execution failed Server: MiniServ/1.690 Date: Fri, 5 Sep 2014 05:55:45 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close

Error - Perl execution failed

Undefined subroutine &virtual_server::ui_img called at /usr/libexec/webmin/virtual-server/edit_newfeatures.cgi

Package webmin-1.690-1.noarch already installed and latest version

Yep, Webmin is also updated:

root@ns1:/root#
yum install webmin
Loaded plugins: downloadonly, fastestmirror, presto, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.crcrepairs.com
* updates: centos.mirror.crcrepairs.com
Setting up Install Process
Package webmin-1.690-1.noarch already installed and latest version
Nothing to do

Nevertheless, the issue persists.

Welshman's picture
Submitted by Welshman on Fri, 09/05/2014 - 09:51

I noticed it this morning after vm update to 4.10 (gpl )

I also noticed that one server was ok that had webmin 1.700 in place, so on another server that had the problem I changed the theme to the MSC.Linux theme and there was given the option of updating webmin, did that and switched back to the default theme and all was fine, then fixed all my other servers the same way.

I don't understand why I did not have the option to update webmin when 1.700 was released the other week?

That seems to be the problem though... 1.690 & 4.10?

Edit, above worked on buntu 12.04, buntu 14.04 & centos 6.5

Apparently webmin 1.700 is not yet in the VM repos so an update command will just tell you it's up to date but doing as above updates to 1.700 and fixes it.

How do we get 1.700? I tried changing themes, but that did not trigger an update to 1.700 for me. (Running Ubuntu 12.04)

So the quick work-around is to install Webmin 1.700 from www.webmin.com . On Debian or Ubuntu, the commands to do this are :

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.700_all.deb
dpkg --install webmin_1.700_all.deb

and on Redhat or CentOS :

wget http://prdownloads.sourceforge.net/webadmin/webmin-1.700-1.noarch.rpm
rpm -U webmin-1.700-1.noarch.rpm

I'll get this added to our repos ..

Awesome! Ubuntu instructions in #7 work! Thanks JamieCameron!

Welshman's picture
Submitted by Welshman on Fri, 09/05/2014 - 12:42

Yeah, great thanks Jamie, yahoo.

Thank you. The Centos instructions work fine.