0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Failed to start The Apache HTTP Server.

Posted at

エラーに下記内容が出た際の対応

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

まずはこのコマンドで対象を探す

$ netstat -ltnp | grep :80

そうすると、こういう結果が出るので

tcp6 0 0 :::80 :::* LISTEN 895/apache2

下記コマンドで削除して

$ sudo kill -9 895

再度Apacheを再起動

$ systemctl restart httpd.service
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?