“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.