Apache 错误:地址已在使用中:make_sock:无法绑定到地址 [::]:443 [英] Apache error: Address already in use: make_sock: could not bind to address [::]:443

查看:47
本文介绍了Apache 错误:地址已在使用中:make_sock:无法绑定到地址 [::]:443的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apache 启动时出错:

Apache error while starting:

Address already in use: make_sock: could not bind to address [::]:443

*Executing start method ("/lib/svc/method/http-apache2 start") ]
(125)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs*

Listen 443 is added in ssl.conf.
Listen 80 is added in httpd.conf.

HTTPD.conf 文件:

DocumentRoot "/var/apache2/htdocs"
<Directory />
    Options FollowSymLinks
    AllowOverride All
</Directory>
<Directory "/var/apache2/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

在 error_log 文件中也得到以下错误:

Also getting the following error in error_log file:

configuration error:  couldn't perform authentication. AuthType not set!:index.html**
index.html's location : /var/apache2/htdocs

提前致谢

推荐答案

  1. 在 conf.d 中定义的文件会在多个文件中多次将侦听端口设为 443,这可能会导致此问题.
  2. 443 端口似乎被其他进程使用,可以通过netstat -anp|grep :443"查看

这篇关于Apache 错误:地址已在使用中:make_sock:无法绑定到地址 [::]:443的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆