Announcement

Collapse
No announcement yet.

Problem with apache2

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment


    • #3
      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???

      Comment


      • #4
        That depends on what Yast did to that file

        Comment


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

          Comment


          • #6
            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.

            Comment


            • #7
              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, 10:48 PM.

              Comment


              • #8
                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
                #

                Comment

                Working...
                X