I am trying to start apache: systemctl start httpd

but I get an error

httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2017-01-29 09:23:09 MSK; 5min ago Docs: man:httpd(8) man:apachectl(8) Process: 24116 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) Process: 24115 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 24115 (code=exited, status=1/FAILURE) Jan 29 09:23:09 example.vds.ru systemd[1]: Starting The Apache HTTP Server... Jan 29 09:23:09 example.vds.ru httpd[24115]: no listening sockets available, shutting down Jan 29 09:23:09 example.vds.ru httpd[24115]: AH00015: Unable to open logs Jan 29 09:23:09 example.vds.ru systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Jan 29 09:23:09 example.vds.ru kill[24116]: kill: cannot find process "" Jan 29 09:23:09 example.vds.ru systemd[1]: httpd.service: control process exited, code=exited status=1 Jan 29 09:23:09 example.vds.ru systemd[1]: Failed to start The Apache HTTP Server. Jan 29 09:23:09 example.vds.ru systemd[1]: Unit httpd.service entered failed state. Jan 29 09:23:09 example.vds.ru systemd[1]: httpd.service failed. 

Tell me how you can solve this problem?

    1 answer 1

    This problem is related to the fact that some kind of program or service occupies the port of Apache 1. Try turning off Skype (the simplest) 2. Check the ports used 3. Change the port in Apache to a free port that is not occupied by another application or service

    • I will try to walk on p2 and p3. There is no Skype because the server is remote. - Sergey Zaigraev