Instalé lampp/xampp en mi Ubuntu 12.04. Después de la instalación, Apache y MySQL funcionaban correctamente. Ahora, no lo son. Esto es lo que obtengo cuando intento ejecutar apache:
Comando:
/etc/init.d/apache2 start
Resultado:
* 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.
Respuesta aceptada:
Supongo que olvidaste el sudo
:
sudo /etc/init.d/apache2 start
La mejor forma de iniciar apache (o cualquier otro servicio init.d) es:
sudo service apache2 start