Error con NGINX al tratar de instalarlo

¿Algo falla o no sabes como funciona? Pide ayuda aquí!
Responder
borislf
Pi Alpha
Pi Alpha
Mensajes: 10
Registrado: 10 Oct 2017, 19:18
Agradecido: 0
Agradecimiento recibido: 0

Hola amigos necesito instalar nginx en mi Pi por ser indispensable para poner una solución POS en mi Raspberry pero no lo logro, pongo aquí debajo lo que devuelve a ver si alguien más entendido en el tema, que yo que soy un neófito me podrá ayudar.
Desde ya gracias por adelantado y Cuídense.

Código: Seleccionar todo

Setting up nginx-full (1.10.3-1+deb9u3) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-05-13 02:00:44 CDT; 71ms ago
     Docs: man:nginx(8)
  Process: 1805 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
  Process: 1802 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)

May 13 02:00:43 raspberrypi nginx[1805]: nginx: [emerg] bind() to [::]:80 fa…se)
May 13 02:00:43 raspberrypi nginx[1805]: nginx: [emerg] bind() to 0.0.0.0:80…se)
May 13 02:00:43 raspberrypi nginx[1805]: nginx: [emerg] bind() to [::]:80 fa…se)
May 13 02:00:44 raspberrypi nginx[1805]: nginx: [emerg] bind() to 0.0.0.0:80…se)
May 13 02:00:44 raspberrypi nginx[1805]: nginx: [emerg] bind() to [::]:80 fa…se)
May 13 02:00:44 raspberrypi nginx[1805]: nginx: [emerg] still could not bind()
May 13 02:00:44 raspberrypi systemd[1]: nginx.service: Control process exite…s=1
May 13 02:00:44 raspberrypi systemd[1]: Failed to start A high performance w…er.
May 13 02:00:44 raspberrypi systemd[1]: nginx.service: Unit entered failed s…te.
May 13 02:00:44 raspberrypi systemd[1]: nginx.service: Failed with result 'e…e'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package nginx-full (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-full (<< 1.10.3-1+deb9u3.1~) | nginx-light (<< 1.10.3-1+deb9u3.1~) | nginx-extras (<< 1.10.3-1+deb9u3.1~); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-full (>= 1.10.3-1+deb9u3) | nginx-light (>= 1.10.3-1+deb9u3) | nginx-extras (>= 1.10.3-1+deb9u3); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nginx-full
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
Por si es necesario mi Pi es modelo 3 B con Rasbian como SO.
Avatar de Usuario
egrueda
Pi God
Pi God
Mensajes: 3426
Registrado: 10 Feb 2017, 19:31
Agradecido: 7 veces
Agradecimiento recibido: 269 veces

¿tienes algún otro programa usando el puerto 80? otro servidor web o similar?
borislf
Pi Alpha
Pi Alpha
Mensajes: 10
Registrado: 10 Oct 2017, 19:18
Agradecido: 0
Agradecimiento recibido: 0

Tenía apache2 pero lo desinstale o al menos eso pensé debe de haberse quedado algo usando el puerto 80, que podré hacer??, Gracias
Avatar de Usuario
egrueda
Pi God
Pi God
Mensajes: 3426
Registrado: 10 Feb 2017, 19:31
Agradecido: 7 veces
Agradecimiento recibido: 269 veces

1. mira a ver si apache está corriendo
2. páralo si es así
3. mira a ver si el puerto 80 está abierto por algún otro programa
borislf
Pi Alpha
Pi Alpha
Mensajes: 10
Registrado: 10 Oct 2017, 19:18
Agradecido: 0
Agradecimiento recibido: 0

No ya comprobé de seguro que apache no está corriendo, pero no sé la verdad como saber si otro programa está ocupando el puerto 80, disculpa mi ignorancia en el tema.
Responder