首页 > 解决方案 > 当我通过 putty 运行 playbook 以启动 httpd 服务时,出现以下错误

问题描述

[ec2-user@tower1 ~]$ systemctl status httpd.service -l ● httpd.service - 已加载的 Apache HTTP 服务器:已加载(/usr/lib/systemd/system/httpd.service;已禁用;供应商预设:已禁用)活动:自 2021 年 10 月 28 日星期四 12:13:49 UTC 以来失败(结果:退出代码);5 分钟前 文档:man:httpd(8) man:apachectl(8) 进程:12139 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) 进程:12137 ExecStart=/usr/ sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) 主 PID: 12137 (code=exited, status=1/FAILURE)

10 月 28 日 12:13:49 tower1.12c2.internal httpd[12137]: (98) 地址已在使用中:AH00072: make_sock: 无法绑定到地址 [::]:80 10 月 28 日 12:13:49 tower1.12c2 .internal httpd[12137]:(98)地址已在使用:AH00072:make_sock:无法绑定到地址 0.0.0.0:80 Oct 28 12:13:49 tower1.12c2.internal httpd[12137]:没有可用的侦听套接字, 关闭 10 月 28 日 12:13:49 tower1.12c2.internal httpd[12137]: AH00015: 无法打开日志 10 月 28 日 12:13:49 tower1.12c2.internal systemd[1]: httpd.service: 主进程退出, code=exited, status=1/FAILURE Oct 28 12:13:49 tower1.12c2.internal kill[12139]: kill: 找不到进程 "" Oct 28 12:13:49 tower1.12c2.internal systemd[1] :httpd.service:控制进程退出,code=exited status=1 Oct 28 12:13:49 tower1.12c2.internal systemd[1]:无法启动 Apache HTTP 服务器。10 月 28 日 12 日:13:49 tower1.12c2.internal systemd[1]:单元 httpd.service 进入失败状态。10 月 28 日 12:13:49 tower1.12c2.internal systemd[1]:httpd.service 失败。

标签: apache

解决方案


推荐阅读