Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dabnad's avatar

Cant start httpd

Hey guys, I have just got a fresh install of CentOS 7 on a VPS. I've been installing all the things I need for Laravel but now I can't get httpd to start.


-- Unit httpd.service has begun starting up.
Sep 18 12:00:50 mycentos httpd[16972]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::d05f:46ff:fe07:d384. Set the 'ServerName' directive globally to suppress this message
Sep 18 12:00:50 mycentos httpd[16972]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Sep 18 12:00:50 mycentos httpd[16972]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Sep 18 12:00:50 mycentos httpd[16972]: no listening sockets available, shutting down
Sep 18 12:00:50 mycentos httpd[16972]: AH00015: Unable to open logs
Sep 18 12:00:50 mycentos systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 18 12:00:50 mycentos kill[16973]: kill: cannot find process ""
Sep 18 12:00:50 mycentos systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 18 12:00:50 mycentos systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

I've been searching for hours and couldn't find an answer. Please help! Thanks in advance all.

0 likes
2 replies
s4muel's avatar

something is running on port 80 already, check what it is running as root (or in sudo) netstat -tulpn | grep :80

1 like
dabnad's avatar

@s4muel I already switched to a different server, thanks anyways!

1 like

Please or to participate in this conversation.