(98)Address already in use: make sock: could not bind to address 0.0.0.0:80

De Semantic MediaWiki - Sandbox

Issue[modifier | modifier le wikicode]

# apachectl start
[....] Starting web server: apache2(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
 failed!

Mitigation[modifier | modifier le wikicode]

Step 1
# netstat -ltnp | grep ':80'
tcp6       0      0 :::80                   :::*                    LISTEN      25585/apache2
Step 2
# kill -9 25585
Step 3
# apachectl start
[ ok ] Starting web server: apache2.
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.