apache2不能重启

出现问题

1
2
3
[....] Starting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
failed!

解决方案

经过测试卸载并清除软件包的配置即可解决

1
sudo apt-get purge apache2 
1
sudo apt-get install apache2 

本文作者:jujimeizuo
本文地址https://blog.jujimeizuo.cn/2021/04/25/apache2-not-start/
本博客所有文章除特别声明外,均采用 CC BY-SA 3.0 协议。转载请注明出处!