Author Topic: Apache has stopped  (Read 10265 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Apache has stopped
« on: May 13, 2017, 06:34:37 PM »
I logged into my control panel and Apache is stopped when I try to restart I get this message:

Starting httpd: (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
[FAILED]

What is that and how did it happen?

Thanks

Offline
**
Re: Apache has stopped
« Reply #1 on: May 14, 2017, 03:08:26 PM »
Use fuser command to see what Apache is doing

fuser 80/tcp

Then kill those processes and start Apache. Hope it helps. :)
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

Offline
*
Re: Apache has stopped
« Reply #2 on: May 14, 2017, 10:06:34 PM »
Thanks for the heads up that did it. After you run that command and see what ports are active you want to run this command and kill them.

fuser -i -k 80/tcp Then hit yes to all that come up.

Offline
*
Re: Apache has stopped
« Reply #3 on: May 16, 2017, 05:18:09 AM »
to killall apache process you can use
Code: [Select]
killall -9 httpd
service httpd restart

but you should check before what is listening on the port 80 as you might have there nginx and/or varnish.
In case you have something else on the port 80 then you should use rebuild vhost option from the cwp.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Apache has stopped
« Reply #4 on: May 19, 2017, 08:11:45 PM »
I have the same problem.After update  apache doesnt work..

Offline
*
Re: Apache has stopped
« Reply #5 on: May 20, 2017, 11:24:59 PM »
in Dansboard..Apache--> strart -->

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.