Edited at

make_sockのエラーせいで、apacheを起動する方法

More than 1 year has passed since last update.

下記のエラーが発生した際に、apacheが起動できません。

(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80

(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80

no listening sockets available, shutting down

AH00015: Unable to open logs

対応方法

   $ fuser -k -n tcp 80

  $ fuser  --help

...
Show which processes use the named files, sockets, or filesystems.

...
-k,--kill kill processes accessing the named file
....
-n,--namespace SPACE search in this name space (file, udp, or tcp)
....