Apache / MySql is not running. What is wrong?

Tags:

Answer: 1

16 hours ago

I installed lampp / xampp on my Ubuntu 12.04. After installing, Apache and MySQL were running properly. Now, they're not. Here's what I get when I try to run apache:

Command:

/etc/init.d/apache2 start

Result:

* 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 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.
Added by: Brielle Cummings

Answer: 2

3 hours ago

I guess you forgot the sudo:

sudo /etc/init.d/apache2 start

The better way to start apache (or any other init.d service) is:

sudo service apache2 start
Added by: Dr. Tyler Veum

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9