问题描述
我试图做的JBoss负载在CentOS 7.我已经安装httpd的2.4.7平衡。无需任何配置更改它的工作原理,如果我跑
I am trying to do jboss load balancing on centOS 7. I have installed httpd 2.4.7. Without any configuration changes it works, if I run
Service httpd start.
而如果我复制以下文件从结果
(mod_cluster-1.1.3.Final-将linux2-x64的话)
Whereas if I copy below files from http://mod-cluster.jboss.org/downloads/1-2-0-Final/
(mod_cluster-1.1.3.Final-linux2-x64-so)
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
到/ etc / httpd的/模块/文件夹。 httpd的报错/etc/httpd/modules/mod_proxy.so:无法打开共享对象文件:没有这样的文件或目录
into /etc/httpd/modules/ folder. Httpd give error /etc/httpd/modules/mod_proxy.so: cannot open shared object file: No such file or directory
我下面这个文章
我使用的httpd 2.4.6和jbossAS7.1.1在CentOS 7.我试过很多的mod_cluster文章,但没有一个似乎是工作的
I am using httpd 2.4.6 and jbossAS7.1.1 on centos 7. I tried lots of articles for mod_cluster but none is seems to be working https://developer.jboss.org/thread/204011
请帮我,如果有人知道哪个mod_cluster二进制文件应使用的Apache 2.4.6。
please help me if someone know which mod_cluster binaries should be used for apache 2.4.6.
推荐答案
也许你的Apache的分配不把对于ServerRoot下的模块/目录。检查你的工作/现有LoadModules的第二PARM,根据需要调整。
Maybe your distribution of Apache does not put the modules/ dir under the serverroot. Check the 2nd parm of your working/existing LoadModules and adjust as needed.
不太可能:你的httpd内置W / O mod_proxy的支持
Less likely: Your httpd is built w/o mod_proxy support.
这篇关于httpd的未启动,由于mod_proxy的文件未加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!