小编Fer*_*ano的帖子

启动apache2时出错“无法访问主错误日志的目录'/var/log/apache2/'”

当我运行时,sudo service apache2 start我收到此错误:

Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
Run Code Online (Sandbox Code Playgroud)

当我跑步时,systemctl status apache2.service我得到了这个:

? apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2019-01-15 16:20:26 -03; 7min ago
  Process: 8101 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

ene 15 16:20:26 pc systemd[1]: Starting The Apache HTTP Server...
ene 15 16:20:26 pc apachectl[8101]: AH00558: apache2: …
Run Code Online (Sandbox Code Playgroud)

apache2

4
推荐指数
1
解决办法
9628
查看次数

标签 统计

apache2 ×1