New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Apache has stopped

Started by ccheuser, May 13, 2017, 06:34:37 PM

Previous topic - Next topic

ccheuser

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

24x7servermanagement

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 !!

ccheuser

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.

Administrator

to killall apache process you can use
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.

chwn21

I have the same problem.After update  apache doesnt work..

chwn21

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.