Error - Perl execution failed

14 posts / 0 new
Last post
#1 Thu, 09/06/2012 - 10:41
amel

Error - Perl execution failed

Hello,

have just updated the server and after I logged off and logged on again, I received following errors:

HTTP/1.0 500 Perl execution failed Server: MiniServ/1.570 Date: Thu, 6 Sep 2012 15:02:36 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close Error - Perl execution failed

Undefined subroutine &virtual_server::licence_warning_message called at /usr/libexec/webmin/virtual-server-theme/right.cgi line 116.

Any idea why this happen ?

Thank You

Amel

Thu, 09/06/2012 - 11:31
andreychek

Howdy,

That can happen if you don't have the latest theme version installed.

What distro are you using there?

-Eric

Thu, 09/06/2012 - 14:10
amel

hello,

I am using following distro.

CentOS Release 6.3 (Final) Kernel 2.6.32-279.5.2.el6.x86_64

Amel

Thu, 09/06/2012 - 15:07
andreychek

Howdy,

Try running this command:

yum install wbt-virtual-server-theme

And then restart Webmin:

/etc/init.d/webmin restart

Once you do that, does that error go away?

Also, out of curiosity -- how did you initially install Virtualmin... did you use the install.sh script?

-Eric

Tue, 09/25/2012 - 02:36 (Reply to #4)
robccsilva

I had the same problem, running the following instructions solved it: yum install wbt-virtual-server-theme /etc/init.d/webmin restart

In my case, this problem started to happen after I install the lastest updates of: bind postgressql and a few other updates that I dont remember.... But, not sure if it has something to do with it...

System Specs (Vitualmin+Webmin):

Operating system CentOS Linux 5.8 Webmin version 1.590 Virtualmin version 3.94.gpl GPL Theme version 8.5 Time on server 25/Sep/2012 07:24 , Up 10 days, 20 hours, 48 minutes Kernel and CPU Linux 2.6.18-308.11.1.el5.centos.plus on x86_64 CPU load averages 0.51 (1 min) 0.46 (5 mins) 0.40 (15 mins) Running processes 301 Real memory 11.72 GB total, 4.04 GB used

grep wbt-virtual-server-theme /var/log/yum.log Feb 14 23:32:23 Updated: 2:wbt-virtual-server-theme-8.2-1.noarch
Jun 01 20:52:10 Updated: 2:wbt-virtual-server-theme-8.4-1.noarch
Jul 19 21:54:39 Updated: 2:wbt-virtual-server-theme-8.5-1.noarch
Sep 25 07:24:28 Updated: 2:wbt-virtual-server-theme-8.5-2.noarch
Tue, 09/25/2012 - 08:20 (Reply to #5)
andreychek

Thanks for your comment!

We're digging into how this came up, as this seemed to happen to a lot of folks.

Can you describe how you initially updated Virtualmin when this problem started happening? Did you do it from within Virtualmin, or on the command line?

-Eric

Thu, 09/06/2012 - 15:24
amel

Hello Eric,

thank You for reply, it`s working now :) I issued the commands as You mentioned and it does a trick..

yum install wbt-virtual-server-theme

/etc/init.d/webmin restart

I installed Virtualmin using the install.ssh script downloaded from virtualmin.com after license purchase..

Amel

Fri, 09/07/2012 - 11:30
andreychek

Howdy,

I know everything is working fine for you, but we're trying to dig into how that occurred, so that we can prevent it from happening again. That same thing happened to some other folks too.

I'm curious what this command shows:

grep wbt-virtual-server-theme /var/log/yum.log

Thanks!

-Eric

Fri, 09/07/2012 - 18:07
amel

hi again Eric,

right now it shows following:

[root@srv1 ~]# grep wbt-virtual-server-theme /var/log/yum.log
Feb 03 18:06:00 Updated: 2:wbt-virtual-server-theme-8.2-1.noarch
Apr 22 14:32:52 Updated: 2:wbt-virtual-server-theme-8.4-1.noarch
Aug 12 16:25:13 Updated: 2:wbt-virtual-server-theme-8.5-1.noarch
Sep 06 21:46:17 Updated: 2:wbt-virtual-server-theme-8.5-2.noarch
[root@srv1 ~]# 
Tue, 11/19/2013 - 01:27
jck@aic

I had the same problem, running the following instructions solved it:

yum install wbt-virtual-server-theme

/etc/init.d/webmin restart

[root@HTTP01b ~]# grep wbt-virtual-server-theme /var/log/yum.log Nov 19 08:08:50 Updated: 2:wbt-virtual-server-theme-8.7-1.noarch

Always same error : HTTP/1.0 500 Perl execution failed Server: MiniServ/1.585 Date: Tue, 19 Nov 2013 07:09:38 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close Error - Perl execution failed

Undefined subroutine &virtual_server::ui_alert_box called at /usr/libexec/webmin/virtual-server/virtual-server-lib-funcs.pl line 10177.

My system is : CentOS release 5.10 (Final) Kernel 2.6.18-371.1.2.el5xen on an i686

Any idea why this happen ?

Thank You

jck

Tue, 01/07/2014 - 16:44
alexeames

I've got a similar situation on a Centos virtual server

I updated some packages successfully, virtualmin then offered me 3 more. One of these was PERL related, but i thought I'd do them later.

Next I clicked the System Information link and got...

HTTP/1.0 500 Perl execution failed Server: MiniServ/1.600 Date: Tue, 7 Jan 2014 22:23:57 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close Error - Perl execution failed

Undefined subroutine &virtual_server::ui_alert_box called at /usr/libexec/webmin/virtual-server/virtual-server-lib-funcs.pl line 10292

It also happens when I log in. Although most other stuff seems to still work.

Any idea what I can do to fix it?

I tried...

yum install wbt-virtual-server-theme

/etc/init.d/webmin restart

..but it didn't help. :(

Sat, 06/25/2016 - 00:59 (Reply to #11)
emind

I have the same problem ...i think its something to do with a perl script! I cant even get onto the main webmin/virtualmin browser page ... its just blank. Ive reinstalled the theme from another vps running webmin/virtualmin and it still does the same thing ... blank screen. I tried some of the other themes ... which all partly worked, but none of the themes would show the virtualmin link. This is so frustrating ...it all started when i did module updates .. but I cant remember what modules i updated now. I tried all of the above ideas but none of them worked ! Im just lost now ! was hoping there would be some way around it ... but obvioulsy there isnt! looks like ill just have to erase the whole server and start again ... months of work lost!

Sat, 06/25/2016 - 17:47 (Reply to #12)
Joe
Joe's picture

First up: Reinstalling is a really extreme way to solve a simple dependency problem.

Next up: This thread is several years old. I'm absolutely certain you have a different problem. All sorts of things can lead to a Perl execution error.

It usually happens when you have an old version of Webmin with a new version of Virtualmin, or an old version of Virtualmin/Webmin with new plugin modules. Errors that look like this usually mean a function has been added to Webmin or Virtualmin to support new features...but, you don't have that new version, so the new module can't find it.

All that said, don't go doing something drastic like starting from scratch.

If you have Virtualmin Professional, we can help you sort it out; just open a ticket in the support tracker.

If you're running GPL, you can ask for more help here in the forum by starting a new thread (I'm certain your problem isn't the same as this one, as this problem was fixed ages ago, so it needs a new discussion). You need to include your OS/version, the exact error message you see, and the version of Webmin, Virtualmin, and modules you have (if the error is in a module). The theme version may also be relevant, if you're getting a blank screen rather than an error. The /var/webmin/miniserv.error log file may also have useful information.

--

Check out the forum guidelines!

Sat, 06/25/2016 - 18:38
andreychek

There's actually a bug in the current Webmin version (or is it Virtualmin version, I'm not quite sure), that can cause the initial screen to appear blank if there's a particular config error.

Take a look in /etc/webmin/virtual-server/domains... there, each file should have a line that looks something like "dom=example.com".

If that line is missing for any of the files there, that can cause the problem you're seeing.

Try moving that file elsewhere, restart Webmin, and see if you're then able to use it properly.

-Eric

Topic locked