首页 文章

lbmethod_heartbeat:notice - 安装apache2.4.2后,mod_heartmonitor没有slotmem --error [关闭]

提问于
浏览
4

在启动web服务器时,error_log显示

[Wed May 16 03:48:53.027372 2012] [lbmethod_heartbeat:notice] [pid 1114:tid 3075385024] AH02282: No slotmem from mod_heartmonitor
[Wed May 16 03:48:53.028312 2012] [mpm_event:notice] [pid 1114:tid 3075385024] AH00489: Apache/2.4.2 (Unix) configured -- resuming normal operations
[Wed May 16 03:48:53.028351 2012] [core:notice] [pid 1114:tid 3075385024] AH00094: Command line: '/usr/local/apache2/bin/httpd'

apache配置:

# ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-deflate --enable-proxy --enable-proxy-balancer --enable-proxy-http --with-included-apr

我被禁止你没有权限访问/在此服务器上出错

这是error_log中生成的错误

[Wed May 16 03:49:20.116317 2012] [authz_core:error] [pid 5015:tid 2946440000] [client 127.0.0.1:59386] AH01630: client denied by server configuration: /home/gowtham/webSites/ferry/

是因为lbmethod_heartbeat这个错误:注意?

或者DocumentRoot目录上存在权限错误配置??但是指令的配置来自一个正在运行的Web服务器,所以我认为块中没有错误 . 我甚至尝试过给予

chown -R [apache_user:apache:group] /home/gowtham/webSites/ferry

和/ home / gowtham得到了chmod -R 766

thanq

1 回答

  • 9

    这些消息是无关的 . 通常遇到“AH02282:来自mod_heartmonitor的没有slotmem”消息(实际上不是错误)但仍然有一个正常运行的服务器 .

    通常,您可以通过从httpd.conf中注释掉heartbeat load-balancer方法模块来抑制该消息(当然,除非您实际使用它) . 它has been suggested在默认配置中被禁用,但显然它还没有 .

    #LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
    

    其中一个身份验证或授权模块可能会导致服务器拒绝请求 . 您可以尝试在 httpd.conf 中禁用以"auth"开头的模块以及配置中的任何限制 .

相关问题