Apache httpd没有启动。这是我第一次尝试在这台特定的服务器上启动它。我收到以下错误。apache不启动undefined symbol:proxy_hook_canon_handler
的httpd:上/etc/httpd/conf/httpd.conf中的线38中的语法错误:语法 误差上/etc/httpd/conf.modules.d/proxy_connect.load的1行: 无法加载模块/ mod_proxy_connect.so到服务器: /etc/httpd/modules/mod_proxy_connect.so:未定义符号: proxy_hook_canon_handler
OS:RHEL 7.3
的httpd:2.4.6-40.el7_2.4 .x86_64
APR-1.4.8-3.el7.x86_64
APR-util的-1.5.2-6.el7.x86_64
的httpd.conf
Security
ServerTokens OS
ServerSignature On
TraceEnable On
ServerName "servername"
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 120
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15
LimitRequestFieldSize 8190
User apache
Group apache
AccessFileName .htaccess
<FilesMatch "^\.ht">
Require all denied
</FilesMatch>
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
HostnameLookups Off
ErrorLog "/opt/www_logs/error_log"
LogLevel warn
EnableSendfile On
#Listen 80
Include "/etc/httpd/conf.modules.d/*.load"
Include "/etc/httpd/conf.modules.d/*.conf"
Include "/etc/httpd/conf/ports.conf"
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"" forwarded
的/ etc /的httpd/conf.modules.d
authz_core.load
authz_host.load
dir.load
filter.load
log_config.load
mime.conf
mime.load
prefork.conf
prefork.load
proxy_connect.load
proxy_html.load
rewrite.load
ssl.load
systemd.load
unixd.load
xml2enc.load
看起来这个代理模块是针对不同版本的http服务器编译的。你想检查你的软件包来源或更新软件包。 – arkascha
这是代理模块mod_proxy_html.x86_64的版本1:2.4.6-40.el7_2.4 – isa
该评论并未真正回答我所提出的建议...... – arkascha