Perl execution failed

In System Settings the following submenues stopped working after update to 4.05

Features and Plugins Error - Perl execution failed Undefined subroutine &virtual_server::ui_link called at /usr/libexec/webmin/virtual-server/edit_newfeatures.cgi line 22

Server Templates: Perl execution failed:Undefined subroutine &virtual_server::ui_link called at /usr/libexec/webmin/virtual-server/edit_newtmpl.cgi line 15.

Account Plans Undefined subroutine &virtual_server::ui_link called at /usr/libexec/webmin/virtual-server/edit_newplan.cgi line 17.

the rest of the System is working fine

Status: 
Active

Comments

Howdy -- you may want to try giving Webmin a restart, as sometimes that can cause the behavior you're seeing. Try running this command:

/etc/init.d/webmin restart

After that, do you still see the errors you described?

yes - the error is still there after reloading webmin

/etc/init.d/webmin restart Stopping Webmin server in /usr/libexec/webmin Starting Webmin server in /usr/libexec/webmin Pre-loaded virtual-server/virtual-server-lib-funcs.pl in virtual_server Pre-loaded virtual-server/feature-unix.pl in virtual_server Pre-loaded virtual-server/feature-dir.pl in virtual_server Pre-loaded virtual-server/feature-dns.pl in virtual_server Pre-loaded virtual-server/feature-mail.pl in virtual_server Pre-loaded virtual-server/feature-web.pl in virtual_server Pre-loaded virtual-server/feature-webalizer.pl in virtual_server Pre-loaded virtual-server/feature-ssl.pl in virtual_server Pre-loaded virtual-server/feature-logrotate.pl in virtual_server Pre-loaded virtual-server/feature-mysql.pl in virtual_server Pre-loaded virtual-server/feature-postgres.pl in virtual_server Pre-loaded virtual-server/feature-ftp.pl in virtual_server Pre-loaded virtual-server/feature-spam.pl in virtual_server Pre-loaded virtual-server/feature-virus.pl in virtual_server Pre-loaded virtual-server/feature-status.pl in virtual_server Pre-loaded virtual-server/feature-webmin.pl in virtual_server Pre-loaded virtual-server/feature-virt.pl in virtual_server Pre-loaded virtual-server/feature-virt6.pl in virtual_server Pre-loaded WebminCore

Also, which version of Webmin are you running? This could happen if the version is too old.

Webmin version 1.660

I am having the same issue after upgrading. Same Virtualmin and Webmin version as well.

Yeah, all boxes I updated, pro or gpl, to the latest virtualmin and webmin have this same issue. It does it when I go to 'Server Templates' or 'Account Plans'.

I'm experiencing this also.

The quick fix (until we release an update) for users on CentOS / Redhat is to run :

rpm -U http://download.webmin.com/devel/rpm/webmin-1.675-1.noarch.rpm

Thanks, the submenues work now.