我试图安装 SSL 脚本以在我的本地服务器上运行 HTTPS,但我最终破坏了 Apache,现在它返回了这个:
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:
tales@tales-ubuntu1610:~$ systemctl status apache2.service
?apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; generated; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
??apache2-systemd.conf
Active: failed (Result: exit-code) since seg 2016-12-12 10:47:30 BRST; 2min 48s ago
Docs: man:systemd-sysv-generator(8)
Process: 15802 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
dez 12 10:47:30 tales-ubuntu1610 apache2[15802]: * The apache2 configtest …Run Code Online (Sandbox Code Playgroud)