#4276 Apache Configuration modul in webmin 1.640 failure

Other
open
nobody
None
5
2014-08-31
2013-08-14
Ingo Fuss
No

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.

Discussion

  • Andrea Carolfi

    Andrea Carolfi - 2013-08-14

    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.

     
  • Gary Barnes

    Gary Barnes - 2013-08-14

    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.

     
  • Dan Searle

    Dan Searle - 2013-08-14

    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.

     
  • Odd Holstensson

    Odd Holstensson - 2013-08-14

    Hello. Have the same problem.

    System Logs NG module seems to be affected too when viewing Apache Logs.

     
  • Dan Searle

    Dan Searle - 2013-08-14

    For a workaround fix, downgrade to 1.630.

    Instructions:
    1. open terminal and paste (without quotes) 'wget https://downloads.sourceforge.net/project/webadmin/webmin/1.630/webmin_1.630_all.deb
    2. Open Webmin in your browser and create a backup of all configuration, just encase.
    3. Then browse to 'Webmin Configuration'
    4. Then 'Upgrade Webmin'
    5. Chose local file and type/find the file path and select 'Upgrade even if new version is the same or older?'

    The installation will happen and the module will work fine again.

    Please contact me for any help. dan.searle@me.com

    Thanks, Dan.

     
    • Ingo Fuss

      Ingo Fuss - 2013-08-14

      Thanks Dan for this workaround!
      The downgraded Version seems to work fine.

      Greetings from Germany,
      Ingo.

       
    • Chris

      Chris - 2013-08-16

      doesnt work. Ubuntu 12.04

       
  • Andrea Carolfi

    Andrea Carolfi - 2013-08-14

    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.

     
  • Dan Searle

    Dan Searle - 2013-08-14

    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

     
  • Jamie Cameron

    Jamie Cameron - 2013-08-14

    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.

     
  • Andrea Carolfi

    Andrea Carolfi - 2013-08-15

    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
  • Chris

    Chris - 2013-08-16

    does work ubuntu 12.04

     
  • Andre verwijs

    Andre verwijs - 2013-08-16

    have the same..

     
  • Steven Page

    Steven Page - 2013-08-18

    thank you very much for the prompt bug fix!

     
  • Stan Omoregie

    Stan Omoregie - 2014-08-13
    Post awaiting moderation.
  • oldestxbox

    oldestxbox - 2014-08-17

    Fresh install of 1.700 on 14.04 32. Broken
    Upgraded to 1.701, working

     
    Last edit: oldestxbox 2014-08-17
  • Jamie Cameron

    Jamie Cameron - 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.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks