1

嗨,我正在尝试mod_cluster使用jboss AS 6.1. 我的集群工作正常。但我尝试查看/mod_cluster-manager页面它给了我页面未找到错误。Apache 已启动并正在运行,我看到了It works!页面。

Mod_cluster 版本mod_cluster-1.2.0。这是我尝试访问和获取的 url 404 errorhttp://localhost/mod_cluster-manager

阿帕奇运行port 80

这是我的httpd.conf文件片段。

 <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
</IfModule>

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 slotmem_module modules/mod_slotmem.so
LoadModule advertise_module modules/mod_advertise.so

# 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>
    <Directory />
     Order deny,allow
     Deny from all
     Allow from 127.0.0

    </Directory>

    KeepAliveTimeout 300
    MaxKeepAliveRequests 0
    #ServerAdvertise on http://127.0.0.1:6666
    AdvertiseFrequency 5
    #AdvertiseSecurityKey secret
    #AdvertiseGroup 224.0.1.105:23364
    EnableMCPMReceive

    <Location /mod_cluster-manager>
       SetHandler mod_cluster-manager
       Order deny,allow
       Deny from all
       Allow from 127.0.0
       AllowDisplay On
    </Location>

  </VirtualHost>
</IfModule>

阿帕奇error_log

[Wed Nov 27 10:56:16 2013] [notice] Parent: Received restart signal -- Restarting the server.
[Wed Nov 27 10:56:16 2013] [notice] Child 2828: Exit event signaled. Child process is ending.
[Wed Nov 27 10:56:16 2013] [info] Child 2828: Accept thread exiting.
[Wed Nov 27 10:56:17 2013] [notice] Advertise initialized for process 1940
[Wed Nov 27 10:56:17 2013] [notice] Apache/2.2.21 (Win32) mod_cluster/1.2.0.Final configured -- resuming normal operations
[Wed Nov 27 10:56:17 2013] [notice] Server built: Feb  9 2012 22:24:33
[Wed Nov 27 10:56:17 2013] [notice] Parent: Created child process 6012
[Wed Nov 27 10:56:17 2013] [debug] mpm_winnt.c(477): Parent: Sent the scoreboard to the child
[Wed Nov 27 10:56:17 2013] [debug] mod_advertise.c(577): [6012 - 1940] in child post config hook
[Wed Nov 27 10:56:17 2013] [notice] Child 6012: Child process is running
[Wed Nov 27 10:56:17 2013] [info] Parent: Duplicating socket 200 and sending it to child process 6012
[Wed Nov 27 10:56:17 2013] [debug] mpm_winnt.c(398): Child 6012: Retrieved our scoreboard from the parent.
[Wed Nov 27 10:56:17 2013] [info] Parent: Duplicating socket 196 and sending it to child process 6012
[Wed Nov 27 10:56:17 2013] [debug] mpm_winnt.c(595): Parent: Sent 2 listeners to child 6012
[Wed Nov 27 10:56:17 2013] [debug] mpm_winnt.c(554): Child 6012: retrieved 2 listeners from parent
[Wed Nov 27 10:56:17 2013] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 6012 for worker proxy:reverse
[Wed Nov 27 10:56:17 2013] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Wed Nov 27 10:56:17 2013] [debug] proxy_util.c(1914): proxy: initialized worker 0 in child 6012 for (*) min=0 max=64 smax=64
[Wed Nov 27 10:56:17 2013] [info] Child 2828: Accept thread exiting.
[Wed Nov 27 10:56:17 2013] [notice] Child 2828: Released the start mutex
[Wed Nov 27 10:56:17 2013] [notice] Child 6012: Acquired the start mutex.
[Wed Nov 27 10:56:17 2013] [info] Child 2828: 64 threads blocked on the completion port
[Wed Nov 27 10:56:17 2013] [notice] Child 6012: Starting 64 worker threads.
[Wed Nov 27 10:56:17 2013] [notice] Child 6012: Starting thread to listen on port 6666.
[Wed Nov 27 10:56:17 2013] [notice] Child 6012: Starting thread to listen on port 80.
[Wed Nov 27 10:56:18 2013] [debug] mod_proxy_cluster.c(678): update_workers_node starting
[Wed Nov 27 10:56:18 2013] [debug] mod_proxy_cluster.c(693): update_workers_node done
[Wed Nov 27 10:56:18 2013] [debug] mod_proxy_cluster.c(678): update_workers_node starting
[Wed Nov 27 10:56:18 2013] [debug] mod_proxy_cluster.c(693): update_workers_node done
[Wed Nov 27 10:56:18 2013] [notice] Child 2828: All worker threads have exited.
[Wed Nov 27 10:56:18 2013] [notice] Child 2828: Child process is exiting
[Wed Nov 27 10:56:44 2013] [notice] Parent: Received restart signal -- Restarting the server.
[Wed Nov 27 10:56:44 2013] [notice] Child 6012: Exit event signaled. Child process is ending.
[Wed Nov 27 10:56:44 2013] [info] Child 6012: Accept thread exiting.
[Wed Nov 27 10:56:44 2013] [info] Child 6012: Accept thread exiting.
[Wed Nov 27 10:56:44 2013] [notice] Advertise initialized for process 1940
[Wed Nov 27 10:56:44 2013] [notice] Apache/2.2.21 (Win32) mod_cluster/1.2.0.Final configured -- resuming normal operations
[Wed Nov 27 10:56:44 2013] [notice] Server built: Feb  9 2012 22:24:33
[Wed Nov 27 10:56:44 2013] [notice] Parent: Created child process 6452
[Wed Nov 27 10:56:44 2013] [debug] mpm_winnt.c(477): Parent: Sent the scoreboard to the child
[Wed Nov 27 10:56:45 2013] [debug] mod_advertise.c(577): [6452 - 1940] in child post config hook
[Wed Nov 27 10:56:45 2013] [notice] Child 6452: Child process is running
[Wed Nov 27 10:56:45 2013] [debug] mpm_winnt.c(398): Child 6452: Retrieved our scoreboard from the parent.
[Wed Nov 27 10:56:45 2013] [info] Parent: Duplicating socket 200 and sending it to child process 6452
[Wed Nov 27 10:56:45 2013] [info] Parent: Duplicating socket 196 and sending it to child process 6452
[Wed Nov 27 10:56:45 2013] [debug] mpm_winnt.c(595): Parent: Sent 2 listeners to child 6452
[Wed Nov 27 10:56:45 2013] [debug] mpm_winnt.c(554): Child 6452: retrieved 2 listeners from parent
[Wed Nov 27 10:56:45 2013] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 6452 for worker proxy:reverse
[Wed Nov 27 10:56:45 2013] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Wed Nov 27 10:56:45 2013] [debug] proxy_util.c(1914): proxy: initialized worker 0 in child 6452 for (*) min=0 max=64 smax=64
[Wed Nov 27 10:56:45 2013] [notice] Child 6452: Acquired the start mutex.
[Wed Nov 27 10:56:45 2013] [notice] Child 6452: Starting 64 worker threads.
[Wed Nov 27 10:56:45 2013] [notice] Child 6012: Released the start mutex
[Wed Nov 27 10:56:45 2013] [info] Child 6012: 64 threads blocked on the completion port
[Wed Nov 27 10:56:46 2013] [debug] mod_proxy_cluster.c(678): update_workers_node starting
[Wed Nov 27 10:56:46 2013] [debug] mod_proxy_cluster.c(693): update_workers_node done
[Wed Nov 27 10:56:46 2013] [debug] mod_proxy_cluster.c(678): update_workers_node starting
[Wed Nov 27 10:56:46 2013] [debug] mod_proxy_cluster.c(693): update_workers_node done
[Wed Nov 27 10:56:46 2013] [notice] Child 6012: All worker threads have exited.
[Wed Nov 27 10:56:46 2013] [notice] Child 6012: Child process is exiting
[Wed Nov 27 10:56:46 2013] [notice] Child 6452: Starting thread to listen on port 6666.
[Wed Nov 27 10:56:46 2013] [notice] Child 6452: Starting thread to listen on port 80.

有时我也看到这个错误。

[Wed Nov 27 10:52:52 2013] [error] [client 127.0.0.1] File does not exist: C:/Documents and Settings/user/My Documents/Downloads/openlogic-mod_cluster-1.2.0-windows-ia32-bin-1/mod_cluster-1.2.0/httpd-2.2/htdocs/mod_cluster-manager

谁能帮我弄清楚是什么问题?

4

1 回答 1

1

仅通过您的配置,管理器 URL 可能是http://localhost:6666/mod_cluster-manager.

于 2014-01-07T04:47:45.070 回答