This question already has an answer here:
apachectl -k restart gives:
/usr/sbin/apachectl: 87: ulimit: error setting limit (Operation not permitted) apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName httpd not running, trying to start (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Action '-k restart' failed. The Apache error log may have more information.
This is what I am getting while restarting the server. How can I fix this?