关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

宝塔面板重启apache错误:httpd not running, trying to start

发布时间:2023-06-21 15:43:07
1491984010112764.jpg

有时服务器关机重启出现apache无法启动,在宝塔面板中重载配置也不行,在SSH中用命令:/etc/init.d/httpd restart 重启apache出现错误:

restart apache… httpd not running, trying to start
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
failed

重启apache失败。

解析方法:

在SSH中运行命令:killall -9 httpd

在重新启动apache:/etc/init.d/httpd restart 或在宝塔面板中重载apache配置

image.png



/template/Home/8a/PC/Static