Help us understand the problem. What is going on with this article?

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

More than 3 years have 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)
  ....

zhao-xy
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away