Hi,
I just updated to the new version 1.640 and now I can't use the Apache Module any more. I get the following error:
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.640 Date: Wed, 14 Aug 2013 07:20:46 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Undefined subroutine &apache::autoindex_directives called at ./apache-lib.pl line 1114.
Until the update from webmin 1.630 to 1.640 everything worked fine (as far as I could see).
I'm running webmin under Debian 6 (Linux kernel version 2.6.32-5), Apache 2.2.6, Perl 5.10.1
Is there a fix? Can I downgrade webmin to 1.630?
Greetings,
Ingo.
Hi, me too.
I've apache CentOS 6.4, Apache 2.2.15 and after 1.640 update I cannot use anymore Apache Module.
The Existing Virtual Host tab doesn't show anymore my virtual host and the Global configuration tab display the same error as reported by Ingo.
I can confirm this on Ubuntu Linux 12.04.2.
Worked perfectly before upgrade.
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.640 Date: Wed, 14 Aug 2013 10:05:53 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Undefined subroutine &apache::autoindex_directives called at ./apache-lib.pl line 1114.
More reports here as well: https://sourceforge.net/p/webadmin/discussion/600155/thread/dcebd124/
I have the same issue and have looked in deeper to this.
In the /usr/share/webmin/apache/apache-lib.pl file it is the single line, 1114 "foreach $e (&$func($httpd_modules{$m})) {", that has caused this issue.
This line is part of the "config_icons" routine for the module. Commenting out this line and its closing "}" restores some functionality in the module.
However, when going into configuration of a virtual server, no/few icons appear.
I am looking into what the issue is with the line to try and find the resolution.
Cheers, Dan.
Hello. Have the same problem.
System Logs NG module seems to be affected too when viewing Apache Logs.
For a workaround fix, downgrade to 1.630.
Instructions:
The installation will happen and the module will work fine again.
Please contact me for any help. dan.searle@me.com
Thanks, Dan.
Thanks Dan for this workaround!
The downgraded Version seems to work fine.
Greetings from Germany,
Ingo.
doesnt work. Ubuntu 12.04
Any chance to get a quick fix without downgrading?
I've installed webmin via yum package, I'm afraid downgrading that way could cause some trouble in the rpm db.
Not as of yet. I am still working on fixing this problem.
The only other workaround without downgrading is to manually configure apache.
As I have absolutely nothing to do with Webmin or its creation, I am trying to learn how the modules and subroutines link together with other configurations and without references its quite hard, as you can imagine.
Thats it for now im afraid :/
Dan.
Please contact me for any help. dan.searle@me.com
This is due to a bug in Webmin 1.640 that is triggered by a certain combination of Apache modules and Apache version. A fixed module is now available for download from http://www.webmin.com/updates.html , and a prompt to install that same update should appear on the System Information page in Webmin shortly.
The specific fix can also be seen at : https://github.com/webmin/webmin/commit/53cec06f7cee34681336140d24c957a9703819b1
We will likely release a new minor version of Webmin shortly that also incorporates this fix.
Oh. Thanks.
After update the module download from http://www.webmin.com/updates.html it's working fine now.
Thank you very much Jamie! It worked perfectly!
I've used the direct button inside System Information panel of Webmin itself.
Last edit: Andrea Carolfi 2013-08-15
does work ubuntu 12.04
For other users seeing this - a fix is available from http://www.webmin.com/updates.html
have the same..
thank you very much for the prompt bug fix!
I am on version 1.70 and when I try to browse directories, I get the following errors:
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.700 Date: Wed, 13 Aug 2014 02:22:47 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Undefined subroutine &main::quote_javascript called at /usr/share/webmin/chooser.cgi line 192.
I need help to fix this problem. Thanks!
Stan ... this is a bug in the new Webmin release. I will likely release a new minor version with a fix shortly, but the code change needed to fix it can be seen at https://github.com/webmin/webmin/commit/4c33960f99cf54826766b159e044bf7046959572
Fresh install of 1.700 on 14.04 32. Broken
Upgraded to 1.701, working
Last edit: oldestxbox 2014-08-17
FYI, anyone who is seeing this error can get the 1.701 development version from http://www.webmin.com/devel.html that includes a fix.