unable to start httpd service - getting Address Already in use: make_sock: could not bind to address

0

I copied new ssl cert files to my server but upon doing a httpd restart I get the following error: (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 Pretty sure this is related to something other than the new certificate files, but this is the first time I attempted to restart the server in quite some time.

  • Sorry you'll have to be a little more specific about what you're trying to do. Please elaborate further - what're you trying to do? What certificates are you using? Is it just an EC2 instance? Is this an EC2 instance that is acting like an IoT thing?

1 個回答
0

It looks like you are having trouble with your Apache server. The Address Already in use error message indicates that there may already be an httpd process running, and you can attempt to manually kill that process following these steps:

Run the command "ps -aux |grep httpd" (remove quotation marks) in your terminal to find any processes related to httpd. Look to see what services are running, find the Apache process, and then kill it using the command "kill -9 <ProcessID>" (replace <ProcessID> with the unique process ID of the Apache process).

After you have completed the previous steps, restart your Apache service. If this does not resolve your issue, please reach out with further information on what errors you encounter.

Cheers!

已回答 2 年前
AWS
支援工程師
已審閱 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南