Latest Update got "Error - Perl execution failed"

15 posts / 0 new
Last post
#1 Tue, 03/31/2009 - 17:34
riosrios

Latest Update got "Error - Perl execution failed"

Just made the update

usermin A web-based user account administration interface 1.400-1 ust-virtual-server-theme Usermin theme 'Virtualmin Framed Theme' 6.8-1 wbm-php-pear Webmin module for 'PHP Pear Modules' 1.5-1 wbm-ruby-gems Webmin module for 'Ruby GEMS' 1.4-1 wbm-security-updates Webmin module for 'Virtualmin Package Updates' 3.4-1 wbm-virtual-server Webmin module for 'Virtualmin Virtual Servers (GPL)' 3.67.gpl-1 wbm-virtualmin-awstats Webmin module for 'AWstats Reporting' 4.0-1 wbm-virtualmin-dav Webmin module for 'Virtualmin DAV' 3.0-1 wbm-virtualmin-htpasswd Webmin module for 'Virtualmin Protected Directories' 2.0-1 wbm-virtualmin-init Webmin module for 'Virtualmin Bootup Actions' 2.1-1 wbm-virtualmin-mailman Webmin module for 'Virtualmin Mailman Mailing Lists' 5.4-1 wbm-virtualmin-registrar Webmin module for 'Virtualmin Domain Registration' 1.9-1 wbm-virtualmin-svn Webmin module for 'Virtualmin Subversion Repositories' 4.1-1 wbt-virtual-server-mobile Webmin theme 'Virtualmin Mobile Theme' 2.1-1 wbt-virtual-server-theme Webmin theme 'Virtualmin Framed Theme' 6.8-1 webmin A web-based administration interface for Unix systems. 1.470-1

after that, there is one fail, but i forgot which one.....LOL

and I got the error msg as below

HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Wed, 1 Apr 2009 02:32:30 GMT Content-type: text/html Connection: close Error - Perl execution failed

Undefined subroutine &main::get_module_name called at /usr/libexec/webmin/virtual-server-theme/theme.pl line 237. When I go to the System Information page, I got the error below

Error - Perl execution failed Undefined subroutine &main::init_config called at /usr/libexec/webmin/virtual-server-theme/virtual-server-theme-lib.pl line 8.

Compilation failed in require at /usr/libexec/webmin/virtual-server-theme/right.cgi line 4.

Can anyone help?

Thanks

Tue, 03/31/2009 - 17:45
andreychek

What theme are you using? Is your account by chance setup to use a theme other than the standard "Virtualmin framed theme"?
-Eric

Tue, 03/31/2009 - 18:09 (Reply to #2)
riosrios

<b>andreychek wrote:</b>
<div class='quote'>What theme are you using? Is your account by chance setup to use a theme other than the standard &quot;Virtualmin framed theme&quot;?
-Eric</div>
I can't do any setting in the Virtualmin. Every page I got the error msg..........

any othe way can change the theme beside using the web interface? maybe commandline?

Thanks anyway

Tue, 03/31/2009 - 18:13 (Reply to #3)
andreychek

What do you see if you log in over SSH, and type this on the command line:

grep theme /etc/webmin/*

Tue, 03/31/2009 - 18:43 (Reply to #4)
riosrios

I got this

=======================================
/etc/webmin/config:mobile_theme=virtual-server-mobile
/etc/webmin/config:theme=virtual-server-theme
/etc/webmin/miniserv.conf:preroot=virtual-server-theme
/etc/webmin/module.infos.cache:cluster-usermin longdesc=Install and manage modul es and themes across multiple Usermin servers.
/etc/webmin/module.infos.cache:webmin longdesc=Configure Webmin itself, such as allowed hosts, SSL, installed modules and themes.
/etc/webmin/module.infos.cache:change-user longdesc=Allows the current Webmin us er to change his language, theme and possibly password.
/etc/webmin/module.infos.cache:cluster-webmin longdesc=Install and manage module s, themes, users, groups and access control settings across multiple Webmin serv ers.
/etc/webmin/NYPD.acl:theme=1
=======================================

any idea??

Thanks

Tue, 03/31/2009 - 18:48 (Reply to #5)
andreychek

Hrm, can you verify what version of the Virtual Server theme you have installed?

That's either going to be &quot;rpm -qa | grep wbt-virtual-server-theme&quot; or &quot;dpkg -l 'wbt-virtual-server-theme'&quot; depending on your distro.
-Eric

Tue, 03/31/2009 - 19:33 (Reply to #6)
riosrios

<b>riosrios wrote:</b>
<div class='quote'><b>andreychek wrote:</b>
<div class='quote'>What theme are you using? Is your account by chance setup to use a theme other than the standard &quot;Virtualmin framed theme&quot;?
-Eric</div>
I can't do any setting in the Virtualmin. Every page I got the error msg..........

any othe way can change the theme beside using the web interface? maybe commandline?

Thanks anyway</div>
thanks for the quick respone

my theme version is

wbt-virtual-server-theme-6.8-1

Tue, 03/31/2009 - 19:37 (Reply to #7)
andreychek

Okay, here's what I'd do.

Using the command line, I'd see if restarting Webmin resolves the issue you're seeing:

/etc/init.d/webmin restart

If that doesn't fix it, go ahead and file a bug report, as that may be something Jamie needs to look into.

Thanks,
-Eric

Tue, 03/31/2009 - 19:46 (Reply to #8)
riosrios

<b>riosrios wrote:</b>
<div class='quote'><b>andreychek wrote:</b>
<div class='quote'>What theme are you using? Is your account by chance setup to use a theme other than the standard &quot;Virtualmin framed theme&quot;?
-Eric</div>
I can't do any setting in the Virtualmin. Every page I got the error msg..........

any othe way can change the theme beside using the web interface? maybe commandline?

Thanks anyway</div>
tried......but still error.......

thanks

Thu, 04/02/2009 - 20:56 (Reply to #9)
riosrios

<b>andreychek wrote:</b>
<div class='quote'>What theme are you using? Is your account by chance setup to use a theme other than the standard &quot;Virtualmin framed theme&quot;?
-Eric</div>

Thanks a lot

Thu, 04/02/2009 - 21:34 (Reply to #10)
sadm

Have the same problem, using virtual-server-theme:

HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Fri, 3 Apr 2009 06:34:07 GMT Content-type: text/html Connection: close
Error - Perl execution failed

Undefined subroutine &amp;main::get_module_name called at /usr/libexec/webmin/virtual-server-theme/theme.pl line 237.

Please help us

Thu, 04/02/2009 - 23:22 (Reply to #11)
Joe
Joe's picture

Are you sure you're running version 1.470 of Webmin?

--

Check out the forum guidelines!

Thu, 04/02/2009 - 17:21
riosrios

sorry, anyone could help???

Thu, 04/02/2009 - 19:34 (Reply to #13)
andreychek

Howdy,

Yeah, as I mentioned above, I'd recommend filing a bug report. I'm not quite sure what the issue there is, but in case it's related to the theme itself, it's probably worth getting Jamie to take a quick peek.
-Eric

Fri, 07/03/2009 - 19:49
xzone9

I had a similar problem when trying to open the AWStats module. The problem stated line 101 which was this: my $module_name = &get_module_name();

I was not quite sure why it couldn't find the module name but I think there is a bug in an update and it's looking for the theme but maybe misspelled or something.

I changed the theme to something different, afterward the AWStats module came up correctly and I was able to modify, add entries.

Hope this helps in some way.

Topic locked