ServerTune

Browse by category

Search    |    Advanced search

Address already in use: make_sock: could not bind to address [::]:80/443

When starting/re-starting Apache, you get the following error message:

Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80/443
no listening sockets available, shutting down
Unable to open logs!

To fix the problem, run the following commands

The output might be:

tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 21426/tux

Now, to see what service with the PID 30982, run this command:

The output might be:

PID TTY STAT TIME COMMAND
21426 ?S 0:00 /usr/local/tux

As you can see, the service tux is using Port 80 and blocking httpd. All you need to do is stop tux and then restart httpd.

 
 
Add comment
 
Views: 2211
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS