VPS, Debian
通过apt-get install apache2清除并重新安装Apache2后,它没有启动。启动service apache2 start 后,它没有给出任何消息。systemctl status apache2给出以下信息:
? apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Drop-In: /lib/systemd/system/apache2.service.d
??forking.conf
Active: inactive (dead) since Su 2016-10-16 23:24:07 KRAT; 14min ago
Process: 1953 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 1947 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
Run Code Online (Sandbox Code Playgroud)
端口 80 上没有任何内容。简单的 http 服务器(例如 Python)工作正常。日志中没有任何内容 - 所有文件都是空的。
如何让 apache 工作?