Apache配置问题
来源:7-1 Apache的安装

阿岩思密达
2019-08-19
您好老师,我按照您说的命令操作了
[imooc@www ~]$ systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2019-08-18 23:35:25 EDT; 2min 11s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 2194 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 2193 ExecStart=/usr/sbin/httpd KaTeX parse error: Expected 'EOF', got '然' at position 102: …tus=1/FAILURE)
然̲后执行了这个命令
[imooc… journalctl -xe
No journal files were found.
– No entries –
然后用这个命令sudo service httpd start 还是会报这个错误
[imooc@www ~]$ sudo service httpd start
Redirecting to /bin/systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See “systemctl status httpd.service” and “journalctl -xe” for details.
我上网百度了也不知道 该怎么办
2回答
-
编程浪子
2019-08-20
你好,从课程群加我qq远程。
00 -
编程浪子
2019-08-19
我的 意思是 执行
sudo service httpd start 然后会发现报错。
然后执行 systemctl status httpd.service 看错误信息截图出来
然后在执行 journalctl -xe 看错误信息截图出来
不然无法判断
012019-08-19
相似问题