Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: graviton on 2020/05/09, 18:26:19

Title: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: graviton on 2020/05/09, 18:26:19
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
Title: Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
Post by: eriefisher on 2020/05/09, 19:59:58
Code: [Select]
apt -f installmight get the dependencies it requires. Says your missing a couple.
Title: Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
Post by: graviton 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
Title: Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
Post by: eriefisher on 2020/05/09, 20:25:42
Do you have the nginx-light and nginx-extras installed or can you install them?
Title: Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
Post by: graviton on 2020/05/09, 20:48:46
No, I had already tried, could not be installed because of the same error
Title: Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
Post by: eriefisher 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.
Title: Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
Post by: piper 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
Title: Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
Post by: graviton on 2020/05/09, 21:27:40
@ piper

apache2 is not installed!
Title: Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
Post by: graviton 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
Title: Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
Post by: piper 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
Title: Re: (nur bei mir!) Problem mit nginx.service nach dist-upgrade
Post by: graviton 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!
Title: Re: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: piper on 2020/05/09, 22:19:24
sehr gut  :)
Title: Re: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: eriefisher 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?
Title: Re: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: piper 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/
Title: Re: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: eriefisher 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.
Title: Re: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: dibl on 2020/05/10, 22:26:35
The main problem with zoom seems to be that it was released with default "promiscuous" settings, i.e. very easy to use and very vulnerable to unwanted "guests". The oldsters who I know think it is the greatest thing since sliced bread, but I told them to dump it, or else set it to "Hosted Chat" mode by the first one starting a chat, admission of guests needs to be approved, based on recognizing who is asking to enter a chat, etc. Supposedly it's less vulnerable when you do that.  Personally I use wire for the tiny bit of chatting that I do.
Title: Re: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: eriefisher on 2020/05/10, 23:12:32
Funny. Im not familiar with wire and just looked it up on my phone. Just tells me my browser not supported please update to the latest chrome ff etc. Droid phone.
Title: Re: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: dibl on 2020/05/11, 01:02:30
I use the actual Debian package from wire on a KDE or LXQt desktop, but I know it has a browser implementation that I have not used. You get a limited number of free installations before you have to pay.  I don't have to pay.   

https://wire-app.wire.com/linux/debian

I set it up as a source repo in /etc/apt/sources.list.d/

 8)
Title: Re: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: graviton on 2020/05/11, 11:47:48
The video conferences with Jitisi worked well with Firefox 75.x.x, but since the current Firefox 76.0.2 and its adjustments for zoom etc., Jitsi no longer works with Firefox.

The advantage of Jitsi is: no account required, encrypted, open source, free of charge. Start only one conference and forward the name of the conference to the participants. Jitsi is completely sufficient for me and my students for online lessons.
graviton
Title: Re: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: piper on 2020/05/12, 15:48:47
I use google duo for my kids/grandkids and google meet for my clients

I had everyone that uses a iphone switch to google duo, the response I get is that duo kicks facetime ass in video/sound quality and leaves zoom in the dust.

I was told zoom was hard to use compared to duo, I have no clue, I don't use it.

I use duo both on my phone and computer (nothing to install)

I use firefox 78
Title: Re: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: absolut on 2020/05/18, 06:41:13
Regarding jitsi - it works well on google chrome, chromium. Suppose they will be fixing that some day for firefox, too.

My mother is a happy user of Jitsi, which is provided by the university IT team as embedded component in the moodle learning platform at her University

best
absolut
Title: Re: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: unklarer on 2020/05/18, 10:20:08
^ At Jitsi I might be allowed to link to it for interested people (https://www.kuketz-blog.de/jitsi-meet-server-einstellungen-fuer-einen-datenschutzfreundlichen-betrieb/).   ;)
Title: Re: (solved!) Problem mit nginx.service nach dist-upgrade
Post by: graviton on 2020/05/18, 11:31:47
Last week there was an update for Firefox, which solved the problem with jitsi. Firefox works again.

graviton