代码之家  ›  专栏  ›  技术社区  ›  Radhika Kandasamy

Apache错误:地址已在使用:make\u sock:无法绑定到地址[::]:443

  •  4
  • Radhika Kandasamy  · 技术社区  · 7 年前

    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。配置文件:

    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\u日志文件中还出现以下错误:

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

    提前感谢

    3 回复  |  直到 7 年前
        1
  •  4
  •   Christian Lescuyer    6 年前

    我不得不发表评论

    在/etc//conf.d/ssl。升级到httpd版本后的conf 2.4.6-80 .

        2
  •  1
  •   Giri    7 年前
    1. 端口443似乎被其他进程使用,可以通过“netstat-anp | grep:443”进行检查
        3
  •  1
  •   Nitin Dhomse    7 年前

    在侦听端口后添加以下行

    #You will have 
        Listen 443 https
    #add NameVirtualHost entry after that,
    NameVirtualHost *:443