2010-02-12 156 views
0

我刚开始有一个问题,Apache每收到几个请求后都会自动重启。它一直工作得很好,我不知道为什么会发生这种情况。我最近做的唯一事情是在我的vhosts文件中添加一个条目,以侦听运行在其上的IP上的另一个虚拟主机。但是,我将其重置为原来的状态,但仍然看到了问题。Apache每隔几个请求就自动重启自己

这是error.log中显示:

[Fri Feb 12 16:29:12 2010] [notice] Parent: child process exited with status 0 -- Restarting. 
[Fri Feb 12 16:29:13 2010] [notice] Apache/2.2.8 (Win32) DAV/2 mod_fastcgi/2.4.6 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color mod_auth_sspi/1.0.1 SVN/1.4.3 PHP/5.2.5 configured -- resuming normal operations 
[Fri Feb 12 16:29:13 2010] [notice] Server built: Jan 18 2008 00:37:19 
[Fri Feb 12 16:29:13 2010] [notice] Parent: Created child process 6732 
[Fri Feb 12 16:29:14 2010] [notice] Child 6732: Child process is running 
[Fri Feb 12 16:29:14 2010] [notice] Child 6732: Acquired the start mutex. 
[Fri Feb 12 16:29:14 2010] [notice] Child 6732: Starting 250 worker threads. 
[Fri Feb 12 16:29:14 2010] [notice] FastCGI: process manager initialized 
[Fri Feb 12 16:29:15 2010] [notice] Child 6732: Starting thread to listen on port 443. 
[Fri Feb 12 16:29:15 2010] [notice] Child 6732: Starting thread to listen on port 82. 
[Fri Feb 12 16:29:15 2010] [notice] Child 6732: Starting thread to listen on port 81. 
[Fri Feb 12 16:29:15 2010] [notice] Child 6732: Starting thread to listen on port 80. 
[Fri Feb 12 16:29:22 2010] [error] [client 192.168.3.12] (20024)The given path misformatted or contained invalid characters: Cannot map GET /wiki/index.php/Special:Random HTTP/1.1 to file, referer: http://review.laughlin.com:81/wiki/index.php/FullCircle 
[Fri Feb 12 16:29:22 2010] [notice] Parent: child process exited with status 0 -- Restarting. 
[Fri Feb 12 16:29:23 2010] [notice] Apache/2.2.8 (Win32) DAV/2 mod_fastcgi/2.4.6 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color mod_auth_sspi/1.0.1 SVN/1.4.3 PHP/5.2.5 configured -- resuming normal operations 
[Fri Feb 12 16:29:23 2010] [notice] Server built: Jan 18 2008 00:37:19 
[Fri Feb 12 16:29:23 2010] [notice] Parent: Created child process 7252 
[Fri Feb 12 16:29:24 2010] [notice] Child 7252: Child process is running 
[Fri Feb 12 16:29:24 2010] [notice] Child 7252: Acquired the start mutex. 
[Fri Feb 12 16:29:24 2010] [notice] Child 7252: Starting 250 worker threads. 
[Fri Feb 12 16:29:24 2010] [notice] FastCGI: process manager initialized 
[Fri Feb 12 16:29:24 2010] [notice] Child 7252: Starting thread to listen on port 443. 
[Fri Feb 12 16:29:24 2010] [notice] Child 7252: Starting thread to listen on port 82. 
[Fri Feb 12 16:29:24 2010] [notice] Child 7252: Starting thread to listen on port 81. 
[Fri Feb 12 16:29:24 2010] [notice] Child 7252: Starting thread to listen on port 80. 

我通过XAMPP运行它(不是我的偏好,但成立了我面前),这里是它列出的版本:

Apache 2.2.8 
MySQL 5.0.51 
PHP 5.2.5 + PHP 4.4.8 rc2 dev + PEAR 
PHP-Switch win32 1.0 (please use the "php-switch.bat") 
XAMPP Control Version 2.5 from www.nat32.com  
XAMPP Security 1.0 
SQLite 2.8.15 
OpenSSL 0.9.8g 
phpMyAdmin 2.11.4 
ADOdb 4.96 
Mercury Mail Transport System v4.52 
FileZilla FTP Server 0.9.25 
Webalizer 2.01-10 
Zend Optimizer 3.3.0a 
eAccelerator 0.9.5.2 for PHP 5.2.5 (comment out in the php.ini) 

有没有人知道这可能发生的任何原因?我试图多次手动重启Apache服务而没有运气。还发现一些建议,以取代bin中的libmysql.dll或其他文件,但我还没有任何运气。

我最近在服务器上做的唯一其他事情是试图让PHP在IIS中运行(它已经在机器上运行了很长一段时间,在不同的IP上,但我只是试图启用PHP) 。我没有运气,所以我现在已经禁用了我所做的尝试。

+0

因此...是index.php/FullCircle重定向到index.php /特殊:随机?似乎也许它期望能够为随机页面提供服务,但是您已经丢失了处理该特殊内容的任何内容,对吗?可能只是端口81虚拟主机中的一个问题 - 是您最近添加的问题?也许你认为是全球性的,但只是在另一个虚拟主机的范围内。也许你可以发布一些配置... – 2010-02-12 23:15:56

+0

我认为特别:随机重定向到FullCircle或其他东西。这是我们的维基的一部分,我点击了“随机页面”选项,这可能是什么给了这个消息。它与此无关,因为它发生在所有页面和所有网站上。 这可能是一个端口上的问题,因为我上周在该端口上添加了第二个虚拟主机。在我发布这个消息后,我的一位同事提到说,存在港口冲突,所以这可能是问题,我们希望今天能够看到这一点。 – jwynveen 2010-02-15 14:22:56

回答

0

原来这是在IIS中尝试设置PHP以及在同一台计算机上的干扰。