![AH00534:apache2:配置错误:未加载 MPM](https://linux22.com/image/950271/AH00534%EF%BC%9Aapache2%EF%BC%9A%E9%85%8D%E7%BD%AE%E9%94%99%E8%AF%AF%EF%BC%9A%E6%9C%AA%E5%8A%A0%E8%BD%BD%20MPM.png)
Apache 服务器已停止且不想重新启动。
我寻找了几种解决方案并咨询了多个来源,但似乎没有人能解决这个问题。请注意,当前启用的 MPM 模块是mpm_event
。我分享了诊断结果:
sudo systemctl status apache2
× apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2022-11-23 09:37:35 UTC; 27min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 1927397 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 16ms
Starting The Apache HTTP Server...
AH00534: apache2: Configuration error: No MPM loaded.
Action 'start' failed.
The Apache error log may have more information.
apache2.service: Control process exited, code=exited, status=1/FAILURE
apache2.service: Failed with result 'exit-code'.
Failed to start The Apache HTTP Server.
apache2ctl 状态
lynx: Can't access startfile http://localhost/server-status 'www-browser -dump http://localhost:80/server-status' failed.
Maybe you need to install a package providing www-browser or you need to adjust the APACHE_LYNX variable in /etc/apache2/envvars
Apache 版本 2.4.52
Ubuntu 22.04
有解决办法吗?如果没有,也许可以卸载 Apache 然后重新安装?