Latest updates break Virtualmin!

I just updated these components:

usermin-virtual-server-theme
webmin-security-updates
webmin-virtual-server-mobile
webmin-virtual-server-theme

Now the left bar of Virtualmin shows this after logging in:

HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Thu, 3 Jul 2008 02:12:29 GMT Content-type: text/html Connection: close
Error - Perl execution failed

Undefined subroutine &virtual_server::list_visible_domains called at /usr/share/webmin/virtual-server-theme/left.cgi line 80.

Help!

I can second this one. Same exact error on mine.

GPL or the Pro version ?

I don’t have this issue on the Pro just the GPL.

GPL version

See bug details http://www.virtualmin.com/bugs/index.php?do=details&task_id=4222

I’ll bet everyone has debian

Yep, Debian here. It’ll be fixed soon, I’m sure.

Fixed. Apologies for the inconvenience.

Am I missing something here? How do I get the fix?

Update. Same way we got you into the mess. :wink:

I’m using debian etch, and the debian repos are still at 3.58.gpl

Virtualmin still shows no updates available

Oops. I ran the wrong script to sync the GPL repos. The packages ended up in the wrong place.

Syncing the corrected repositories now.

that got it, thanks

Joe wrote:

Oops. I ran the wrong script to sync the GPL repos. The packages ended up in the wrong place.

LOL

I have the same problem running the Gpl version on Centos 5.1 (now upgraded so 5.2 still doesn’t work).

This is what I see on the left menu

HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Tue, 8 Jul 2008 15:06:30 GMT Content-type: text/html Connection: close
Error - Perl execution failed
Undefined subroutine &virtual_server::list_visible_domains called at /usr/libexec/webmin/virtual-server-theme/left.cgi line 80.

(I’m running the default theme BTW).

Can’t do a great deal like this, if I click the configure link for the System info page I get this-

HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Tue, 8 Jul 2008 15:07:16 GMT Content-type: text/html Connection: close
Error - Perl execution failed
Undefined subroutine &virtual_server::show_domain_name called at /usr/libexec/webmin/virtual-server-theme/edit_right.cgi line 39.

I’ve got Virtualmin to update automatically, I’m reasonably confident it broke last update (can be weeks between logining in sometimes if I’m busy).

Have tried using Yum to upgrade Virtualmin and Webmin, but says it’s already running the latest versions.

Ran “Yum Upgrade” and updated Centos 5.1 to Centos 5.2, but this didn’t help.

How do I fix this?

Thanks

David Law

Hi David,

Can you verify two things –

  1. Webmin/Virtualmin versions

Just to make sure CentOS is seeing the right packages, can you see what versions of Webmin and Virtualmin you have installed?

rpm -qa| grep webmin
rpm -qa| grep wbm-virtual-server

  1. No extra Webmin processes running

Every once in awhile, a rogue Webmin process gets in there and causes some trouble. Can you stop Webmin, then verify no other webmin processes are running? If they are, go ahead and kill them.

Stop Webmin

/etc/init.d/webmin stop

Look for Webmin processes still running

ps auxw | grep miniserv | grep webmin

Then if any exist, go ahead and kill them, and restart webmin (/etc/init.d/webmin start).

Thanks,
-Eric

I just updated Virtualmin (GPL) on three servers, two of the servers broke.

Just to help understand what might have happened I have listed here details.

Server #1 - Production Server
OS - CentOS 5.2
Original Install of Virtualmin (GPL) - via rpm
Added Virtualmin to YUM after the fact.
Performed YUM update 07-07-2008
Update broke httpd.conf
Fixed problem by replacing the newly installed httpd.conf with httpd.conf.rpmsave - fixed my problem.
Still testing to see if anything else broke - nothing found as of this post.

Server #2 - Backup Server
Same specs as Server #1
Same problem and solution as Server #1

Server #3 - Backup Server
OS - CentOS 5.2
Original Install of Virtualmin (GPL) - via YUM
Performed YUM update 07-07-2008
NOTHING BROKE - updated just fine.

Just thought I would pass on this information.

Thanks

TagTech

This should not be happening anymore – however the fastest fix for the VM GPL issues here is to install the VM GPL from the www.webmin.com website.

This ONLY pertains to the error:

Undefined subroutine &virtual_server::list_visible_domains called at /usr/libexec/webmin/virtual-server-theme/left.cgi line 80.

That is you want to download the GPL versions from http://www.webmin.com/virtualmin.html – don’t use the install script.

Question?

Why not use the install script for the GPL virtualmin?

Just curious?

The one server I had that did NOT break was the one I did use the install script on and it installed everything, it was great. I performed the YUM update on this server and nothing broke.

Thanks

TagTech