Apache 错误日志 win32+php+mysql

各位达人,我在windows2003服务器上安装了PHP/5.2.8+Apache/2.2.11 +Mysql5.0的环境,发现apache的error.log错误日志中,每分钟都出现以下的错误提示,请问是什么原因?

Failed to start up concurrent users module!
[Wed Apr 15 23:37:33 2009] [notice] Child 48756: Child process is running
[Wed Apr 15 23:37:33 2009] [notice] Child 48756: Acquired the start mutex.
[Wed Apr 15 23:37:33 2009] [notice] Child 48756: Starting 1024 worker threads.
[Wed Apr 15 23:37:34 2009] [notice] Child 48756: Starting thread to listen on port 80.
[Wed Apr 15 23:38:28 2009] [notice] Parent: child process exited with status 1 -- Restarting.
[Wed Apr 15 23:38:29 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Wed Apr 15 23:38:29 2009] [notice] Server built: Dec 10 2008 00:10:06
[Wed Apr 15 23:38:29 2009] [notice] Parent: Created child process 16680
Failed to start up concurrent users module!
[Wed Apr 15 23:38:32 2009] [notice] Child 16680: Child process is running
[Wed Apr 15 23:38:32 2009] [notice] Child 16680: Acquired the start mutex.
[Wed Apr 15 23:38:32 2009] [notice] Child 16680: Starting 1024 worker threads.
[Wed Apr 15 23:38:33 2009] [notice] Child 16680: Starting thread to listen on port 80.
[Wed Apr 15 23:39:25 2009] [notice] Parent: child process exited with status 1 -- Restarting.
[Wed Apr 15 23:39:26 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Wed Apr 15 23:39:26 2009] [notice] Server built: Dec 10 2008 00:10:06
[Wed Apr 15 23:39:26 2009] [notice] Parent: Created child process 26300
上面是apache的错误日志文件error.log。

另外网站自身也有个错误日志文件“域名-error_log”,该日志经常会1-2分钟重复出现下面代码,请问这又是什么原因的,谢谢。
[Thu Apr 16 00:14:21 2009] [error] [client 125.71.147.169] File does not exist: C:/vhosts/www.***.com/undefined, referer: http://www.***.com/
[Thu Apr 16 00:14:21 2009] [error] [client 125.71.147.169] File does not exist: C:/vhosts/www.***.com/undefined, referer: http://www.***.com/

首先,Apache的ErrorLog中说找不到用户模块,应该是你的网站路径没有定义好。

你的网站错误日志,更说明了这个问题,是你的虚拟主机路径没有配置对。

下面给你一个定义虚拟主机的例子:

1.虚拟主机配置

<VirtualHost *:80>
DocumentRoot C:\vhosts\www.xxxxxxx.com
ServerName www.xxxxxxx.com
ServerAlias xxxxxxx.com
#ErrorLog logs/xxxxxxx.com.error_log
#CustomLog logs/xxxxxxx.com.access_log common
DirectoryIndex index.html index.htm default.html default.htm index.php
ErrorDocument 404 /404.htm
</VirtualHost>

2.虚拟主机目录配置
<Directory "C:\vhosts\www.xxxxxxx.com">
Options Indexes FollowSymLinks
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>

然后,再试试重启Apache。

祝好运!
温馨提示:答案为网友推荐,仅供参考
第1个回答  2009-04-18
请注意这样一行
[Wed Apr 15 23:39:25 2009] [notice] Parent: child process exited with status 1 -- Restarting.
我在想是不是你的apache访问量太多了,或是有攻击,这样就引起apache挂了,而apache的主进程检测到子进程没有了,然后自身重启了。

下面的“域名-error_log”是IP为125.71.147.169的访问者在访问的时候,undefined文件不存在。本回答被提问者采纳
第2个回答  2009-04-16
期待高手啊~
我估计是某些冲突 但是没研究过