Re: [Bug 1559571] Re: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
*** This bug is a duplicate of bug 1521786 *** https://bugs.launchpad.net/bugs/1521786 Thanks for your help. I deleted nignx* and installed by -synaptic- nginx-common nginx-core than all is ok. Thanks again. systemctl -l status nginx.service says now that --> nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: active (running) since Do 2016-03-24 17:49:46 CET; 23min ago Main PID: 3062 (nginx) CGroup: /system.slice/nginx.service ├─3062 nginx: master process /usr/sbin/nginx -g daemon on; master_process on ├─3063 nginx: worker process ├─3064 nginx: worker process ├─3065 nginx: worker process └─3066 nginx: worker process Mär 24 17:49:46 Bernhard systemd[1]: Starting A high performance web server and a reverse proxy server... Mär 24 17:49:46 Bernhard systemd[1]: Started A high performance web server and a reverse proxy server. ~ ~ ~ ... Happy easter greetings from germany Bernhard Nikola .. Am 21.03.2016 um 15:37 schrieb Thomas Ward: > Due to some issue in apt and apport hooks, can you provide the output of > the following command please? > > systemctl -l status nginx.service > > > ** Changed in: nginx (Ubuntu) > Status: New => Incomplete > -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1559571 Title: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1559571/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1559571] Re: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
*** This bug is a duplicate of bug 1521786 *** https://bugs.launchpad.net/bugs/1521786 You still have a broken install, like you did in Bug 1521786. I am marking this a duplicate of that, as the issue remains the same. Please follow my diagnostic instructions as I posted in the other bug (Bug 1521786). This is not a bug in the package. ** Changed in: nginx (Ubuntu) Status: Incomplete => Invalid ** This bug has been marked a duplicate of bug 1521786 package nginx-core 1.9.3-1ubuntu1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1559571 Title: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1559571/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 1559571] Re: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
*** This bug is a duplicate of bug 1521786 *** https://bugs.launchpad.net/bugs/1521786 another hint: when i am installing NGINX from source with ./configure, make, make install i got subdirectories like: /usr/local/nginx/ /usr/local/nginx/log /usr/local/nginx/html /usr/local/nginx/conf ... and so on here is all together ?? warm regards Bernhard Nikola Am 23.03.2016 um 22:44 schrieb Bernhard Nikola: > > a P.S.: > > ... >nginx-core >nginx > E: Sub-process /usr/bin/dpkg returned an error code (1) > bernhard@Bernhard:~$ systemctl -l status nginx.service > ● 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 Mi 2016-03-23 22:41:16 CET; > 2min 12s ago > Process: 19528 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; > master_process on; (code=exited, status=1/FAILURE) > > Mär 23 22:41:16 Bernhard systemd[1]: Starting A high performance web > server and a reverse proxy server... > Mär 23 22:41:16 Bernhard nginx[19528]: nginx: [emerg] open() > "/etc/nginx/nginx.conf" failed (2: No such file or directory) > Mär 23 22:41:16 Bernhard nginx[19528]: nginx: configuration file > /etc/nginx/nginx.conf test failed > Mär 23 22:41:16 Bernhard systemd[1]: nginx.service: Control process > exited, code=exited status=1 > Mär 23 22:41:16 Bernhard systemd[1]: Failed to start A high performance > web server and a reverse proxy server. > Mär 23 22:41:16 Bernhard systemd[1]: nginx.service: Unit entered failed > state. > Mär 23 22:41:16 Bernhard systemd[1]: nginx.service: Failed with result > 'exit-code'. > > > Am 23.03.2016 um 21:58 schrieb Thomas Ward: >> systemctl -l status nginx.service -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1559571 Title: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1559571/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 1559571] Re: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
a P.S.: ... nginx-core nginx E: Sub-process /usr/bin/dpkg returned an error code (1) bernhard@Bernhard:~$ systemctl -l status nginx.service ● 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 Mi 2016-03-23 22:41:16 CET; 2min 12s ago Process: 19528 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE) Mär 23 22:41:16 Bernhard systemd[1]: Starting A high performance web server and a reverse proxy server... Mär 23 22:41:16 Bernhard nginx[19528]: nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (2: No such file or directory) Mär 23 22:41:16 Bernhard nginx[19528]: nginx: configuration file /etc/nginx/nginx.conf test failed Mär 23 22:41:16 Bernhard systemd[1]: nginx.service: Control process exited, code=exited status=1 Mär 23 22:41:16 Bernhard systemd[1]: Failed to start A high performance web server and a reverse proxy server. Mär 23 22:41:16 Bernhard systemd[1]: nginx.service: Unit entered failed state. Mär 23 22:41:16 Bernhard systemd[1]: nginx.service: Failed with result 'exit-code'. Am 23.03.2016 um 21:58 schrieb Thomas Ward: > systemctl -l status nginx.service -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1559571 Title: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1559571/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 1559571] Re: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
bernhard@Bernhard:~$ sudo systemctl daemon-reload bernhard@Bernhard:~$ sudo apt-get install -f Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen Fertig 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 171 nicht aktualisiert. sudo apt-get update sudo apt-get upgrade sudo apt-get autoclean sudo apt-get autoremove In a browser localhost ... no server available bernhard@Bernhard:~$ sudo apt-get --purge remove nginx [sudo] Passwort für bernhard: Paketlisten werden gelesen... Fertig Paket »nginx« ist nicht installiert, wird also auch nicht entfernt. sudo systemctl daemon-reload sudo apt-get install -f sudo apt-get update sudo apt-get upgrade sudo apt-get autoclean sudo apt-get autoremove Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig Die folgenden Pakete sind zurückgehalten worden: linux-generic linux-headers-generic linux-image-generic 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 3 nicht aktualisiert. bernhard@Bernhard:~$ sudo apt-get install nginx Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen Fertig The following additional packages will be installed: nginx-common nginx-core Vorgeschlagene Pakete: fcgiwrap nginx-doc Die folgenden NEUEN Pakete werden installiert: nginx nginx-common nginx-core 0 aktualisiert, 3 neu installiert, 0 zu entfernen und 3 nicht aktualisiert. Es müssen 425 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 1.376 kB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] j Holen:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 nginx-common all 1.9.12-0ubuntu1 [25,9 kB] Holen:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 nginx-core amd64 1.9.12-0ubuntu1 [396 kB] Holen:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 nginx all 1.9.12-0ubuntu1 [3.494 B] Es wurden 425 kB in 1 s geholt (424 kB/s). Vormals nicht ausgewähltes Paket nginx-common wird gewählt. (Lese Datenbank ... 304109 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../nginx-common_1.9.12-0ubuntu1_all.deb ... Entpacken von nginx-common (1.9.12-0ubuntu1) ... Vormals nicht ausgewähltes Paket nginx-core wird gewählt. Vorbereitung zum Entpacken von .../nginx-core_1.9.12-0ubuntu1_amd64.deb ... Entpacken von nginx-core (1.9.12-0ubuntu1) ... Vormals nicht ausgewähltes Paket nginx wird gewählt. Vorbereitung zum Entpacken von .../nginx_1.9.12-0ubuntu1_all.deb ... Entpacken von nginx (1.9.12-0ubuntu1) ... Trigger für ufw (0.35-0ubuntu1) werden verarbeitet ... Trigger für ureadahead (0.100.0-19) werden verarbeitet ... Trigger für systemd (229-3ubuntu1) werden verarbeitet ... nginx-common (1.9.12-0ubuntu1) wird eingerichtet ... insserv: warning: script 'K01nginx-passenger.sh' missing LSB tags and overrides insserv: warning: script 'nginx-passenger.sh' missing LSB tags and overrides nginx-core (1.9.12-0ubuntu1) 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. Es wurde kein Apport-Bericht verfasst, da die Fehlermeldung darauf hindeutet, dass dies lediglich ein Folgefehler eines vorherigen Problems ist. invoke-rc.d: initscript nginx, action "start" failed. dpkg: Fehler beim Bearbeiten des Paketes nginx-core (--configure): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück dpkg: Abhängigkeitsprobleme verhindern Konfiguration von nginx: nginx hängt ab von nginx-core (>= 1.9.12-0ubuntu1) | nginx-full (>= 1.9.12-0ubuntu1) | nginx-light (>= 1.9.12-0ubuntu1) | nginx-extras (>= 1.9.12-0ubuntu1); aber: Paket nginx-core ist noch nicht konfiguriert. Paket nginx-full ist nicht installiert. Paket nginx-light ist nicht installiert. Paket nginx-extras ist nicht installiert. nginx hängt ab von nginx-core (<< 1.9.12-0ubuntu1.1~) | nginx-full (<< 1.9.12-0ubuntu1.1~) | nginx-light (<< 1.9.12-0ubuntu1.1~) | nginx-extras (<< 1.9.12-0ubuntu1.1~); aber: Paket nginx-core ist noch nicht konfiguriert. Paket nginx-full ist nicht installiert. 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-core nginx E: Sub-process /usr/bin/dpkg returned an error code (1) Am 23.03.2016 um 21:58 schrieb Thomas Ward: > sudo apt-get install -f -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1559571 Title: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes
[Bug 1559571] Re: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Dead process with changes to your nginx.service file is bad, because it looks like your systemd has changes to the nginx service, perhaps run these: sudo systemctl daemon-reload sudo apt-get install -f and see if anything fails. If it still fails, run this command again, and add the output for it here: systemctl -l status nginx.service -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1559571 Title: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1559571/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 1559571] Re: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
systemctl -l status nginx.service --> bernhard@Bernhard:~$ systemctl -l status nginx.service Warning: nginx.service changed on disk. Run 'systemctl daemon-reload' to reload ● nginx.service Loaded: masked (/dev/null; bad) Active: inactive (dead) Am 21.03.2016 um 15:37 schrieb Thomas Ward: > systemctl -l status nginx.service -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1559571 Title: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1559571/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1559571] Re: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Due to some issue in apt and apport hooks, can you provide the output of the following command please? systemctl -l status nginx.service ** Changed in: nginx (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1559571 Title: package nginx-extras (not installed) failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1559571/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs