AnyShare-httpd 服务启动失败,message 日志提示:Address already in use: AH00072: make_sock: could not bind to add
关键字
httpd、nginx
适用产品
- AnyShare Express 6.0.x
- AnyShare Enterprise 6.0.x
问题描述
httpd 服务启动失败,message 系统日志提示如下信息:
Address already in use: AH00072: make_sock: could not bind to address [::]:443

问题影响
httpd 服务无法启动,导致登录系统管理控制台后获取不到监控信息。
问题原因
httpd 配置文件里设置监听了 443 端口,而 443 端口已被 nginx 占用,导致 httpd 无法启动。
解决方案
为了解决该问题,需要取消 httpd 配置文件中对 443 端口的监听配置,请按照下列步骤进行操作:
1. 执行以下命令,编辑 /etc/httpd/conf.d/ssl.conf 文件。
vi /etc/httpd/conf.d/ssl.conf

2. 找到 Listen 443 https 参数所在行,按 i 键进入编辑模式,在该行前面添加 # 号, 之后按 Esc 键,键入 :wq 保存退出。

3. 执行以下命令,重启 httpd 服务。
systemctl restart httpd


更多信息
httpd 服务启动失败会导致 AnyShare Zabbix 界面无法正常显示,但不影响其它业务。