GNU/Linux >> Tutoriales Linux >  >> Ubuntu

Apache/Mysql no se está ejecutando. ¿Equivocado?

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

Ubuntu
  1. .bash_profile no se obtiene cuando se ejecuta Su?

  2. ¿Los programas en ejecución no se muestran en el panel?

  3. Gimp no arranca, ¿error de Gegl?

  4. ¿Apache no renderiza Bugzilla Cgi?

  5. ¿No ve Apache ejecutándose en Netstat?

Cómo iniciar, detener o reiniciar el servidor Apache en Ubuntu

Ubuntu 20.04 WordPress con instalación de Apache

Cómo instalar WordPress con Apache en Ubuntu 18.04

Cómo instalar Drupal 7 con Apache en Ubuntu 14.04

Cómo instalar Apache, MySQL, PHP en Ubuntu 18.04 LTS

Cómo instalar Apache, MySQL y PHP en Ubuntu 20.04