2015-01-21 27 views
0

幫助!!!!阿帕奇在監獄不會啓動後portmaster升級

我更新了我的網絡服務器,現在apache2.4不會在重新啓動後啓動。

設置日誌級別調試後,我得到這個在我的日誌,當我重新啓動Apache:

[Wed Jan 21 10:24:21.785303 2015] [auth_digest:notice] [pid 74642] AH01757: generating secret for digest authentication ... 
[Wed Jan 21 10:24:21.785607 2015] [auth_digest:debug] [pid 74642] mod_auth_digest.c(250): AH01759: done 

沒有HTTP服務正在運行,則不會創建PID文件,未啓用SSL。

從控制檯輸出,當我重新啓動Apache:

/usr/local/etc/rc.d/apache24 restart 
Performing sanity check on apache24 configuration: 
Syntax OK 
apache24 not running? (check /var/run/httpd.pid). 
Performing sanity check on apache24 configuration: 
Syntax OK 
Starting apache24. 

輸出configtest:

apachectl configtest 
Performing sanity check on apache24 configuration: 
Syntax OK 

在conclussion:沒有錯誤,沒有有用的日誌條目。我該如何解決這個問題?

親切的問候 伯恩哈德

+0

似乎apache不加載rc.conf,因爲它沒有讀取apache24被啓用。 請提供任何線索嗎? – BersekerBernhard 2015-01-21 20:12:17

回答

0

嘗試通過手工來運行它,就像這樣:

在/ usr/local/sbin中/ httpd的-e調試-X

它可能會輸出很多消息;看看你是否可以發現任何可疑的東西。您也可以嘗試使用「-e通知」來減少輸出量。