« (98)Address already in use: make sock: could not bind to address 0.0.0.0:80 » : différence entre les versions
De Semantic MediaWiki - Sandbox
(typo) |
(erg) |
||
Ligne 1 : | Ligne 1 : | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
apache2(98)Address already in use: make_sock: could not bind to address [::]:80 | # service apache2 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 | (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 | ||
no listening sockets available, shutting down | no listening sockets available, shutting down | ||
Ligne 7 : | Ligne 8 : | ||
The Apache error log may have more information. | The Apache error log may have more information. | ||
failed! | failed! | ||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash"> | |||
# netstat -ltnp | grep ':80' | |||
tcp6 0 0 :::80 :::* LISTEN 25585/apache2 | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash"> | |||
# kill -9 25585 | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash"> | |||
# service apache2 start | |||
[ ok ] Starting web server: apache2. | |||
</syntaxhighlight> | </syntaxhighlight> |
Version du 23 octobre 2015 à 18:35
# service apache2 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!
# netstat -ltnp | grep ':80'
tcp6 0 0 :::80 :::* LISTEN 25585/apache2
# kill -9 25585
# service apache2 start
[ ok ] Starting web server: apache2.