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
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>
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 ]
Doing these showed nothing.
netstat -anp | grep 443 fuser 443/tcp
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?
EDIT: 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.
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.
Thank you for you answers, on apache 2.4.x versions if have installed ssl_module using yum command, dont want to add the port :443 in httpd.conf (main) file,
To find out the port 443 in configure files,
# grep '443' /etc/httpd/conf.d/* /etc/httpd/conf.d/ssl.conf:Listen 443 https /etc/httpd/conf.d/ssl.conf:<VirtualHost _default_:443> /etc/httpd/conf.d/ssl.conf:#ServerName www.example.com:443 # grep '443' /etc/httpd/conf/httpd.conf Listen 443
Just remove the line or command it (Listen 443) from httpd.conf file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With