[問題] CentOS 7 httpd 無法啟動

看板Linux作者 (腳男)時間8年前 (2016/04/28 09:06), 8年前編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
我在安裝CentOS7的時候用他裡面附的基本網路伺服器環境安裝 然後安裝完後httpd沒辦法啟動 輸入systemctl restart httpd後 回傳 Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. 輸入systemctl status httpd.service與journalctl -xe的訊息分別如下 http://imgur.com/a/ZAeZj error_log則是 http://imgur.com/VY9anhK
是有什麼東西沒設定到嗎 還是乾脆從灌成基本環境在自己用yum安裝會比較好 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.135.42.90 ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1461805578.A.123.html

04/28 09:11, , 1F
寫很清啊,就設定錯啦...httpd.conf第103行
04/28 09:11, 1F
感謝回應 可是當我拿掉103行之後 http://imgur.com/FNBciKz
開啟就關閉了 感覺我的httpd.conf有很多錯誤 ※ 編輯: duo3410 (220.135.42.90), 04/28/2016 09:53:33 喔喔 順利開啟了 剛剛發現conf資料夾多了一個奇怪的檔案 應該是複製錯誤訊息的時候產生的 刪掉了就順利啟動了 ※ 編輯: duo3410 (220.135.42.90), 04/28/2016 10:28:55
文章代碼(AID): #1N8M8A4Z (Linux)