我在配置 apache 2.4.10 + mod_cluster 1.3.1 + wildfly 17 时遇到问题 - apache 中 error.log 中的分段错误。当我使用 ajp 时它工作正常,但不是 http。我尝试编译和使用模块 1.3.12 版本的 mod_cluster 但没有帮助。有人解决了这个问题吗?操作系统:Debian 8
野蝇设置:
<subsystem xmlns="urn:jboss:domain:modcluster:5.0">
<proxy name="default" advertise-socket="modcluster" listener="default" proxies="proxy1">
<dynamic-load-provider>
<load-metric type="cpu"/>
</dynamic-load-provider>
</proxy>
</subsystem>
<server name="default-server">
<ajp-listener name="ajp" socket-binding="ajp"/>
<http-listener name="default" socket-binding="http" redirect-socket="https" proxy-address-forwarding="true" enable-http2="true"/>
<https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/>
<host name="default-host" alias="localhost">
<location name="/" handler="welcome-content"/>
<http-invoker security-realm="ApplicationRealm"/>
</host>
</server>
<outbound-socket-binding name="proxy1">
<remote-destination host="192.168.27.4" port="7777"/>
</outbound-socket-binding>
mod_cluster.conf
<IfModule manager_module>
Listen 192.168.27.4:7777
ManagerBalancerName mycluster
<VirtualHost 192.168.27.4:7777>
<Location />
Require ip 192.168.27
</Location>
KeepAliveTimeout 1800
MaxKeepAliveRequests 0
ServerAdvertise on 192.168.27.4:7777
AdvertiseFrequency 10
#AdvertiseSecurityKey secret
#AdvertiseGroup @ADVIP@:23364
EnableMCPMReceive
<Location /mod_cluster-manager>
SetHandler mod_cluster-manager
Require ip 192.168.27
</Location>
</VirtualHost>
</IfModule>
错误:
[Mon Aug 26 18:43:53.683662 2019] [core:notice] [pid 29751:tid 140376589154176] AH00052: child pid 29756 exit signal Segmentation fault (11)
当我尝试进入我的页面时,我看到空白页面和错误,例如:加载资源失败:net::ERR_INCOMPLETE_CHUNKED_ENCODING