Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-02-2008, 10:34 PM
|
#1
|
LQ Newbie
Registered: Oct 2008
Location: Ogden, Utah
Distribution: Ubuntu Server 8.10
Posts: 18
Rep:
|
Apache2 SSL setup error, Port not available to bind
Hey Guys,
I tried to setup SSL on my apache server and all went well until I added the LISTEN 443 in my ports.conf. When Apache tries to startup I get a error talking about how it is unable to bind to 0.0.0.0:443 I did a netstat and there is nothing that I can see using the port 443. Any ideas?
Here is the exact error messange when starting apache.
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
|
|
|
11-03-2008, 02:09 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
Could you post your httpd.conf file, and also that last line "Unable to open logs", sounds like the ssl log file does not have the right permissions, check and make sure the path is set to where apache has write permissions.
|
|
|
11-03-2008, 03:14 AM
|
#3
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
And what distro?
|
|
|
11-03-2008, 06:01 AM
|
#4
|
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591
Rep: 
|
maybe your apache did already have a LISTEN 443 in another config file like SSL.conf or so that is included in httpd.conf?
what does
/path/to/apachectl configtest
give out?
|
|
|
11-03-2008, 11:19 AM
|
#5
|
LQ Newbie
Registered: Oct 2008
Location: Ogden, Utah
Distribution: Ubuntu Server 8.10
Posts: 18
Original Poster
Rep:
|
Ok I figured it out, I am a idiot.
I was adding a Listen 443 in my ports.conf
but I failed to read through that document there was already a
Code:
<IfModule mod_ssl.c>
Listen 443
</IfModule>
So it was already listening on 443. Sorry for wasting your time thanks for the hint to check my files for a Listen 443 
For those that was wondering this was on Ubuntu Server.
|
|
|
11-04-2008, 03:29 AM
|
#6
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
Glad to hear that the problem was solved, this is the reason why I like my httpd.conf to be a single file, rather than spitting it into multiple files like a lot of distros do these days, I find it easier to manage this way, especially when troubleshooting.
|
|
|
All times are GMT -5. The time now is 10:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|