Problems while running apache HTTP server 2.4

No tags yet.

started at 31 Mar 2012 by aurora72
  • aurora72
    31 Mar 2012

    Hello

    I've sucessully done configure&compile&install of apache HTTP server 2.4. (By manually adding apr and apr-util sources into ./srclib)

    However after
    # /usr/local/apache2/bin/apachectl start

    I've come across a series of runtime errors such as

    Syntax error on line 84 of /etc/httpd/httpd.conf: Cannot load /usr/local/apache2/modules/mod_ident.so into server: dlopen(/usr/local/apache2/modules/mod_ident.so, 10): Symbol not found: _ap_log_error\n Referenced from: /usr/local/apache2/modules/mod_ident.so\n Expected in: flat namespace\n in /usr/local/apache2/modules/mod_ident.so

    I had this kind of error in those lines of /etc/httpd/httpd.conf

    109, 126,81, 64, 58 and I've uncommented those lines to make httpd run.

    However after that, I've come across this:

    Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration

    According to http://httpd.apache.org/docs/2.4/upgrading.html that error pertains to mod_unixd. Does that mean I have to manually add unixd module?

    And are all these problems normal for apache HTTP server 2.4? Is it worth upgrading to 2.4?

    Thanks.

  • Richard
    31 Mar 2012

    Hi, please check the following posts in the blog to find the explanation on how to compile 2.4.1 on the Mac

    http://diymacserver.com/2012/03/05/apache-update-to-2-4-1/ and
    http://diymacserver.com/2012/03/30/follow-up-on-apache-2-4-1-xcode-4-3-2/

  • aurora72
    01 Apr 2012

    Applying the first httpd.conf modification has helped: Removin the 7 lines with 'proxy' I 'm finally able to see httpd up and running on Activity Manager. That's fine. I could not see the 'proxy_express_module' in my .conf file though. And I achieved this result without doing anything about 'PCRE' Maybe it was not needed for my purpose. Things are OK now, thanks.

Topic Closed

This topic has been closed to new replies.