我已經在webmin上用舊的pc設置了ubuntu服務器。我不確定發生了什麼,但是我重新啓動了服務器,當它啓動時,它現在在Apache嘗試啓動時得到這個。Apache2不會啓動
* Starting web server apache2
apache2: Syntax error on line 237 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default: No such file or directory
Action 'start' failed.
The Apache error log may have more information.
我檢查這個文件在這條線上,它看起來像這樣:
# Include the virtual host configurations:
Include sites-enabled/
我已刪除Apache和重新安裝,但不知道爲什麼它仍然失敗。
這並不像你的Apache日誌,檢查/ var /日誌/ Apache2的或/ var /日誌/ httpd的 – emsworth
@emsworth這是我在命令行中我設法讓到日誌和那裏沒有當我嘗試嘗試 –
時,我不確定我是否完全明白,文件「/ etc/apache2/sites-enabled/000-default」實際上是否存在?如果是這樣,它是符號鏈接還是文件?如果它是符號鏈接,它指向什麼? – emsworth