-
【求助】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.
請問有人知道是什麼原因嗎
-
是linux的嗎
你用nmap 127.0.0.1
看看有沒有80的PORT出現
有的話,表示apach server沒壞
或試試
service httpd restart