我正在尝试设置虚拟主机。当我尝试运行时,sudo apachectl restart
我收到一条错误消息。
原始错误信息:
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
检查 systemctl 状态 httpd.service:
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2017-04-28 08:52:35 CDT; 14s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 23763 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 23762 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 23762 (code=exited, status=1/FAILURE)
journalcte -xe 显示:
No journal files were found.
我不确定我在这里看什么并且不知道如何解决这个问题。