当前位置: > Linux服务器 > apache >

apache 错误日志:File does not exist的解决方法

时间:2014-08-12 22:31来源:linux.it.net.cn 作者:it
apache错误日志显示:File does not exist

查看apache日志:

File does not exist:
File does not exist: /opt/htdocs/resource/favicon.ico
File does not exist: /opt/htdocs/resource/404.html
File does not exist: /opt/htdocs/resource/robots.txt

Level  Description  Example
emerg  Emergencies – system is unusable.  “Child cannot open lock file. Exiting”
alert  Action must be taken immediately.  “getpwuid: couldn’t determine user name from uid”
crit  Critical Conditions.  “socket: Failed to get a socket, exiting child”
error  Error conditions.  “Premature end of script headers”
warn  Warning conditions.  “child process 1234 did not exit, sending another SIGHUP”
notice  Normal but significant condition.  “httpd: caught SIGBUS, attempting to dump core in …”
info  Informational.  “Server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers)…”
debug  Debug-level messages  “Opening config file …”

解决办法:
修改httpd.conf文件,将LogLevel warn 改为 LogLevel crit即可。
即修改下apache的报错级别。

(责任编辑:IT)
------分隔线----------------------------