Apache http started, but not accesible

Discussion in 'Apache' started by chithu21, Aug 30, 2013.

  1. #1
    Hi,
    I was trying to set up a JBoss cluster with the help of apache httpd mod cluster in windows.I was able to start the apache using the command 'httpd.exe'. But when I tried to access it using localhost:6666/mod_cluster_manager , the page was not accessible.

    I have the entry 127.0.0.1 localhost in my hosts file.

    The http.conf contains lines as given below:

    # MOD_CLUSTER_ADDS
    # Adjust to you hostname and subnet.
    <IfModule manager_module>
    Listen 127.0.0.1:6666
    ManagerBalancerName mycluster
    <VirtualHost 127.0.0.1:6666>
    <Location />
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    </Location>

    KeepAliveTimeout 300
    MaxKeepAliveRequests 0
    AdvertiseFrequency 5
    #AdvertiseSecurityKey secret
    #AdvertiseGroup @@ADVIP@@:23364
    EnableMCPMReceive

    <Location /mod_cluster_manager>
    SetHandler mod_cluster-manager
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    </Location>

    </VirtualHost>
    </IfModule>


    Can anyone please help me?
     
    chithu21, Aug 30, 2013 IP
  2. badhim

    badhim Member

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #2
    Have you checked the Apache logs? There should be some error message.
    Also make sure that all libraries required for mod_cluster are loading in httpd.conf:

    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule slotmem_module modules/mod_slotmem.so
    LoadModule manager_module modules/mod_manager.so
    LoadModule proxy_cluster_module modules/mod_proxy_cluster.so
    LoadModule advertise_module modules/mod_advertise.so
     
    badhim, Aug 30, 2013 IP
  3. chithu21

    chithu21 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    Hi,
    My logs says they are already loaded....
    [Fri Aug 30 16:19:55 2013] [warn] module proxy_module is already loaded, skipping
    [Fri Aug 30 16:19:55 2013] [warn] module proxy_ajp_module is already loaded, skipping
    [Fri Aug 30 16:19:55 2013] [warn] module proxy_http_module is already loaded, skipping
    [Fri Aug 30 16:19:55 2013] [warn] module proxy_cluster_module is already loaded, skipping
    [Fri Aug 30 16:19:55 2013] [warn] module manager_module is already loaded, skipping
    [Fri Aug 30 16:19:55 2013] [warn] module slotmem_module is already loaded, skipping
    [Fri Aug 30 16:19:55 2013] [warn] module advertise_module is already loaded, skipping
    [Fri Aug 30 16:19:55 2013] [notice] Digest: generating secret for digest authentication ..
     
    chithu21, Sep 1, 2013 IP