【求助】apach 啟動失敗



贊助商連結


lych
2003-05-07, 02:36 PM
我的apach一開始好好的~~但後來不知為什麼掛了,重新啟動後出現下面訊息
啟動 httpd:httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(2)!S!!!!!@!!!!!!!!!!: httpd: could not open error log file /etc/httpd/logs/error_log.

去編輯 /etc/httpd/conf/httpd.conf 檔案
#ServerName 我的網域:80
把上面的 # 去掉後再重新啟動,變成下面的訊息

啟動 httpd:(2)!S!!!!!@!!!!!!!!!!: httpd: could not open error log file /etc/httpd/logs/error_log.

請問有人知道是什麼原因嗎:confused:

贊助商連結


repsol
2003-05-07, 03:59 PM
試著把這個/etc/httpd/logs/目錄先建立起來,再啟動一次apache看看...

mus000
2003-05-07, 05:38 PM
最初由 lych 發表
httpd: could not open error log file /etc/httpd/logs/error_log

無法開啟 error_log 檔。
1. 請檢查該檔案是否存在?
1. 請確認error_log 檔所在位置的硬碟空間足夠。