Apache2 will not start, ulimit error?

Here is the log from an attempt to start apache2:

* Starting web server apache2                                                     
/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
(13)Permission denied: make_sock: could not bind to address [::]:80
(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 'start' failed.
The Apache error log may have more information.

I am new to starting my own Apache. Any idea what causes this failure?

+5
source share
1 answer

Use sudo to start apache server, problem if due to permissions:

sudo service apache2 start
+10
source

All Articles