Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
For people who can't get Apache and mod_ssl to work
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
xgregx
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 181
Location: Cheshire, CT

PostPosted: Tue Mar 29, 2005 8:23 pm    Post subject: For people who can't get Apache and mod_ssl to work Reply with quote

After reading through 10 or more posts where the posters couldn't find the answer to why Apache and SSL won't work and they were seeing problems about port 443 in use.
For example:
Code:

Address already in use: make_sock: could not bind to address 192.168.xxx.xxx port 443


A few posts led me in the right direction. Make sure you con't have
Code:

Listen 443

Showing up in more than 1 config file. I had it in both apache.conf, and mod_ssl.conf. Here's an easy way to check:

Code:

cat mod_ssl.conf |grep 443
cat apache(2).conf |grep 443
cat commonapache.conf |grep 443

If you get something back from more than one of those commands, then you know you have Listen 443 configured in too many places.
I commented out Listen 443 in my apache.conf file (it was near the top, by Listen 80 and Port 80 and restarted (making sure I had -D SSL in my /etc/conf.d/apache file)

I hope this helps speed up someone's problem solving.
Greg :)
_________________
Half-life/Source/Urban Terror/Unreal control panel -> www.opengamepanel.org
Linux user #347899
Gentoo has USE flags for a highly configurable system.
Microsoft has SUE flags to stifle innovation
Back to top
View user's profile Send private message
Daeluin
n00b
n00b


Joined: 04 Jan 2003
Posts: 57
Location: lost

PostPosted: Fri Apr 29, 2005 2:24 pm    Post subject: Reply with quote

yes, that was it!
thanks a bunch.
there are really too many apache threads and it's hard finding what you need.
Back to top
View user's profile Send private message
xgregx
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 181
Location: Cheshire, CT

PostPosted: Tue May 03, 2005 12:49 am    Post subject: Reply with quote

Cool, I'm glad it helped someone. :)
_________________
Half-life/Source/Urban Terror/Unreal control panel -> www.opengamepanel.org
Linux user #347899
Gentoo has USE flags for a highly configurable system.
Microsoft has SUE flags to stifle innovation
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