2010-02-12 51 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以及在同一臺計算機上的干擾。