seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2020/05/31, 00:06:06


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: (solved!) Problem mit nginx.service nach dist-upgrade  (Read 587 times)

0 Members and 1 Guest are viewing this topic.

Offline graviton

  • User
  • Posts: 42
Ich hoffe, mir kann jemand helfen: ich habe nach einem dist-upgrade ein Problem mit "nginx.service". Der Fehler führt auch dazu, dass ich keine Software mit apt installieren bzw. deinstallieren kann. Hat jemand eine Idee wie ich das Problem lösen kann? Dazu hier meine Ausgabe:

Paketlisten werden gelesen...Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
Paketaktualisierung (Upgrade) wird berechnet...
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
2 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] nginx-full (1.16.1-3) wird eingerichtet ...
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; enab
led; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sat 2020-05-09 18:04:48 CEST; 5ms ago
       Docs: man:nginx( 8)
    Process: 217545 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUC
CESS)
    Process: 217546 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAIL
URE)

Mai 09 18:04:47 sidbox nginx[217546]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Mai 09 18:04:47 sidbox nginx[217546]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Mai 09 18:04:47 sidbox nginx[217546]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Mai 09 18:04:47 sidbox nginx[217546]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Mai 09 18:04:48 sidbox nginx[217546]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Mai 09 18:04:48 sidbox nginx[217546]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Mai 09 18:04:48 sidbox nginx[217546]: nginx: [emerg] still could not bind()
Mai 09 18:04:48 sidbox systemd[1]: nginx.service: Control process exited, code=exited, sta
tus=1/FAILURE
Mai 09 18:04:48 sidbox systemd[1]: nginx.service: Failed with result 'exit-cod
e'.
Mai 09 18:04:48 sidbox systemd[1]: Failed to start A high performance web server and a rev
erse proxy server.
dpkg: Fehler beim Bearbeiten des Paketes nginx-full (--configure):
 »installiertes nginx-full-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von nginx:
 nginx hängt ab von nginx-full (<< 1.16.1-3.1~) | nginx-light (<< 1.16.1-3.1~) | nginx-extras (<< 1.16.1-3.1~); ab
er:
  Paket nginx-full ist noch nicht konfiguriert.
  Paket nginx-light ist nicht installiert.
  Paket nginx-extras ist nicht installiert.
 nginx hängt ab von nginx-full (>= 1.16.1-3) | nginx-light (>= 1.16.1-3) | nginx-extras (>= 1.16.1-3); aber:
  Paket nginx-full ist noch nicht konfiguriert.
  Paket nginx-light ist nicht installiert.
  Paket nginx-extras ist nicht installiert.

dpkg: Fehler beim Bearbeiten des Paketes nginx (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 nginx-full
nginx

Servus graviton
« Last Edit: 2020/05/09, 22:17:32 by graviton »

Offline eriefisher

  • User
  • Posts: 40
Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
« Reply #1 on: 2020/05/09, 19:59:58 »
Code: [Select]
apt -f installmight get the dependencies it requires. Says your missing a couple.

Offline graviton

  • User
  • Posts: 42
Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
« Reply #2 on: 2020/05/09, 20:19:39 »
Code: [Select]
apt -f install
hatte ich schon probiert, aber funktioniert nicht, da die Probleme bei der Installation direkt auftreten.
graviton

Offline eriefisher

  • User
  • Posts: 40
Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
« Reply #3 on: 2020/05/09, 20:25:42 »
Do you have the nginx-light and nginx-extras installed or can you install them?

Offline graviton

  • User
  • Posts: 42
Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
« Reply #4 on: 2020/05/09, 20:48:46 »
No, I had already tried, could not be installed because of the same error

Offline eriefisher

  • User
  • Posts: 40
Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
« Reply #5 on: 2020/05/09, 21:12:32 »
Quote
See "systemctl status nginx.service" and "journalctl -xe" for details.
Maybe some hints
Quote
Process: 217545 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUC
CESS)
    Process: 217546 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAIL
URE)
Started and succeded then started again with -g(again) and failed.
Quote
Mai 09 18:04:47 sidbox nginx[217546]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Mai 09 18:04:47 sidbox nginx[217546]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Mai 09 18:04:47 sidbox nginx[217546]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Mai 09 18:04:47 sidbox nginx[217546]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Mai 09 18:04:48 sidbox nginx[217546]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Mai 09 18:04:48 sidbox nginx[217546]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Already in use?? Is it running?Sorry I'm not a server guy, just pointing out some messages that might be helpful. Things get missed in the frustration.
« Last Edit: 2020/05/09, 21:19:28 by eriefisher »

Offline piper

  • Global Moderator
  • User
  • *****
  • Posts: 1.771
  • we are the priests ... of the temples of syrinx
Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
« Reply #6 on: 2020/05/09, 21:17:24 »
Do you have apache2 installed also, (killall apache2) if so change the port (usually 80/443) and try again
I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

Offline graviton

  • User
  • Posts: 42
Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
« Reply #7 on: 2020/05/09, 21:27:40 »
@ piper

apache2 is not installed!

Offline graviton

  • User
  • Posts: 42
Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
« Reply #8 on: 2020/05/09, 21:41:42 »
@ eriefisher:
Quote
See "systemctl status nginx.service" and "journalctl -xe" for details.
Quote
Maybe some hints
both leads to the mentioned error message

Offline piper

  • Global Moderator
  • User
  • *****
  • Posts: 1.771
  • we are the priests ... of the temples of syrinx
Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
« Reply #9 on: 2020/05/09, 21:46:40 »
It seem maybe that another process has already binded port 80

What's the output of

Code: [Select]
netstat -ntpl|grep :80
I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

Offline graviton

  • User
  • Posts: 42
Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
« Reply #10 on: 2020/05/09, 22:16:04 »
Quote
netstat -ntpl|grep :80

tcp6       0      0 :::80                   :::*                    LISTEN      1/init

The Problem is solved!

The reason was an application jitsi-meet that did not uninstall properly. After "install" and "remove --purge" of  jitsi-meet, is the problem of ngnix solved

Thanks a lot, piper and eriefisher!

Offline piper

  • Global Moderator
  • User
  • *****
  • Posts: 1.771
  • we are the priests ... of the temples of syrinx
Re: (solved!) Problem mit nginx.service nach dist-upgrade
« Reply #11 on: 2020/05/09, 22:19:24 »
sehr gut  :)
I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

Offline eriefisher

  • User
  • Posts: 40
Re: (solved!) Problem mit nginx.service nach dist-upgrade
« Reply #12 on: 2020/05/09, 22:40:08 »
I have not used any of these video meeting applications, jitsi, zoom etc. Is it normal for them to use port 80?

Offline piper

  • Global Moderator
  • User
  • *****
  • Posts: 1.771
  • we are the priests ... of the temples of syrinx
Re: (solved!) Problem mit nginx.service nach dist-upgrade
« Reply #13 on: 2020/05/10, 19:08:24 »
Zoom is banned here in NY schools, it's a pile of shit

If I had a choice of installing windows or zoom, I would grab windows


https://www.cnbc.com/2020/04/08/zoom-faces-investor-lawsuit-over-privacy-and-security-flaws.html


https://mashable.com/article/zoom-sign-in-personal-data/
I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

Offline eriefisher

  • User
  • Posts: 40
Re: (solved!) Problem mit nginx.service nach dist-upgrade
« Reply #14 on: 2020/05/10, 20:11:05 »
I have seen several reports about zoom and it's security issues. How is it that these products become so popular yet be so poorly written or managed. Along with all the reports about zoom you keep hearing more and more people using it.
Thankfully I have no use for these products in general.