“make_sock: 无法绑定到地址 [::]:443"重启apache时(安装trac和mod_wsgi) [英] "make_sock: could not bind to address [::]:443" when restarting apache (installing trac and mod_wsgi)

查看:39
本文介绍了“make_sock: 无法绑定到地址 [::]:443"重启apache时(安装trac和mod_wsgi)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过 SSL 安装 trac 和 mod_wsgi.我尝试手动安装它,但效果不佳,所以我开始关注:trac-on-Ubuntu

I'm trying to install trac and mod_wsgi over SSL. I tried to manually install it, but that didn't work out so well so I started to follow this: trac-on-ubuntu

我跳过了 svn 部分,因为我想改用 git.第一次编辑 httpd.conf 后:

I skipped the svn part because I'd like to use git instead. After the first edit of httpd.conf:

WSGIScriptAlias /trac /var/trac/apache/trac.wsgi

<Directory /var/trac/apache>
    WSGIApplicationGroup %{GLOBAL}
    Order deny,allow
    Allow from all
</Directory>

我重新启动 apache 只是为了得到这个错误:

I restarted apache only to get this error:

* Restarting web server apache2                                                    

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

                                                                     [ OK ]

做这些没有任何表现.

 netstat -anp | grep 443 
 fuser 443/tcp

除了我运行的 grep 命令之外,这样做并没有产生任何结果:

Doing this didn't yield anything except the grep command that I ran:

ps -aux | grep httpd

为什么在没有任何显示的情况下会说其他东西正在使用该端口?

Why is it saying that something else is using the port when there's nothing showing up?

你们会嘲笑这个的.我在ports.conf 中有一个不应该存在的额外Listen 443.删除它解决了这个问题.

You guys are going to laugh at this. I had an extra Listen 443 in ports.conf that shouldn't have been there. Removing that solved this.

推荐答案

你们会嘲笑这个的.我在ports.conf 中有一个不应该存在的额外Listen 443.删除它解决了这个问题.

You guys are going to laugh at this. I had an extra Listen 443 in ports.conf that shouldn't have been there. Removing that solved this.

这篇关于“make_sock: 无法绑定到地址 [::]:443"重启apache时(安装trac和mod_wsgi)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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