Failed Apache2 start, no error log

前端 未结 11 597
轮回少年
轮回少年 2021-02-01 02:41

I would restart Apache2 but there comes an Error

$ sudo service apache2 start

Starting web server apache2

Action \'start\' failed.
The Apache error log may hav         


        
11条回答
  •  悲&欢浪女
    2021-02-01 03:19

    in the apache virtualhost you have to define the path to the error log file. when apache2 start for the first time it will create it automatically.

    for example ErrorLog "/var/www/www.localhost.com/log-apache2/error.log" in the apache virtualhost..

提交回复
热议问题