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

[复制链接] |主动推送
查看36 | 回复0 | 2024-9-11 14:46:52 | 显示全部楼层 |阅读模式
有时服务器关机重启出现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配置
103841qw5clvv6zoucl6v0.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则