Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache2 won't start, ulimit error?

Tags:

apache

apache2

Here's the log from trying 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'm new to running my own Apache. Any idea what's causing this failure?

like image 246
kylepixel Avatar asked Apr 10 '13 03:04

kylepixel


1 Answers

Use sudo for starting apache server, the issue if due to permissions :

sudo service apache2 start
like image 51
Ankit Avatar answered Nov 15 '22 09:11

Ankit