Control Web Panel
WebPanel => Apache => Topic started by: ccheuser 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
-
Use fuser command to see what Apache is doing
fuser 80/tcp
Then kill those processes and start Apache. Hope it helps. :)
-
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.
-
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.
-
I have the same problem.After update apache doesnt work..
-
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.