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

查看:81
本文介绍了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天全站免登陆