View previous topic :: View next topic |
Author |
Message |
tfg n00b
Joined: 05 Jul 2004 Posts: 74 Location: the Netherlands
|
Posted: Wed Jan 09, 2008 1:25 am Post subject: [solved] apache2 won't start, tries to claim port 443 |
|
|
Hi,
After an 'emerge -uD world' apache2 won't start anymore.
When trying '/etc/init.d/apache2 start' I get this error:
Code: | (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs |
I indeed have another service running on port 443, and I wanna keep that.
The only suggestions I can find with google is to shut down the other service that is using port 443, but that's the opposite of what I want. I want apache not to use port 443. I'm only using apache for my LAN to test websites before I put them on a public server and it only needs to run on port 80.
Does anyone know why Apache suddenly wants to claim 443 as well after an update, while it didn't do so before the update ?
-tfg
Last edited by tfg on Wed Jan 09, 2008 2:50 am; edited 1 time in total |
|
Back to top |
|
|
MostAwesomeDude Guru
Joined: 12 Aug 2007 Posts: 373
|
Posted: Wed Jan 09, 2008 2:02 am Post subject: |
|
|
443 is HTTP SSL, isn't it? Apache should have a way to disable HTTPS. By the way, what exactly is running on 443? _________________ Don't believe the "n00b" under my name. |
|
Back to top |
|
|
tfg n00b
Joined: 05 Jul 2004 Posts: 74 Location: the Netherlands
|
Posted: Wed Jan 09, 2008 2:48 am Post subject: |
|
|
MostAwesomeDude,
Thanks for your reply
It's indeed HTTP SSL.
I couldn't find any port 443 setting, but I found "-D SSL -D SSL_DEFAULT_VHOST" in the APACHE2_OPTS string and removed that part.
Now it start just fine.
Still don't know why SSL got turned on after the upgrade, though...
Maybe I missed this during etc-update... |
|
Back to top |
|
|
MostAwesomeDude Guru
Joined: 12 Aug 2007 Posts: 373
|
Posted: Wed Jan 09, 2008 9:42 am Post subject: |
|
|
No problem. I'll do some digging, but it's probably just an update to /etc that somebody missed. I'll remember that if I ever go back to Apache from Lighty. _________________ Don't believe the "n00b" under my name. |
|
Back to top |
|
|
|