Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed apache2 and then configured it to work with SSL following this and this tutorials, the problem becomes when I try to restart the service, I get the following error:

(98)Address already in use: make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs

the output of netstat -anp | grep 443 just display firefox listening and anything else, how could I solve this and get the service running??

share|improve this question
Post the netstat output. Firefox doesn't listen on common ports. – Magellan Oct 3 '12 at 2:58
For -p to be effective, netstat needs to run as root or the service in question. Did you run netstat with root privileges? – Jeff Ferland Oct 3 '12 at 5:16
up vote 2 down vote accepted

This is caused when there is other service running on this port 443. We have to check what is the service running on it and shutdown and then restart the apache. To check what service running on port 443 use below command

nmap localhost

share|improve this answer
You're not the first to go in that direction. The right answer is lsof or netstat. See… for more details and the right flags. – Jeff Ferland Oct 3 '12 at 5:13

I assume firefox is connected to some other web site on port 443, although you could close it anyway to avoid confusion.

So if there are no other processes listening to port 443, the most likely explanation is that you have accidentally configured apache to listen to port 443 more than once (perhaps once with a specific IP address, and once without, hence the so that when apache starts, the first bind attempt succeeds but the second fails.

Check for LISTEN directives in httpd.conf and any files that are INCLUDEd by httpd.conf.

share|improve this answer
But I didn't use httpd.conf, I just changed the files listed on the tutorial I followed... – poz2k4444 Oct 3 '12 at 3:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.