{"id":17,"date":"2009-09-13T16:10:51","date_gmt":"2009-09-13T20:10:51","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=17"},"modified":"2013-03-20T08:39:00","modified_gmt":"2013-03-20T12:39:00","slug":"make_sock-could-not-bind-to-address-0-0-0-080","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/make_sock-could-not-bind-to-address-0-0-0-080","title":{"rendered":"make_sock: could not bind to address 0.0.0.0:80"},"content":{"rendered":"<p>You may come across the following error while restarting Apache:<\/p>\n<p><strong>(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80<br \/>\nno listening sockets available, shutting down<br \/>\nUnable to open logs<\/strong><\/p>\n<p>The reason is, some Apache processes are still running though the service is stopped and the port 80 is still binded to some processes. <\/p>\n<p>In this case, you need to search out for the running Apache processes and have to kill them in order to start the service properly. To search the processes, execute:<\/p>\n<p><strong>fuser -n tcp 80<\/strong><\/p>\n<p>this will list all the PIDs of the running processes that are binded to port 80. To kill them, execute:<\/p>\n<p><strong>kill -9 PID  <\/strong> <\/p>\n<p>where, PID are the ones you retrieved from the previous command. Once you kill the PIDs, you can start the Apache service safely. The same is applied for port 443.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may come across the following error while restarting Apache:<br \/>\n(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80<br \/>\nno listening sockets available, shutting down<br \/>\nUnable to open logs<br \/>\nThe reason is, some Apache processes are still running though the service is stopped and the port 80 is still binded to some processes.<br \/>\nIn this case, you need to search out for the running Apache processes and have to kill them in order to start the service properly. To search the processes, execute:<br \/>\nfuser -n tcp 80<br \/>\nthis will list all the [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[22,23,24],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/17"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":2,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"predecessor-version":[{"id":2092,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/17\/revisions\/2092"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}