-
【求助】apach 啟動失敗
我的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:
-
試著把這個/etc/httpd/logs/目錄先建立起來,再啟動一次apache看看...
-
回復: 【求助】apach 啟動失敗
[QUOTE][i]最初由 lych 發表[/i]
[B]httpd: could not open error log file /etc/httpd/logs/error_log[/B][/QUOTE]
無法開啟 error_log 檔。
1. 請檢查該檔案是否存在?
1. 請確認error_log 檔所在位置的硬碟空間足夠。