Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] apache2 won't start, tries to claim port 443
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tfg
n00b
n00b


Joined: 05 Jul 2004
Posts: 74
Location: the Netherlands

PostPosted: Wed Jan 09, 2008 1:25 am    Post subject: [solved] apache2 won't start, tries to claim port 443 Reply with quote

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
View user's profile Send private message
MostAwesomeDude
Guru
Guru


Joined: 12 Aug 2007
Posts: 373

PostPosted: Wed Jan 09, 2008 2:02 am    Post subject: Reply with quote

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
View user's profile Send private message
tfg
n00b
n00b


Joined: 05 Jul 2004
Posts: 74
Location: the Netherlands

PostPosted: Wed Jan 09, 2008 2:48 am    Post subject: Reply with quote

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
View user's profile Send private message
MostAwesomeDude
Guru
Guru


Joined: 12 Aug 2007
Posts: 373

PostPosted: Wed Jan 09, 2008 9:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum