0 Replies Latest reply on Mar 27, 2015 9:08 AM by valsaraj viswanathan

    Issue with mod_cluster in CentOS

    valsaraj viswanathan Master

      Hi,

       

      I have added mod_cluster modules to already installed HTTPD 2.4.4 on CentOS 6. After fixing some bugs I am able to access mod_cluster_manager but it is showing Status: NOTOK.

       

      Versions are:

      mod_cluster/1.3.1.Beta2

      WildFly-8.2

      HTTPD 2.4.4

      CentOS 6

       

      Here is the errors noticed in the logs:

      HTTPD log:

      (111)Connection refused: AH00957: ajp: attempt to connect to 192.168.0.30:12334 (192.168.0.30) failed

      [proxy:error] [pid 57358:tid 140549438826240] AH00959: ap_proxy_connect_backend disabling worker for (192.168.0.30) for 60s

      [proxy:error] [pid 57358:tid 140549581551360] AH00940: ajp: disabled connection for (192.168.0.30)

       

       

       

       

      JBoss log:

      ERROR [org.jboss.modcluster] (UndertowEventHandlerAdapter - 1) MODCLUSTER000042: Error MEM sending STATUS command to test.com/192.168.0.30:10001, configuration will be reset: MEM: Can't read node

       

      Here is the configuration:

      LoadModule proxy_module modules/mod_proxy.so

      LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

      LoadModule proxy_http_module modules/mod_proxy_http.so

       

       

      LoadModule proxy_cluster_module modules/mod_proxy_cluster.so

       

       

      LoadModule manager_module modules/mod_manager.so

      LoadModule advertise_module modules/mod_advertise.so

      LoadModule cluster_slotmem_module modules/mod_slotmem.so

       

       

      # MOD_CLUSTER_ADDS

      # Adjust to you hostname and subnet.

      <IfModule manager_module>

        Listen 192.168.0.30:10001

        ManagerBalancerName ltchiebalancer

        <VirtualHost 192.168.0.30:10001>

        

      <Location />

           Order deny,allow

           Deny from all

           Allow from 192.168.0.

           Require all granted 

          </Location>

       

       

       

          KeepAliveTimeout 300

          MaxKeepAliveRequests 0

          AdvertiseFrequency 5

          EnableMCPMReceive

       

       

       

          <Location /mod_cluster_manager>

             SetHandler mod_cluster-manager

             Order deny,allow

             Deny from all

             Allow from 192.168.0.

             Require all granted 

          </Location>

       

       

       

        </VirtualHost>

      </IfModule>

       

      What may be wrong?

       

      Thanks!