Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 8 of 8
  1. #1

    Default Problem with apache2

    Hi,

    I have a new problem if I want restart apache2:

    Code:
    Starting httpd2 (prefork) httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 28 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib/apache2-prefork/mod_proxy_ajp.so into server: /usr/lib/apache2-prefork/mod_proxy_ajp.so: undefined symbol: proxy_module
    
    The command line was:
    /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
                                                                          failed
    Where is the problem and have anybody a solution for me?

    Thanks.

  2. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    the problem is that the module mod_proxy_ajp cannot be loaded, could it me that the module is not compatible with apache? Some kind of mixed-up installation, i have never seen this before.

  3. #3

    Default

    For a while all runs fine, but the connect from Client to Server dosn't work.
    Today I open the file proxy_ajp.conf and with yast the http-Server-config, and now I get this Problem, but nothing is changed???

  4. #4
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    That depends on what Yast did to that file

  5. #5

    Unhappy

    Yes, it's right, but I'm still without a solution. :-(

  6. #6
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    could you please check /etc/apache2/sysconfig.d/loadmodule.conf if there is any reference to load module_proxy? It seems this module is not loading and therefor proxy_ajp cannot load.
    You must _first_ load mod_proxy, then proxy_ajp - the order is important in this case.

    Also see: https://bugzilla.redhat.com/show_bug.cgi?id=478454


    Greetings.

  7. #7

    Default

    Now I've changed the modul...

    Code:
    #
    # Files in this directory are created at apache start time by /usr/sbin/rcapache2 
    # Do not edit them!
    #
    
    # as listed in APACHE_MODULES (/etc/sysconfig/apache2)
    
    LoadModule authz_host_module              /usr/lib/apache2-prefork/mod_authz_host.so
    LoadModule actions_module                 /usr/lib/apache2-prefork/mod_actions.so
    LoadModule alias_module                   /usr/lib/apache2-prefork/mod_alias.so
    LoadModule auth_basic_module              /usr/lib/apache2-prefork/mod_auth_basic.so
    LoadModule authz_groupfile_module         /usr/lib/apache2-prefork/mod_authz_groupfile.so
    LoadModule authn_file_module              /usr/lib/apache2-prefork/mod_authn_file.so
    LoadModule authz_user_module              /usr/lib/apache2-prefork/mod_authz_user.so
    LoadModule autoindex_module               /usr/lib/apache2-prefork/mod_autoindex.so
    LoadModule cgi_module                     /usr/lib/apache2-prefork/mod_cgi.so
    LoadModule dir_module                     /usr/lib/apache2-prefork/mod_dir.so
    LoadModule expires_module                 /usr/lib/apache2-prefork/mod_expires.so
    LoadModule include_module                 /usr/lib/apache2-prefork/mod_include.so
    LoadModule log_config_module              /usr/lib/apache2-prefork/mod_log_config.so
    LoadModule mime_module                    /usr/lib/apache2-prefork/mod_mime.so
    LoadModule negotiation_module             /usr/lib/apache2-prefork/mod_negotiation.so
    LoadModule setenvif_module                /usr/lib/apache2-prefork/mod_setenvif.so
    LoadModule status_module                  /usr/lib/apache2-prefork/mod_status.so
    LoadModule userdir_module                 /usr/lib/apache2-prefork/mod_userdir.so
    LoadModule asis_module                    /usr/lib/apache2-prefork/mod_asis.so
    LoadModule deflate_module                 /usr/lib/apache2-prefork/mod_deflate.so
    LoadModule headers_module                 /usr/lib/apache2-prefork/mod_headers.so
    LoadModule imagemap_module                /usr/lib/apache2-prefork/mod_imagemap.so
    LoadModule ssl_module                     /usr/lib/apache2-prefork/mod_ssl.so
    LoadModule authz_default_module           /usr/lib/apache2-prefork/mod_authz_default.so
    LoadModule proxy_module                   /usr/lib/apache2-prefork/mod_proxy.so
    LoadModule proxy_ajp_module               /usr/lib/apache2-prefork/mod_proxy_ajp.so
    
    #

    ...but I get the same error.

    And if reboot my system, it change it back???
    Last edited by MrBean06; 02-02-2009 at 10:48 PM.

  8. #8

    Default

    Now I've added the module proxy_balancer and the apache rechanged the loadmodule.conf and all works fine.

    Thanks for help.

    Code:
    #
    # Files in this directory are created at apache start time by /usr/sbin/rcapache2 
    # Do not edit them!
    #
    
    # as listed in APACHE_MODULES (/etc/sysconfig/apache2)
    
    LoadModule authz_host_module              /usr/lib/apache2-prefork/mod_authz_host.so
    LoadModule actions_module                 /usr/lib/apache2-prefork/mod_actions.so
    LoadModule alias_module                   /usr/lib/apache2-prefork/mod_alias.so
    LoadModule auth_basic_module              /usr/lib/apache2-prefork/mod_auth_basic.so
    LoadModule authz_groupfile_module         /usr/lib/apache2-prefork/mod_authz_groupfile.so
    LoadModule authn_file_module              /usr/lib/apache2-prefork/mod_authn_file.so
    LoadModule authz_user_module              /usr/lib/apache2-prefork/mod_authz_user.so
    LoadModule autoindex_module               /usr/lib/apache2-prefork/mod_autoindex.so
    LoadModule cgi_module                     /usr/lib/apache2-prefork/mod_cgi.so
    LoadModule dir_module                     /usr/lib/apache2-prefork/mod_dir.so
    LoadModule expires_module                 /usr/lib/apache2-prefork/mod_expires.so
    LoadModule include_module                 /usr/lib/apache2-prefork/mod_include.so
    LoadModule log_config_module              /usr/lib/apache2-prefork/mod_log_config.so
    LoadModule mime_module                    /usr/lib/apache2-prefork/mod_mime.so
    LoadModule negotiation_module             /usr/lib/apache2-prefork/mod_negotiation.so
    LoadModule setenvif_module                /usr/lib/apache2-prefork/mod_setenvif.so
    LoadModule status_module                  /usr/lib/apache2-prefork/mod_status.so
    LoadModule userdir_module                 /usr/lib/apache2-prefork/mod_userdir.so
    LoadModule asis_module                    /usr/lib/apache2-prefork/mod_asis.so
    LoadModule deflate_module                 /usr/lib/apache2-prefork/mod_deflate.so
    LoadModule headers_module                 /usr/lib/apache2-prefork/mod_headers.so
    LoadModule imagemap_module                /usr/lib/apache2-prefork/mod_imagemap.so
    LoadModule proxy_module                   /usr/lib/apache2-prefork/mod_proxy.so
    LoadModule ssl_module                     /usr/lib/apache2-prefork/mod_ssl.so
    LoadModule authz_default_module           /usr/lib/apache2-prefork/mod_authz_default.so
    LoadModule proxy_ajp_module               /usr/lib/apache2-prefork/mod_proxy_ajp.so
    LoadModule proxy_balancer_module          /usr/lib/apache2-prefork/mod_proxy_balancer.so
    #

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •