Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3997 Undefined subroutine error in apache-lib.pl

1.560
open
Jamie Cameron
5
2011-09-30
2011-09-30
mpp4manu
No

I’m getting the following in the Webmin.log:

Error: Require apache/apache-lib.pl failed: Undefined subroutine &WebminCore::init_config called at /opt/webmin/apache/apache-lib.pl line 12.

I’m running 1.560 on a Solaris 10 server.

I was getting other similar messages for the status module and I added some require statements point to /opt/webmin/web-lib-funcs.pl, which seemed to help.

Not sure what’s going on, could be user error, but thought you might like to know.

Discussion

  • Jamie Cameron
    Jamie Cameron
    2011-09-30

    That is very odd, as init_config is a core function.

    Are you running Webmin via its built-in webserver on port 10000, or are you trying to run it under Apache?